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

Make validate complain if there's two <releases> tags

Open tsdgeos opened this issue 3 years ago • 3 comments

Would be nice if it complained if the appdata file had stuff like


<releases>
   <release version="22.04.3" date="2022-07-07"/>
   <release version="22.04.2" date="2022-06-09"/>
   <release version="22.04.1" date="2022-05-12"/>
   <release version="22.04.0" date="2022-04-21"/>
 </releases>
 <releases>
   <release version="3.1.0" date="2019-03-19"/>
 </releases>

tsdgeos avatar Jul 31 '22 21:07 tsdgeos

Makes sense, but at this point it probably makes sense to add this check to https://github.com/ximion/appstream instead.

hughsie avatar Aug 01 '22 07:08 hughsie

AFAIR appstreamcli was testing for this from the start, so this should already be covered :-)

ximion avatar Aug 01 '22 08:08 ximion

ok, now if i only could find what's the repository for the patched validator used in flathub it would be great :D (this is not an artifical issue, we had this problem)

tsdgeos avatar Aug 01 '22 15:08 tsdgeos