Unable to release classic snap to beta channel

Bug #1655634 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned
Software Center Agent
Fix Committed
Medium
Wouter van Bommel

Bug Description

Snap release is unhelpful:

$ snapcraft release wal-e 1 beta
Package is not ready to be published.

The bug is that 'snapcraft release' is not telling me *why* the package is not ready to be published. I am left blocked, with no hint on how to proceed.

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

We shouldn't be mentioning the word "publish" but instead use the "push" and "release" primitives as those are the actions exposed to the user. Can we make sure the language is updated in the store errors?

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

My comment comes aside from a more specific error code and/or message from the store so a user can figure out what to do.

Revision history for this message
Iain Lane (laney) wrote :

Just ran into this too. Until I checked my email after building a new snap I didn't realise that it had gone to the queue for review. I tried to use snapcraft to release the build to edge:

laney@raleigh> snapcraft release appstream-generator-laney 3 edge
Snap is not ready to be published.

but the error message is a bit lacking and I actually just thought that I needed to wait a bit :(. Do we need to poke the store people to provide more information for snapcraft to use?

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Yeah, that message comes straight from the store, the store is also the entity that knows why it cannot be published.

Revision history for this message
Daniel Manrique (roadmr) wrote :

This is an InconsistentStateError. Check if that class ships enough state for snapcraft to give more information, or whether we should augment the payload when we raise this error so that the reason is clearer (e.g. is the queue held up by a manual review? what?)

Changed in software-center-agent:
importance: Undecided → Medium
status: New → Confirmed
Changed in software-center-agent:
assignee: nobody → Wouter van Bommel (woutervb)
Changed in software-center-agent:
status: Confirmed → Fix Committed
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.