← Back to issue list

Remove errors for removed commands

View original Github issue

Metadata

Project
snapcraft
Number
#6022
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Cleanup
Created
Updated
Closed
—

Current evaluation

Triaged Snapcraft 10 cleanup to remove temporary errors and hidden shims for commands deprecated in Snapcraft 8; still pending in the Snapcraft 9 codebase.

Suggested action: keep open

Reason: The issue explicitly defers this cleanup to Snapcraft 10, while the current release notes list Snapcraft 9.1 and source still contains RemovedCommand plus hidden shims such as StoreLegacyListCommand and SnapCommand, so no resolving change is present. Its Triaged and Cleanup labels and explicit list of commands and options make it a valid, well-scoped task to keep open.

Evaluated by: mr-cal-bot

Impact: 22 Quick Win: 12 Complexity: 38 Confidence: 96 Actionability: 90

Issue body

### Check existing issues - [x] I've verified that this request isn't described by any existing issues. ### Request The following commands were deprecated in Snapcraft 8 and removed in Snapcraft 9. Snapcraft 9 provides an error for users still using the deprecated commands. These errors can be removed in Snapcraft 10. This is a follow-up to https://github.com/canonical/snapcraft/issues/5674. * list * list-registered * list-confdb-schemas * list-extensions * list-keys * list-plugins * list-tracks * list-revisions * list-validation-sets * export-login --experimental-login * login --experimental-login * login --with * push * snap (core22 and core24+) ### The problem it solves Code cleanup.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 22
Quick Win: 12
Complexity: 38
Confidence: 96
Actionability: 90
keep open Triaged Snapcraft 10 cleanup to remove temporary errors and hidden shims for commands deprecated in Snapcraft 8; still pending in the Snapcraft 9 codebase.
stealth/space-bunny-alpha
Impact: 30
Quick Win: 17
Complexity: 35
Confidence: 95
Actionability: 85
keep open Triaged Snapcraft 9 cleanup: remove temporary errors for commands and flags deprecated in v8 and removed in v9; the legacy error paths remain in the current codebase.
stealth/space-bunny-alpha
Impact: 25
Quick Win: 20
Complexity: 15
Confidence: 92
Actionability: 92
keep open Maintainer cleanup task to delete the RemovedCommand error classes and hidden command aliases for 13 commands deprecated in Snapcraft 8 and removed in Snapcraft 9. All error sites still present at HEAD; follow-up to #5674, gated on Snapcraft 10.
qwen/qwen3.6-35b-a3b
Impact: 20
Quick Win: 13
Complexity: 20
Confidence: 80
Actionability: 80
keep open Cleanup task to remove error messages for deprecated commands removed in Snapcraft 9, to be addressed in Snapcraft 10. Issue is triaged and open.
qwen/qwen3.8-27b
Impact: 15
Quick Win: 10
Staleness: 60
Complexity: 35
Confidence: 85
Support Request: 0
keep open Cleanup task to remove RemovedCommand errors and --experimental-login/--with argument errors for commands removed in Snapcraft 9, targeted for Snapcraft 10. Triaged by a maintainer but not yet implemented; the errors still exist in the codebase.
qwen/qwen3.6-35b-a3b
Staleness: 55
Complexity: 15
Confidence: 85
Support Request: 0
keep open Cleanup task to remove error messages for commands deprecated in Snapcraft 8 and removed in Snapcraft 9, scheduled for Snapcraft 10. Currently triaged but inactive for ~5 months.
qwen3.6-35b-a3b-mtp-q6
Staleness: 45
Complexity: 15
Confidence: 85
Support Request: 0
keep open Task to remove error messages for commands deprecated in Snapcraft 8 and removed in Snapcraft 9, scheduled for implementation in Snapcraft 10. Currently triaged and awaiting development.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#5674 (confidence 100%)

    The body identifies #5674 as its follow-up; that issue removed the deprecated commands in commit 3623601d7 and left temporary error shims for this cleanup.

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.
76%
#6035 chore!: remove deprecated commands snapcraft merged Merged as 3623601d7, removing deprecated Snapcraft commands and options and resolving #5674 (SNAPCRAFT-1196).
73%
#5673 Remove default command, `snapcraft` snapcraft closed PR #6074 removed bare `snapcraft` in db7c53f21, but PR #6178 reverted it in e5aaf0683. Removal was deferred to core28 planning, leaving the deprecated command intact.
71%