-
Notifications
You must be signed in to change notification settings - Fork 6
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
Answering none to all questions leads failing validation with appstreamcli validate #18
Comments
The specs should probably also be updated to accommodate omitting all tags if all of its values are set to none, as it now contradicts this:
|
Having an empty |
@ximion appstreamcli 0.12.4 still shows the warning: > appstreamcli --version
AppStream version: 0.12.4
> appstreamcli validate share/metainfo/org.gpodder.gpodder.appdata.xml
W - org.gpodder.gpodder.appdata.xml:org.gpodder.gpodder:18
Found empty 'content_rating' tag.
Validation failed: warnings: 1 Is it expected? |
@elelay No - are you sure you also have the right version of libappstream installed, in addition to appstreamcli? (ascli should actually show a mismatch when |
No mismatch reported. I'm on ArchLinux, fully up to date.
|
This is still happening $ appstreamcli --version $ appstreamcli validate ../src/org.kde.kgeography.appdata.xml Can we please get this fixed? |
Then it's |
This was a regression that is fixed in newer versions of AppStream (currently not released). |
@ximion any ETA for it? |
To reproduce
Using the Open Age Ratings Service (https://hughsie.github.io/oars/generate.html):
Select “Application that does not use the Internet”
Select either OARS version 1.0 or 1.1 (same result in each)
For every other question, leave the None setting.
At the end you will get:
Add this to your appdata.xml and validate it using
appstreamcli validate …
What should happen
It should validate.
What actually happens
Validation fails with the following warning:
W - ind.ie.Gnomit.appdata.xml.in:ind.ie.Gnomit.desktop:47 Found empty 'content_rating' tag.
Note: Validation passes with
appstream-util validate-relax
The text was updated successfully, but these errors were encountered: