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

[Enhancement]: Provide appstream common id #278

Open
er-vin opened this issue Jun 19, 2024 · 0 comments
Open

[Enhancement]: Provide appstream common id #278

er-vin opened this issue Jun 19, 2024 · 0 comments

Comments

@er-vin
Copy link

er-vin commented Jun 19, 2024

What changes would you like?

While working in porting some of the KDE applications on a system exposing only snap packages, I realized that GIMP couldn't be found by appstream id.

Indeed it looks like the snap packaging doesn't provide a common-id. So for instance if querying the search endpoint for gimp common id like so:

curl -s "https://api.snapcraft.io/api/v1/snaps/search?common_id=org.gimp.gimp"|jq '._embedded|.["clickindex:package"]|.[]|.package_name'

We get no result. This is to be compared with for instance the VLC snap package which integrated appstream id in its data:

curl -s "https://api.snapcraft.io/api/v1/snaps/search?common_id=org.videolan.vlc"|jq '._embedded|.["clickindex:package"]|.[]|.package_name'

Could this be adjusted on the GIMP package? GIMP is advertised at a couple of place on the KDE side but since it's based on its appstream id, on a snap-only system this prevents from finding the application.

Any extra information?

No response

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

1 participant