snap find is unclear about what it searches

Bug #1842964 reported by Stuart Langridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Fix Released
Low
John Lenton

Bug Description

$ snap help find
Usage:
  snap find [find-OPTIONS] [<query>]

The find command queries the store for available packages in the stable channel.

With the --private flag, which requires the user to be logged-in to the store
(see 'snap help login'), it instead searches for private snaps that the user
has developer access to, either directly or through the store's collaboration
feature.

A green check mark (given colour and unicode support) after a publisher name
indicates that the publisher has been verified.

[find command options]
      --private Search private snaps
      --narrow Only search for snaps in “stable”
      --section= Restrict the search to a given section
                                      (default: no-section-specified)
      --color=[auto|never|always] Use a little bit of colour to highlight
                                      some things. (default: auto)
      --unicode=[auto|never|always] Use a little bit of Unicode to improve
                                      legibility. (default: auto)

So... does snap find only search the stable channel (as the description says), and if so how do I search for snaps in the edge channel? Or does it search all channels and I can specify --narrow to only search stable, and the description is wrong?

affects: snapcraft → snapd
Revision history for this message
John Lenton (chipaca) wrote :

Whoops, we forgot to update that when we added "wide" searches!

By default it'll search all channels. You can make it only search stable with --narrow.

Changed in snapd:
status: New → In Progress
assignee: nobody → John Lenton (chipaca)
importance: Undecided → Low
Revision history for this message
John Lenton (chipaca) wrote :
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

The referenced pull request was merged into snapd and, I believe, will be available as a part of the snapd 2.43 release.

Changed in snapd:
milestone: none → 2.43
status: In Progress → Fix Committed
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Snapd 2.43 has been released a while ago. Marking as fix released.

Changed in snapd:
status: Fix Committed → Won't Fix
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.