snapcraft gated prints no message when there are no gated snaps

Bug #1629991 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Medium
Roberto Alsina

Bug Description

When I run snapcraft gated with a snap that has nothing gated, I get:

$ snapcraft gated u1test20161003
Name Approved
elopio@ubuntu-xenial:~/packaging$

It would be better to print a message saying that there are no gated revisions. Maybe even some tips about how to add some.

Tags: store
Revision history for this message
Roberto Alsina (ralsina) wrote :

celso pointed out a few issues with the current validate() code, so I can fix this at the same time.

Changed in snapcraft:
assignee: nobody → Roberto Alsina (ralsina)
Revision history for this message
Roberto Alsina (ralsina) wrote :

https://github.com/snapcore/snapcraft/pull/849 has the fix. Did not add the "hints to explain how to add validations" because you don't want me to write those... it involves requesting canonical to enable refresh-control in a snap and so on. Looks complicated.

Changed in snapcraft:
importance: Undecided → Medium
status: New → Fix Committed
milestone: none → 2.20
Leo Arias (elopio)
tags: added: store
Changed in snapcraft:
status: Fix Committed → 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.