snapcraft version number output inconsistent
Metadata
Current evaluation
snapcraft 2.35 CLI displays version 3.10 as 3.1 in release/status output while push shows 3.10; unlabelled, no maintainer response, inactive 3155 days (snapcraft 2.35 era, now superseded by 8.x).
Suggested action: needs triage
Reason: No labels, no maintainer comments, no assignee, and no activity in 3155 days, so it has never been triaged. The reporter's claim that push is correct and release/status are wrong is plausible (likely float parsing of the version string) but unverified against current code, and the affected snapcraft 2.35 is long superseded, so a maintainer should confirm whether it still reproduces before closing.
Impact:
20
Quick Win:
14.0
Staleness:
95
Complexity:
30
Confidence:
55
Support Request:
5
Issue body
"snapcraft push" shows trailing zeores on version numbers, but "snapcraft release" and "snapcraft status" truncate the trailing zero. "snapcraft push" is correct, the others are wrong.
Running snapcraft 2.35 via apt.
I have a snap (get-iplayer) which is version "3.10" in the snapcraft yaml. I have pushed it to the store and released to all channels.
Snapcraft push says this:-
# snapcraft push get-iplayer_3.10_armhf.snap --release candidate,beta,edge
Pushing get-iplayer_3.10_armhf.snap
After pushing, an attempt to release to ['candidate', 'beta', 'edge'] will be made
Preparing to push '/root/get-iplayer_3.10_armhf.snap' to the store.
Pushing get-iplayer_3.10_armhf.snap [==============================================================================] 100%
Processing...|
Ready to release!
Revision 9 of 'get-iplayer' created.
Track Arch Channel Version Revision
latest armhf stable - -
candidate 3.10 9
beta 3.10 9
edge 3.10 9
I then released:-
# snapcraft release get-iplayer 9 stable
Track Arch Channel Version Revision
latest armhf stable 3.1 9
candidate 3.1 9
beta 3.1 9
edge 3.1 9
The 'stable' channel is now open.
When I later checked the versions in channels (after releasing to stable), I see this:-
# snapcraft status get-iplayer
Track Arch Channel Version Revision
latest amd64 stable 3.1 7
candidate 3.1 7
beta 3.1 7
edge 3.1 7
armhf stable 3.1 9
candidate 3.1 9
beta 3.1 9
edge 3.1 9
i386 stable 3.1 8
candidate 3.1 8
beta 3.1 8
edge 3.1 8
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
20
Quick Win:
14.0
Staleness:
95
Complexity:
30
Confidence:
55
Support Request:
5
|
needs triage | snapcraft 2.35 CLI displays version 3.10 as 3.1 in release/status output while push shows 3.10; unlabelled, no maintainer response, inactive 3155 days (snapcraft 2.35 era, now superseded by 8.x). | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
15
Confidence:
90
Support Request:
10
|
close stale | Inconsistent version number formatting in snapcraft CLI output between push, release, and status commands. Currently unlabelled and inactive for over 8 years. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
10
Confidence:
85
Support Request:
5
|
close stale | Inconsistent trailing zero display across snapcraft CLI commands (push, release, status). Issue is over 8 years old, unlabelled, and has zero maintainer engagement. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
100
Complexity:
15
Confidence:
90
Support Request:
10
|
close stale | Inconsistent version number formatting in snapcraft CLI commands (push vs release/status) showing trailing zeros. Unlabelled, no comments, and references deprecated snapcraft 2.35. | |
| qwen3.6-35b-moe-q4 |
Staleness:
95
Complexity:
25
Confidence:
90
Support Request:
10
|
close stale | Inconsistent version number formatting in snapcraft CLI commands (push vs release/status) showing trailing zeros. Issue is 8+ years old with no maintainer interaction. |
Update history
No update history recorded yet.
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. | |
| #1692752 snapcraft 2.30 has no version command | snapcraft (launchpad) | closed | Closed without comments. The missing version command in snapcraft 2.30 was resolved in a subsequent release. | |
| #5086 snapcraft status lists several time the same information | snapcraft | open | snapcraft status prints the same track/arch/channel rows multiple times in its table output. Reported against snapcraft 8.4.1 on Ubuntu Oracular; no maintainer response, no labels, no activity since filing ~2 years ago. |