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

Improve AppStream Metadata #26

Open
lazyfrosch opened this issue Apr 19, 2020 · 2 comments
Open

Improve AppStream Metadata #26

lazyfrosch opened this issue Apr 19, 2020 · 2 comments
Assignees
Labels
quality This that should be improved but aren't a bug or feature

Comments

@lazyfrosch lazyfrosch added the quality This that should be improved but aren't a bug or feature label Apr 19, 2020
@lazyfrosch lazyfrosch self-assigned this Apr 19, 2020
@ghost
Copy link

ghost commented Sep 16, 2022

Is there a problem resolving this issue?

@buhtz
Copy link

buhtz commented Feb 14, 2024

Hope it is OK that I don't open a new issue. I am in the middle of creating my own AppStream metadata and accidentally discovered some problems with your appstream metadata on Debian.

$ appstreamcli validate termina*xml
W: terminator.desktop:3: cid-desktopapp-is-not-rdns terminator.desktop
I: terminator.desktop:148: description-first-para-too-short The robot future of terminals
I: terminator.desktop:521: unknown-tag updatecontact
I: terminator.desktop:~: desktop-app-launchable-omitted
I: terminator.desktop:~: content-rating-missing

The primary problem is non-rdns <id>. In your case it usually would be io.github.gnome-terminator.terminator. An alternative is io.github.terminator. Important is that the first two components are derived from a real existing URL. It don't have to be Microsoft github. This decission is up to you as a maintainer.

The content-rating-missing can be fixed with this "empty" content rating.

    <!-- https://hughsie.github.io/oars/generate.html -->
    <content_rating type="oars-1.0" />

Your updatecontact is just a typo. Use <update_contact> (docu).

Add a <launchable> tag. e.g.

<launchable type="desktop-id">terminator.desktop</launchable>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quality This that should be improved but aren't a bug or feature
Projects
None yet
Development

No branches or pull requests

2 participants