`snapcraft pack` should run the lifecycle for core20 in Snapcraft 8
Metadata
Current evaluation
Fixed core20 snapcraft pack behavior in merged PR #5616 (commit b511004af): bare pack now runs the lifecycle, while snapcraft pack <dir> still invokes snap pack.
Resolution: closed resolved
Reason: PR #5616 was merged as commit b511004af and explicitly fixed #5425 by making the legacy core20 pack command run the lifecycle.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
`snapcraft pack` for core20 should act like it does for newer bases:
* `snapcraft pack`: run the lifecycle
* `snapcraft pack <dir>`: run `snap pack` on a directory
### Why it needs to get done
The `snacraft pack` command only packs a directory for core20 snaps.
`snapcraft pack` needs to be consistent across all bases and to align with other *craft apps.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed core20 snapcraft pack behavior in merged PR #5616 (commit b511004af): bare pack now runs the lifecycle, while snapcraft pack <dir> still invokes snap pack. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #5616 (commit b511004af) fixed core20 `snapcraft pack`: without a directory it now runs the lifecycle, while `snapcraft pack <dir>` still packs a directory. | |
| stealth/space-bunny-alpha | — | closed resolved | Implemented by merged PR #5616 (b511004af): Snapcraft's legacy pack command now runs the lifecycle for core20 instead of only packing a directory. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The enhancement to run the snapcraft pack lifecycle for core20 was triaged and synced to Jira but never implemented or merged. | |
| qwen/qwen3.6-35b-a3b | — | — | Requesting snapcraft pack lifecycle support for core20 was closed without implementation. No fix, merge, or rejection was recorded, indicating the enhancement was deferred or abandoned pending future development. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. The enhancement to make snapcraft pack run the lifecycle for core20 was triaged and synced to Jira but never resolved or merged. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/snapcraft#5616
(confidence 100%)
Merged PR implementing the requested core20 pack behavior; commit b511004af is present in repository history.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5426 `snapcraft pack` should run the lifecycle for core18|20 in Snapcraft 7 | snapcraft | closed | Closed as won't-fix-for-Snapcraft-7 by maintainer mr-cal: legacy core18|20 `snapcraft pack` now runs the lifecycle via merged PR #5616 (b511004af), shipped in Snapcraft 8.11, tracking #5425. | |
| #5616 feat(snapcraft_legacy): pack command runs the lifecycle | snapcraft | merged | Merged PR #5616 (commit b511004af) made legacy core20 `snapcraft pack` run the lifecycle like newer bases, fixing issue #5425. | |
| #5003 Building snap with `core20` failed with non-informative error message | snapcraft | open | The misleading core20 snapcraft-pack error was fixed by merged PR #5616 (commit b511004af), which ran the lifecycle for legacy core20 snaps. | |
| #3981 commands, lifecycle: provide snapcraft try for core22 | snapcraft | merged | Merged in snapcore/snapcraft#3981 (commit 2691262b8), adding snapcraft try for core22 by mounting the host prime directory into the build instance and priming without packing. | |
| #1939713 snapcraft init create base: core18 snap | snapcraft (launchpad) | closed | Snapcraft init was updated to scaffold core20 instead of core18 by merged canonical/snapcraft#3587 (merge commit f91632aab). |