history and status error message for a snap not pushed is not good

Bug #1636971 reported by Leo Arias
6
This bug affects 1 person
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 'y8gqFXGKAfN5NoZtNRZHqWhB1C4jt3Gi' for 'any arch' in '16' series: Snap not found.
elopio@ubuntu-xenial:~/waf/demos/asm$ snapcraft status u1test20161026
Error fetching status of snap id 'y8gqFXGKAfN5NoZtNRZHqWhB1C4jt3Gi' for 'any arch' in '16' series: Snap not found.

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.

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.