Add a warning for deprecated commands
Metadata
Current evaluation
Superseded by a future release. Deprecation warnings for listed commands will be added in Snapcraft 9 (April 2026) alongside core26 support, except the default command requiring upstream craft-cli updates. Closed as planned.
Suggested action: —
No scores available.
Issue body
### What needs to get done
For the following commands, add a deprecation notice and recommend the alternative:
command | replacement
-- | --
snapcraft list | snapcraft names
snapcraft list-registered | snapcraft names
snapcraft login --experimental-login | SNAPCRAFT_STORE_AUTH=candid
snapcraft export-login --experimental-login | SNAPCRAFT_STORE_AUTH=candid
~~snapcraft~~ | ~~snapcraft pack~~
snapcraft extensions | snapcraft list-extensions
snapcraft plugins | snapcraft list-plugins
snapcraft tracks | snapcraft list-tracks
snapcraft revisions | snapcraft list-revisions
snapcraft push | snapcraft upload
snapcraft snap | snapcraft pack
### Why it needs to get done
These commands are scheduled to be removed in a future version of Snapcraft.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Superseded by a future release. Deprecation warnings for listed commands will be added in Snapcraft 9 (April 2026) alongside core26 support, except the default command requiring upstream craft-cli updates. Closed as planned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed. Deprecation warnings and command removals are scheduled for the April 2026 Snapcraft 9 release. One warning was postponed pending upstream craft-cli updates. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed and deferred. Deprecation warnings were not implemented. Maintainers set a removal timeline for April 2026 (Snapcraft 9) and noted the default command warning requires upstream craft-cli updates. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed and deferred until Snapcraft 9 pending core26 support and upstream craft-cli updates. The default command warning was scoped out. Deprecation notices will be implemented when the listed commands are removed. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5525 Add a warning for the default command | snapcraft | closed | Closed without implementation. The deprecation warning enhancement remains blocked by upstream craft-cli changes and appears abandoned. | |
| #5340 `snapcraft list` overwrites its deprecation warning with the output of `snapcraft names` | snapcraft | closed | Acknowledged and tracked for Snapcraft 9/core26 via internal ticket CRAFT-4354. No fix or merge implemented; the deprecation warning overwrite remains unresolved. | |
| #5673 Remove default command, `snapcraft` | snapcraft | closed | Closed and tracked via Jira. The default snapcraft command, deprecated in v8.11, remains scheduled for removal in Snapcraft 9. No pull request was merged. |