Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tsdgeos opened this issue Jul 31, 2022 · 3 comments
Open

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

tsdgeos opened this issue Jul 31, 2022 · 3 comments

Comments

@tsdgeos
Copy link

tsdgeos commented Jul 31, 2022

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 tsdgeos changed the title Make complain validate if there's two <releases> tags Make validate complain if there's two <releases> tags Jul 31, 2022
@hughsie
Copy link
Owner

hughsie commented Aug 1, 2022

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

@ximion
Copy link
Collaborator

ximion commented Aug 1, 2022

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

@tsdgeos
Copy link
Author

tsdgeos commented Aug 1, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants