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

1.0.0: appstreamcli validate flags content_attribute intense as wrong #563

Closed
dvzrv opened this issue Nov 27, 2023 · 2 comments
Closed

1.0.0: appstreamcli validate flags content_attribute intense as wrong #563

dvzrv opened this issue Nov 27, 2023 · 2 comments

Comments

@dvzrv
Copy link

dvzrv commented Nov 27, 2023

Hi! 👋

I'm currently trying to build fractal 5 for Arch Linux to update the package.
I have started to run the tests as well and ran into a number of issues with appstreamcli validate.

It seems the below file fails validation, although according to OARS, this is correct:

appstreamcli validate --no-net org.gnome.Fractal.metainfo.xml
E: org.gnome.Fractal:172: content-attribute-value-invalid intense

✘ Validation failed: errors: 1, pedantic: 1

org.gnome.Fractal.metainfo.xml.txt

The problematic section seems to be:

  <content_rating type="oars-1.1">
    <content_attribute id="social-chat">intense</content_attribute>
    <content_attribute id="social-audio">intense</content_attribute>
  </content_rating>

Do you have any idea what is going wrong here or how I could fix this behavior?
Currently I can only remove the entire section for validation to succeed, or disable that validation altogether.

@ximion
Copy link
Owner

ximion commented Nov 27, 2023

Thank you for the bug report! Looks like this has been broken for a really long time already, and not just for the social-audio ID. It probably even would have led to wrong item descriptions in software centers...

I've reviewed these and it's fixed now with the next bugfix release :-)

@dvzrv
Copy link
Author

dvzrv commented Nov 27, 2023

Thanks so much for the quick fix! 🎉

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

2 participants