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

Fix appstreamcli validate warnings and info #859

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

ryonakano
Copy link
Contributor

@ryonakano ryonakano commented Sep 8, 2024

Fixes the following warnings and info when running the appstreamcli validate command on Linux:

  • W: screenshot-default-missing
  • I: content-rating-missing
  • I: developer-info-missing

"I: developer-name-tag-deprecated", which tells use of the developer_name tag that was deprecated in AppStream 1.0.0, is not fixed for now because some software centers may not support AppStream 1.0.0 yet.

Originally taken from the patch on Flathub.


FYI the current result of the command:

ryo@b760m ~/work/tmp/poedit (master =)]$ appstreamcli validate net.poedit.Poedit.appdata.xml
W: net.poedit.Poedit:16: screenshot-default-missing
I: net.poedit.Poedit:40: developer-name-tag-deprecated
I: net.poedit.Poedit:~: content-rating-missing
I: net.poedit.Poedit:~: developer-info-missing

✘ Validation failed: warnings: 1, infos: 3, pedantic: 3
[ryo@b760m ~/work/tmp/poedit (master =)]$ appstreamcli --version
AppStream version: 1.0.2
[ryo@b760m ~/work/tmp/poedit (master =)]$

Fixes the following warnings and info when running the
appstreamcli validate command:

- W: screenshot-default-missing
- I: content-rating-missing
- I: developer-info-missing

"I: developer-name-tag-deprecated", which tells use of
the developer_name tag that was deprecated in AppStream 1.0.0,
is not fixed for now because some software centers may not
support AppStream 1.0.0 yet.
@vslavik
Copy link
Owner

vslavik commented Sep 9, 2024

Thanks!

@vslavik vslavik merged commit 00ff4b9 into vslavik:master Sep 9, 2024
4 checks passed
@ryonakano ryonakano deleted the fix-appdata-warnings branch September 9, 2024 21:55
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

Successfully merging this pull request may close these issues.

2 participants