history and status error message for a snap not pushed is not good
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
When I try to get the history and status for a snap that I haven't pushed yet, I get the following error message:
$ snapcraft history u1test20161026
Error fetching history of snap id 'y8gqFXGKAfN5No
elopio@
Error fetching status of snap id 'y8gqFXGKAfN5No
The error is not user friendly. First, it uses the snap id instead of the name. Then 'any arch' in quotes makes it clear that this case doesn't fit nicely in the template. And finally, it says "'16' series" which sounds weird to me. I think it's better to say "series 16" instead.
In this case, I registered the snap but have not pushed yet. So a message saying that would be better. Something like: You haven't pushed any revisions for <snapname>. You can try pushing one to the edge channel with snapcraft push <snap path> --edge.