← Back to issue list

Remove deprecated commands

View original Github issue

Metadata

Project
snapcraft
Number
#5674
Type
issue
State
closed
Author
mr-cal
Labels
Status: Triaged Type: Cleanup
Created
Updated
Closed

Current evaluation

Closed without resolution. The cleanup task to sequester deprecated commands into a dedicated file remains unimplemented, with no pull request or follow-up submitted.

Suggested action:

No scores available.

Issue body

### What needs to get done Remove the following deprecated commands or arguments: * export-login --experimental-login * list * list-registered * list-confdb-schemas * list-extensions * list-keys * list-plugins * list-tracks * list-revisions * list-validation-sets * login --experimental-login * login --with * push * snap (core22 and core24+) These commands still need to recommend the new command, so we can't entirely remove the code but I think we can sequester these commands in a new file `snapcraft/commands/deprecated.py`. This should include searching the codebase for any deprecated features missing from this list. ### Why it needs to get done These commands were deprecated in 8.10 via #5428 and will be removed in Snapcraft 9. edit: Updated the list based on https://github.com/canonical/snapcraft/issues/5711. This list of commands is likely to change again, so re-verify the list when implementing.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution. The cleanup task to sequester deprecated commands into a dedicated file remains unimplemented, with no pull request or follow-up submitted.
qwen/qwen3.6-35b-a3b Closed without implementation. The cleanup task to sequester deprecated Snapcraft commands was abandoned or superseded by the Snapcraft 9 release cycle. No pull request was opened or merged.
qwen/qwen3.6-35b-a3b Closed without implementation. The cleanup task to sequester deprecated Snapcraft commands was moved to an internal Jira ticket (SNAPCRAFT-1196) and abandoned. No code changes or pull requests were merged.
qwen3.6-35b-a3b-mtp-q6 Closed without implementation. The deprecated command cleanup was abandoned or deferred, as no pull request or fix was linked. Only an automated Jira ticket creation was recorded.
qwen3.6-35b-a3b-mtp-q6 Closed without implementation. The cleanup task was deferred to Snapcraft 9, with a Jira ticket created for tracking. No pull request or code changes were merged.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1775 Work/remove old commands charmcraft closed Proposed removal of old commands was abandoned. The branch was closed without review, comments, or CI checks after 720 days, despite deleting 9648 lines across 10 files. No merge occurred.
71%