Snap refresh with no updates should be friendly about it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Layer |
Fix Released
|
Critical
|
Stuart Bishop | ||
Snappy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When I try to refresh Krita which is already up to date I see this:
$ snap refresh krita
error: cannot perform the following tasks:
- Download snap "krita" from channel "stable" (revision 1 of snap "krita" already installed)
This looks scary, because it says error. Perhaps we could say this for explicitly named snaps:
$ snap refresh krita telegram firefox
krita already up to date
firefox (beta) updated
telegram updated
So, I am explicitly giving a result for each named snap, and none of those are an error.
In the case of the general "snap refresh" we should only say something about snaps which have changes to apply:
$ snap refresh
firefox (beta) updated
In the case of a general snap refresh with no updates:
$ snap refresh
Good news, we're all up to date here
Changed in snappy: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in layer-snap: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Stuart Bishop (stub) |
tags: | added: canonical-is |
Changed in layer-snap: | |
status: | Triaged → In Progress |
Changed in snappy: | |
status: | Fix Committed → Fix Released |
Yeah, IIRC the branch that landed has it as
"All snaps up-to-date."