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 AppStream metadata validation #928

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

City-busz
Copy link

This updates the AppStream metadata to a newer version, and fixes all compatibility problems detected by appstreamcli validate gourmet.appdata.xml:

I - gourmet.appdata.xml.in:gourmet.desktop:27
    Consider using a secure (HTTPS) URL for 'http://thinkle.github.io/gourmet/'

E - gourmet.appdata.xml.in:gourmet.desktop:24
    The screenshot does not contain any images.

E - gourmet.appdata.xml.in:gourmet.desktop
    The component is missing a name (<name/> tag).

E - gourmet.appdata.xml.in:gourmet.desktop:25
    The screenshot does not contain any images.

E - gourmet.appdata.xml.in:gourmet.desktop
    The component is missing a summary (<summary/> tag).

I - gourmet.appdata.xml.in:gourmet.desktop:4
    The id tag for "gourmet.desktop" still contains a 'type' property, probably from 
    an old conversion.

W - gourmet.appdata.xml.in:gourmet.desktop:28
    Found invalid tag: 'updatecontact'. Non-standard tags must be prefixed with 
    "x-".

W - gourmet.appdata.xml.in:gourmet.desktop:4
    The component ID is not a reverse domain-name. Please update the ID and that of 
    the accompanying .desktop file to follow the latest version of the Desktop-Entry 
    and AppStream specifications and avoid future issues.

And don't use legacy path for metainfo file. Metainfo files should be installed into /usr/share/metainfo. See: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location

And don't use legacy path for metainfo file.
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.

1 participant