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

<keywords> #389

Closed
hsitter opened this issue Mar 10, 2022 · 4 comments
Closed

<keywords> #389

hsitter opened this issue Mar 10, 2022 · 4 comments

Comments

@hsitter
Copy link
Contributor

hsitter commented Mar 10, 2022

It might make sense to add keywords (aka tags) into the metadata. Previously with the 1:1 mapping of desktopfile-appdata file we were kind of able to infer relevant tags from the desktop file, but since we can now have multiple launchables that doesn't necessarily work anymore. Yet I think it would make sense to provide the ability to set keywords for a component such that it may be more easily searched for. This is pretty much 100% analogous to the Keywords entry of the desktop entry spec. This would also improve reuse of appstream data to feed into the window store metadata (which too does have a keyword system).

<keywords>
<keyword>partitioning</keyword>
<keyword lang=de>partitionierung</keyword>
</keywords>

or some such

@ximion
Copy link
Owner

ximion commented Mar 10, 2022

Like https://www.freedesktop.org/software/appstream/docs/chap-CollectionData.html#tag-ct-keywords ? ;-)
I will need to check whether this works for metainfo files, but I am pretty sure it does already and just needs to be formally advertised in the specification, and appstream-compose needs to learn how to merge keywords properly (or just prefer the ones in a metainfo file if there's also some available in the desktop-entry file)

@hsitter
Copy link
Contributor Author

hsitter commented Mar 11, 2022

Exactly like that! :)

@JakobDev
Copy link
Contributor

The Keyword tag is already be used on Flathub, so it makes sense to add it to the Appstream Standard.

@ximion
Copy link
Owner

ximion commented Mar 16, 2022

This has been part of AppStream since its first draft, but just hasn't been documented for metainfo files yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants