← 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

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.

Suggested action: keep open

Reason: The issue is explicitly triaged (Status: Triaged, Type: Cleanup labels, filed by maintainer mr-cal) and I confirmed the target code is still present: names.py, account.py, and 10 other command files still raise errors.RemovedCommand or 'no longer supported' ArgumentParsingErrors, so the task remains applicable to the Snapcraft 10 release. Inactivity is only ~6.7 months and limited to a Jira-sync bot comment, with no sign the work was superseded.

Impact: 15 Quick Win: 9.75 Staleness: 60 Complexity: 35 Confidence: 85 Support Request: 0

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
qwen/qwen3.8-27b
Impact: 15
Quick Win: 9.75
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 65
Complexity: 20
Confidence: 85
Support Request: 0
keep open Remove error messages for deprecated Snapcraft commands in version 10. Task is triaged and awaiting implementation. Internal Jira ticket SNAPCRAFT-1291 tracks progress.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#5674 (confidence 90%)

    Issue body states this is a follow-up to #5674 ('Remove deprecated commands'), which was closed without implementation; this issue covers the remaining error-removal step for Snapcraft 10.

Related issues

No related issues found above the similarity threshold.