← 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

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.

Suggested action: close stale

Reason: The issue is from April 2017 (3422 days old) with zero comments and no maintainer interaction. The snapcraft project has undergone a complete rearchitecture since then — the current codebase uses a models/services/store architecture that did not exist in 2017, making the original list-revisions display code path obsolete. A related Launchpad bug (#1586162) was also closed. The specific formatting bug in the old code is no longer applicable to the current codebase.

Impact: 15 Quick Win: 13.5 Staleness: 95 Complexity: 10 Confidence: 55 Support Request: 5

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
qwen/qwen3.8-27b
Impact: 15
Quick Win: 13.5
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.
qwen3.6-35b-moe-q4
Staleness: 98
Complexity: 20
Confidence: 65
Support Request: 10
needs triage snapcraft list-revisions incorrectly strips trailing zeros from version strings (e.g., 0.10 displays as 0.1), conflicting with the web UI. Open for nearly a decade with zero maintainer interaction.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#1586162 (confidence 40%)

    Launchpad bug with nearly identical title about snapcraft truncating trailing zeros from version strings; closed without resolution comments.

Related issues

Issue Project State Summary Similarity
#1586162 snapcraft truncates trailing 0's from version snapcraft (launchpad) closed Abandoned. The trailing zero truncation bug in snapcraft version strings was not addressed and remains unresolved.
77%
#1848565 `revisions` only showing the most recent 500 revs snapcraft (launchpad) open snapcraft revisions command only displays the most recent 500 revisions per snap, truncating older history. Reported 2510 days ago with zero comments, no labels, and no maintainer response. Likely outdated given 7 years of project evolution.
73%
#1669291 'snap info' does not handle versions that end in 0 well snapcraft (launchpad) closed Abandoned and closed without a linked pull request or public resolution. The report identified that snap info incorrectly strips trailing zeros from version numbers by parsing them as floats.
72%