Feature request: link to store page in snap info

I think it would be useful to append a link to https://snapcraft.io/packagename in the output of snap info packagename. I sometimes find interesting snaps from the command line and would like to be able to quickly see screenshots by clicking on a link.

I suppose this may cause problems with locally installed snaps or snaps from an alternative store.

1 Like

Sounds like a useful feature, especially if one is not using frontend like gnome-software or KDE discover. I’ve done quick attempt to implement this: https://github.com/snapcore/snapd/pull/7276

1 Like

it’s a little bit more involved than that unfortunately, and we can’t do it properly without store-side support.

I’ve filed lp:1840751 for that.

1 Like

https://bugs.launchpad.net/snapstore/+bug/1840751 is marked as fix-released, relevant information should be available through the store API now.

1 Like

Trying again: https://github.com/snapcore/snapd/pull/7654 this time we’re using URL data provided by the store.

It has landed in master. The store-url should appear in latest edge builds and in the upcoming 2.43 release.

2 Likes

That’s super! Thanks very much to you and everyone else who spent time on this :slight_smile: