← Back to issue list

chore!: remove default command

View original Github issue

Metadata

Project
snapcraft
Number
#6074
Type
pull request
State
merged
Author
mr-cal
Labels
PR: Squash PR: Run Manual Spread
Created
Updated
Closed

Current evaluation

PR #6074 merged as db7c53f21, removing bare snapcraft packing for #5673; #6178 later reverted the change in e5aaf0683.

Resolution: closed resolved

Reason: PR #6074 was merged as commit db7c53f21 and implemented the requested command removal. Commit e5aaf0683 in PR #6178 later restored the default command pending its planned removal with core28.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved PR #6074 merged as db7c53f21, removing bare snapcraft packing for #5673; #6178 later reverted the change in e5aaf0683.
stealth/space-bunny-alpha — closed superseded PR #6074 (db7c53f21) merged, removing the deprecated default `snapcraft` command so `snapcraft pack` must be used. It was later reverted by #6178 (e5aaf0683) after insufficient notice for build-script maintainers.
stealth/space-bunny-alpha — closed resolved PR #6074 merged as db7c53f21, dropping bare `snapcraft` packing to fix #5673 (SNAPCRAFT-1194). It was later reverted by #6178 (e5aaf0683), restoring the default command pending core28 removal.
stealth/space-bunny-alpha — closed resolved Merged #6074 (db7c53f21) to remove bare snapcraft packing; #6178 (e5aaf0683) later reverted the change.
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.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#5673 (confidence 100%)

    Original issue requesting removal of the default snapcraft command.

  • Superseded By: canonical/snapcraft#6178 (confidence 100%)

    Reverted PR #6074 in commit e5aaf0683, restoring bare snapcraft packing.

  • Related To: canonical/craft-cli#361 (confidence 95%)

    Craft CLI removal work that PR #6074 was intended to unblock.

Related issues

Issue Project State Summary Similarity
#6035 chore!: remove deprecated commands snapcraft merged Merged as 3623601d7, removing deprecated Snapcraft commands and options and resolving #5674 (SNAPCRAFT-1196).
83%
#6241 chore: remove snapcraft_legacy snapcraft merged Merged #6241 via commits ffb164b7a and 995f0a3bc, deleting snapcraft_legacy, obsolete specs, and legacy-only dependencies after its entry points were removed.
77%
#6079 chore: delete unused file snapcraft merged Merged PR #6079 as commit 75686f3da, deleting a three-line file unused since Snapcraft moved to a pyproject-based setup.
76%
#5994 chore!: remove legacy remote builder snapcraft merged Merged PR #5994 as b08f1a66e, removing the legacy remote builder and closing #5676 for Snapcraft 9.0.
74%
#6178 revert: chore!: remove default command snapcraft merged Merged as e5aaf0683, reverting #6074 to restore the deprecated default command after insufficient notice for build-script maintainers; removal was deferred for core28 planning.
74%
#5673 Remove default command, `snapcraft` snapcraft closed 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.
74%
#1078 chore!: remove deprecated APIs craft-application merged Merged PR #1078 as 3334f13e, removing eight deprecated APIs and fixing #1063. All CI checks passed, with local Snapcraft verification.
74%
#4434 chore(log): hide command in output when pack failed snapcraft merged Merged into main as 71fa15744. Ported the 7.5 hotfix #4424 (ec09cc07b) to fix #4413: snap pack failures no longer dump the full command/stdout to the terminal, printing a concise error instead.
72%
#6469 chore: remove unused _read_config snapcraft closed Closed without merging; superseded by a reworked branch pushed directly to canonical/snapcraft under work/refactor/*.
72%
#6470 chore: remove unused errors snapcraft closed PR removing unused SnapcraftError subclasses was closed unmerged; superseded by reworking the branch layout and pushing directly to canonical/snapcraft.
72%