'snap find' does not allow channel specification
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
There is no option for 'snap find' to list snaps in a specific channel.
1) No such snaps
snap find ceilometer
The search "ceilometer" returned 0 snaps
2) However, it is present in the 'edge'
snap install --edge ceilometer
ceilometer 36.54 MB / 36.58 MB [======
3) Help doesn't contain any related options:
snap find -h
Usage:
snap [OPTIONS] find [find-OPTIONS] [<query>]
The find command queries the store for available packages.
Application Options:
--version Print the version and exit
Help Options:
-h, --help Show this help message
[find command options]
--private Search private snaps
I think it is worthwhile to add an ability to specify a channel, otherwise it is not really clear if a snap is present in the store or not.
This is something we discussed, and our current view (which can be
changed) is that snaps which have not yet made it to stable should not
be surfaced through general searches.
'snap info' should show you the details of a snap if you know it exists,
and the idea is that the developer or upstream can blog about a
non-stable snap and tell people the exact command to install (sudo snap
install foo --beta). Reading about a snap and installing it that way is
up to the user's discretion, but if we show snaps that are unstable in
snap find, then in a sense we are responsible for their installation of
unstable software, and we'd rather not do that.
So, for the moment, the policy is to encourage:
* developers to blog about beta or candidate snaps to encourage testing
* the 'find' results to reflect only snaps that have made it all the
way to 'stable'
Mark