← Back to issue list

snapcraft list-revisions strip trailing 0's from versions

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1683827
Type
issue
State
open
Author
~matiasb
Labels
apw-snappy
Created
Updated
Closed
—

Current evaluation

Version strings such as 0.10 are still numerically reformatted by snapcraft revisions; the old list-revisions alias is removed, but the underlying tabulate bug remains.

Suggested action: keep open

Reason: The report gives a precise reproducer and identifies numeric parsing as the cause. In the current codebase, StoreRevisionsCommand still calls tabulate without disable_numparse for its Version column, while another status renderer already uses disable_numparse=True, indicating a small, well-understood fix and regression test.

Evaluated by: mr-cal-bot

Impact: 32 Quick Win: 26 Complexity: 12 Confidence: 97 Actionability: 92

Issue body

Note the version for rev 46/47 in the web: #49 0.11 16 i386 stable, edge 8.8 MB #48 0.11 16 amd64 stable, edge 8.8 MB #47 0.10 16 amd64 — 8.8 MB #46 0.10 16 i386 — 8.8 MB #45 0.1 16 i386 — 8.8 MB and in the snapcraft list-revisions output: Rev. Uploaded Arch Version Channels 49 2017-04-18T14:04:59Z i386 0.11 stable*, edge*, edge*, edge* 48 2017-04-18T14:03:19Z amd64 0.11 edge*, stable*, edge*, edge* 47 2017-04-18T11:49:17Z amd64 0.1 edge 46 2017-04-18T11:49:18Z i386 0.1 edge 45 2017-04-12T17:49:25Z i386 0.1 edge, stable 44 2017-04-12T17:49:15Z amd64 0.1 edge, stable

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 32
Quick Win: 26
Complexity: 12
Confidence: 97
Actionability: 92
keep open Version strings such as 0.10 are still numerically reformatted by snapcraft revisions; the old list-revisions alias is removed, but the underlying tabulate bug remains.
stealth/space-bunny-alpha
Impact: 32
Quick Win: 28
Complexity: 8
Confidence: 97
Actionability: 95
keep open Revisions output still normalizes version strings such as 0.10 to 0.1; the renamed `revisions` command remains affected by missing numeric parsing control.
qwen/qwen3.6-35b-a3b
Impact: 10
Quick Win: 8
Complexity: 10
Confidence: 95
Actionability: 90
close resolved The `list-revisions` command has been removed and replaced by `revisions`. The old command now raises a RemovedCommand error. The specific bug in the old command is no longer applicable.
qwen/qwen3.8-27b
Impact: 15
Quick Win: 14
Staleness: 95
Complexity: 10
Confidence: 55
Support Request: 5
close stale snapcraft list-revisions displayed version 0.10 as 0.1, stripping trailing zeros. Reported in 2017 with no maintainer response. Project has since been fully rearchitected; original code path no longer exists.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 20
Confidence: 85
Support Request: 5
close stale snapcraft list-revisions displays truncated version strings (e.g., 0.1 instead of 0.10) compared to the web UI. Open for 9 years with no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 5
close stale snapcraft list-revisions strips trailing zeros from version strings, showing 0.1 instead of 0.10. Issue is over 9 years old with no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 15
Confidence: 85
Support Request: 10
close stale CLI snapcraft list-revisions incorrectly strips trailing zeros from version numbers (e.g. 0.10 displays as 0.1), causing a mismatch with the web UI. Issue is over 9 years old with no activity or maintainer response.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.