chore!: remove default command
Metadata
Current evaluation
Squash merged changes removing the default command, requiring snapcraft pack instead. Resolves #5673 and unblocks craft-cli. CI passed with unrelated spread failures noted.
Suggested action: —
No scores available.
Issue body
Removes support for the default command. Users must call `snapcraft pack` instead of `snapcraft`.
Fixes #5673
Unblocks https://github.com/canonical/craft-cli/issues/361
(SNAPCRAFT-1194)
---
- [x] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md).
- [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [x] I've successfully run `make lint && make test`.
- [x] I've added or updated any relevant documentation.
- [x] I've updated the relevant release notes.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Squash merged changes removing the default command, requiring snapcraft pack instead. Resolves #5673 and unblocks craft-cli. CI passed with unrelated spread failures noted. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a breaking change removing the default command, requiring users to run snapcraft pack instead. Fixes #5673 and unblocks craft-cli #361. Unrelated Spread failures were dismissed, and the commit was squash merged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged squash commit removing the default command, requiring explicit snapcraft pack usage. Resolves #5673 and unblocks craft-cli#361. Author confirmed unrelated Spread failures. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #413 chore(deps): bump craft-cli | rockcraft | merged | Merged craft-cli dependency update to v2.5.0. The change clears streaming brief progress on message and error emissions, and fixes lingering progress messages. Approved by two reviewers, passed CI, and merged with a five-line diff across five files. | |
| #1186 chore(deps): update internal packages | charmcraft | merged | Merged automated dependency updates for craft-cli to 2.0.1 and snap-helpers to 0.4.0. The change was approved, passed CI checks, and successfully integrated into the codebase. | |
| #1254 chore(deps): update internal packages | charmcraft | merged | Merged automated dependency updates for craft-cli, craft-parts, and snap-helpers. Approved by two reviewers and passed CI checks before integration. | |
| #6035 chore!: remove deprecated commands | snapcraft | merged | Merged after maintainer approval and a clean rebase. The changes remove deprecated commands and options, resolving issue #5674. | |
| #6241 chore: remove snapcraft_legacy | snapcraft | merged | Merged removal of the snapcraft_legacy module, old specs folder, and dependencies after verifying no remaining entry points. Approved by two reviewers; noted unrelated integration test failures. | |
| #4434 chore(log): hide command in output when pack failed | snapcraft | merged | Merged into main. The PR hides the command in output when packaging fails, resolving issue #4413 and CRAFT-2172. Approved by reviewers, CI passed, and description updated per feedback before final merge. | |
| #221 chore(merge): 2.6.2 into main | craft-store | merged | Merged into main after passing CI and receiving two approvals. Backports a fix from craft-store PR #175 to resolve snapcraft issue #5077, addressing a regression from the craft-store 3.0 upgrade. A follow-up craft-store release is planned. | |
| #4474 chore(deps): update internal packages | snapcraft | merged | Renovate bot automated dependency updates for craft-cli, craft-parts, craft-providers, craft-store, and snap-helpers were approved, passed CI checks, and successfully merged. | |
| #228 packages: run snap operations silently | craft-parts | merged | Merged to fix #218 by running snap subprocesses silently, preventing stdout leakage that conflicts with craft-cli during lifecycle execution. Approved by one reviewer, passed CI, and modified two files (+32/-15 lines). |