Osinfo-db entry missing for 9.5

there is no entry in osinfo-db for the latest rocky 9.5 release, just FYI. Not sure if I should report this here or on the bug tracker.

 rocky-unknown        | Rocky Linux Unknown                                | unknown  | http://rockylinux.org/rocky/unknown     
 rocky8               | Rocky Linux 8                                      | 8        | http://rockylinux.org/rocky/8           
 rocky8-unknown       | Rocky Linux 8 Unknown                              | 8-unknown | http://rockylinux.org/rocky/8-unknown   
 rocky8.4             | Rocky Linux 8.4                                    | 8.4      | http://rockylinux.org/rocky/8.4         
 rocky8.5             | Rocky Linux 8.5                                    | 8.5      | http://rockylinux.org/rocky/8.5         
 rocky8.6             | Rocky Linux 8.6                                    | 8.6      | http://rockylinux.org/rocky/8.6         
 rocky9               | Rocky Linux 9                                      | 9        | http://rockylinux.org/rocky/9           
 rocky9-unknown       | Rocky Linux 9 Unknown                              | 9-unknown | http://rockylinux.org/rocky/9-unknown   
 rocky9.0             | Rocky Linux 9.0                                    | 9.0      | http://rockylinux.org/rocky/9.0        

That is intentional and is not a bug.

rocky8 and rocky9 encompass all potential releases of that major version. The original 8.4, 8.5, 8.6, and 9.0 are modified to be “end of life” to force the usage of rocky8 or rocky9 instead. See this line.

If you look through the XML files, you’ll see things like this.

      <url>https://dl.rockylinux.org/pub/rocky/9/isos/x86_64/Rocky-9-latest-x86_64-dvd.iso</url>
      <iso>
        <volume-id>Rocky-9-([0-9]|[1-9][0-9])-x86_64-dvd$</volume-id>
      </iso>

This regular expression catches all potential volume ID’s from 9-0 to 9-10. Without using a regular expression, this will pull the “latest” ISO at all times, as derived from the <url> tag.

See the following commits: