← Back to issue list

snapstore returns multiple instances of the same publication (was snapcraft list-revisions showing multiple publications in the same channel)

View original Launchpad issue

Metadata

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

Current evaluation

2017 bug report: snapcraft list-revisions displayed duplicate channel entries (e.g. 'edge*, edge*, edge*') per revision. No maintainer activity in 7 years. The revisions command has since been rewritten to use a set for channels, structurally preventing duplicates.

Suggested action: close stale

Reason: The issue is from 2017 with zero comments and no maintainer engagement. The revisions command was rewritten in PR #3329 to use the releases API, and the current implementation in snapcraft/commands/status.py uses a Python set for channels (channels: set[str] = set()), which structurally prevents the duplicate channel display reported here. The original problem is no longer reproducible in the current codebase.

Impact: 15 Quick Win: 12.75 Staleness: 95 Complexity: 15 Confidence: 78 Support Request: 5

Issue body

Note that the latest rev on each architecture is showing in edge three times: 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

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 15
Quick Win: 12.75
Staleness: 95
Complexity: 15
Confidence: 78
Support Request: 5
close stale 2017 bug report: snapcraft list-revisions displayed duplicate channel entries (e.g. 'edge*, edge*, edge*') per revision. No maintainer activity in 7 years. The revisions command has since been rewritten to use a set for channels, structurally preventing duplicates.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 12.0
Staleness: 92
Complexity: 40
Confidence: 70
Support Request: 10
close stale 2017 report that list-revisions showed duplicate channel entries (edge* three times) because snapstore returned multiple publication records per revision. No maintainer interaction; the old store API has since been replaced.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 30
Confidence: 95
Support Request: 10
close stale Reports a bug where snapcraft list-revisions displays duplicate publications for the same revision and channel. No maintainer comments or activity for nearly seven years; likely obsolete given project age and lack of engagement.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 10
close stale Reports duplicate channel listings in snapcraft list-revisions output. Open for over nine years with no maintainer response or activity since 2017. Likely irrelevant due to significant snapcraft backend and CLI changes.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 90
Support Request: 10
close stale Reports duplicate channel listings in snapcraft list-revisions output for snap version 0.11 from 2017. Issue has been inactive for over six years and is no longer relevant to modern snapcraft versions.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 40
Confidence: 90
Support Request: 10
close stale Reports duplicate channel entries for the same snap revision in snapcraft list-revisions. No maintainer response or updates in over six years. Likely obsolete due to significant snapstore and CLI changes since 2017.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: snapcraft/snapcraft#3329 (confidence 70%)

    Rewrote the revisions command to use the releases API; the current channel-collection logic uses a set, which deduplicates channels and prevents the reported 'edge*, edge*, edge*' output.

Related issues

Issue Project State Summary Similarity
#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.
70%