try to snapcraft release an unexisting revision shows the wrong error
Metadata
Current evaluation
Misleading error when running snapcraft release with a non-existent revision: it suggests 'snapcraft register' instead of saying the revision is invalid. Filed by maintainer elopio in 2016, labelled bitesize, 0 comments, no activity for ~9.5 years; the legacy CLI has since been replaced by the craft-based rewrite.
Suggested action: close stale
Reason: No activity for ~9.5 years (last activity 3461 days ago, 0 comments) and the specific error string 'Sorry, try `snapcraft register ...` before trying to release or choose an existing revision' came from the legacy snapcraft CLI, which has been fully replaced by the craft-parts-based rewrite, so the reported message no longer exists in the current codebase. The companion Launchpad bug #1664704 is likewise open but dormant, confirming the old code path is abandoned rather than being worked on.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
15
Quick Win:
13.5
Staleness:
90
Complexity:
10
Confidence:
60
Support Request:
5
|
close stale | Misleading error when running snapcraft release with a non-existent revision: it suggests 'snapcraft register' instead of saying the revision is invalid. Filed by maintainer elopio in 2016, labelled bitesize, 0 comments, no activity for ~9.5 years; the legacy CLI has since been replaced by the craft-based rewrite. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
100
Complexity:
10
Confidence:
95
Support Request:
0
|
close stale | Reports a misleading error message when releasing a non-existent snap revision. The issue has been inactive for over 9 years and is highly likely outdated. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
15
Confidence:
90
Support Request:
5
|
close stale | Reports a misleading error message when releasing a non-existent snap revision. Suggests updating the error to clearly state the revision is invalid. No maintainer interaction or activity in over 9 years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
15
Confidence:
85
Support Request:
5
|
close stale | Releasing a non-existent snap revision shows a misleading error suggesting registration. Unaddressed for over 9 years with zero maintainer interaction. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
10
Confidence:
90
Support Request:
5
|
close stale | snapcraft release shows a misleading error suggesting registration when a non-existent revision is specified. Should instead clearly state the revision is invalid. Open, unassigned, and awaiting triage or contributor action. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft (launchpad)#1664704
(confidence 75%)
Same misleading error when releasing a non-existent revision, reported on Launchpad in 2017; still open but inactive for over nine years.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1664704 snapcraft release gives misleading error when revision does not exist | snapcraft (launchpad) | open | snapcraft release shows misleading error suggesting 'snapcraft register' when the real problem is a non-existent revision. Filed 2016, 0 comments, no maintainer interaction; legacy CLI since replaced by craft-based rewrite. | |
| #1999038 "snapcraft release" chokes given an invalid revision value | snapcraft (launchpad) | open | Issue about confusing error when 'snapcraft release' receives invalid revision. Stale for 1366 days with no maintainer response. The release command appears to have been removed or deprecated. | |
| #1665003 Poor message when failing to specify a valid version | snapcraft (launchpad) | open | Legacy snapcraft CLI showed a confusing error ('register ... before trying to release or choose an existing revision') when releasing a snap without a registered version. Reported ~9.5 years ago; no maintainer response; the current craft-based codebase no longer contains that message. | |
| #2059787 inaccurate error output in snapcraft release if given invalid revision | snapcraft (launchpad) | open | Bug report: snapcraft release shows misleading 'No such command release' error when given an invalid revision. Untriaged, 888 days old with no maintainer interaction. | |
| #5184 Running snapcraft list-revision is giving error | snapcraft | closed | An IndexError occurred when running snapcraft list-revisions -h. The author later noted it stemmed from an outdated version, resulting in the report being closed as invalid without a code fix. |