hughsie / appstream-glib

This library provides objects and helper methods to help reading and writing AppStream metadata.
GNU Lesser General Public License v2.1
63 stars 100 forks source link

<release> versions are not in order does not respect dates #340

Open ignatenkobrain opened 4 years ago

ignatenkobrain commented 4 years ago

Originally reported as https://github.com/Nitrokey/nitrokey-app/issues/438.

  <releases>
    <release version="1.3.2" date="2018-08-21" />
    <release version="1.4.0" date="2019-06-25" />
  </releases>

I think this is semantically correct, but appstream-util validate does not like it :)

hughsie commented 4 years ago

It's quite unusual to merge branches together, no? I think the appstream-util check is useful, and has caught out bugs like not incrementing the year in the past.