appstream-glib icon indicating copy to clipboard operation
appstream-glib copied to clipboard

GNOME versioning scheme leads to "versions are not in order"

Open sophie-h opened this issue 3 years ago • 1 comments

$ appstream-util validate-relax org.gnome.Software.appdata.xml 
org.gnome.Software.appdata.xml: FAILED:
• tag-invalid           : <release> versions are not in order [40 before 40.rc]
Validation of files failed

sophie-h avatar Sep 08 '21 22:09 sophie-h

On Fedora we use librpm to do the vercmp, but on other distros we fall back to a more naive implementation. Unfortunately for rpm:

$ rpmdev-vercmp 40 40.rc
40 < 40.rc

hughsie avatar Sep 09 '21 07:09 hughsie