← Back to issue list

`snapcraft list` overwrites its deprecation warning with the output of `snapcraft names`

View original Github issue

Metadata

Project
snapcraft
Number
#5340
Type
issue
State
closed
Author
lengau
Labels
Status: Triaged Type: Bug
Created
Updated
Closed

Current evaluation

Fixed by merged PR canonical/snapcraft#5341 (a80f446d2), making deprecation warnings permanent for list and list-registered; documented in Snapcraft 8.7.3.

Resolution: closed resolved

Reason: PR #5341 was merged as commit a80f446d2, changing the behavior so list and list-registered warnings remain visible. Snapcraft 8.7.3 release notes also list #5340 as fixed.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description When running `snapcraft list`, it doesn't keep the deprecation warning permanently. ### To Reproduce 1. Run `snapcraft list` 2. Note the deprecation warning 3. Note that it gets overwritten. ### Environment n/a ### snapcraft.yaml ```yaml n/a ``` ### Relevant log output ```shell n/a ``` ### Additional context _No response_

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by merged PR canonical/snapcraft#5341 (a80f446d2), making deprecation warnings permanent for list and list-registered; documented in Snapcraft 8.7.3.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR canonical/snapcraft#5341 (a80f446d2), making list and list-registered deprecation warnings permanent. Documented in the Snapcraft 8.7 release notes.
qwen/qwen3.6-35b-a3b — — Acknowledged and tracked for Snapcraft 9/core26 via internal ticket CRAFT-4354. No fix or merge implemented; the deprecation warning overwrite remains unresolved.
qwen/qwen3.6-35b-a3b — — Deferred to the Snapcraft 9 and core26 punchlist. Internal ticket CRAFT-4354 created to track the fix for the deprecation warning overwrite in snapcraft list and list-registered.
qwen3.6-35b-a3b-mtp-q6 — — Deferred to the Snapcraft 9/core26 roadmap. The warning overwrite bug for snapcraft list and list-registered remains unfixed but tracked internally as CRAFT-4354.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#5341 (confidence 100%)

    Merged commit a80f446d2 gave both deprecated commands permanent warnings and explicitly fixes #5340.

Related issues

Issue Project State Summary Similarity
#5428 Add a warning for deprecated commands snapcraft closed Warnings landed in #5341 and #5524 for Snapcraft 8.10; commit 3623601d7 removed the deprecated commands in Snapcraft 9.
70%