Remove default command, `snapcraft`
Metadata
Current evaluation
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.
Resolution: closed stale
Reason: PR #6178 and commit e5aaf0683 reverted PR #6074/db7c53f21 after insufficient notice for build-script maintainers. Removal was deferred pending core28 planning, so the requested behavior was abandoned when #5673 was closed.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
Running `snapcraft` with no sub-command should fail with an error.
### Why it needs to get done
`snapcraft` was deprecated in favor of `snapcraft pack` in 8.11 and will be removed in Snapcraft 9.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | 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. | |
| stealth/space-bunny-alpha | — | closed superseded | Removal landed in #6074 (db7c53f21), but #6178 (e5aaf0683) reverted it; bare snapcraft was retained pending removal with core28. | |
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and deferred. Removal of the default snapcraft command is tracked externally via Jira for Snapcraft 9, following its deprecation in 8.11. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without documented resolution. The cleanup task to remove the deprecated default snapcraft command was deferred pending Snapcraft 9, with no fix or merge linked. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as a cleanup task to remove the deprecated default snapcraft command. Synced to Jira without a linked pull request, indicating the work was deferred or handled separately. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
snapcraft#6074
(confidence 100%)
Initially implemented the requested failure behavior, but the change was subsequently reverted.
-
Caused By:
snapcraft#6178
(confidence 100%)
Reverted the removal and deferred reconsideration until core28 planning.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #361 Remove the default command | craft-cli | open | Maintainer tracking issue to remove the Dispatcher default_command/allow_default_command support once Snapcraft 10 (core28) ships. Intermediate step landed in PR #422 (error message path); full removal still pending. | |
| #6074 chore!: remove default command | snapcraft | merged | PR #6074 merged as db7c53f21, removing bare snapcraft packing for #5673; #6178 later reverted the change in e5aaf0683. | |
| #6035 chore!: remove deprecated commands | snapcraft | merged | Merged as 3623601d7, removing deprecated Snapcraft commands and options and resolving #5674 (SNAPCRAFT-1196). | |
| #6022 Remove errors for removed commands | snapcraft | 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. | |
| #5982 Trim down snapcraft_legacy and plan migration effort | snapcraft | closed | Superseded by a revised plan to migrate store commands first, then delete snapcraft_legacy; the package was later removed in ffb164b7a and 995f0a3bc. | |
| #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. |