Support `--shell` and `--shell-after` for `snapcraft pack`
Metadata
Current evaluation
Added --shell and --shell-after flags to snapcraft pack for debugging. The request was closed after being fixed via upstream craft-application pull request 436.
Suggested action: —
No scores available.
Issue body
### What needs to get done
Integrate upstream changes from https://github.com/canonical/craft-application/issues/419
### Why it needs to get done
To allow developers to debug packing a snap
Source: https://matrix.to/#/!GGqzbFAUQprdPgYYCM:ubuntu.com/$L1ToU_46v6mqcYs08S8GUWJF7UV7zuOlhry59A2DgU0?via=ubuntu.com&via=matrix.org&via=kde.org
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Added --shell and --shell-after flags to snapcraft pack for debugging. The request was closed after being fixed via upstream craft-application pull request 436. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed via craft-application PR 436, integrating upstream changes to add --shell and --shell-after flags to snapcraft pack for debugging. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed by merging craft-application PR 436, integrating upstream changes to add --shell and --shell-after debugging flags to snapcraft pack. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Fixed by merging craft-application#436, which integrated upstream changes to add --shell and --shell-after flags to snapcraft pack. This enables developers to debug the snap packing process. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Implemented --shell and --shell-after flags for snapcraft pack debugging. Fixed by merging upstream changes from craft-application#436. Closed as resolved. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #419 Support `--shell` and `--shell-after` for the `pack` command | craft-application | closed | Added support for --shell and --shell-after to the pack command. Fixed via pull request #436 and marked as a duplicate of issue #430. | |
| #430 Properly support `--shell`, `--shell-after` and `--debug` on `pack` | craft-application | closed | Closed without a GitHub resolution. Synced to internal Jira ticket CRAFT-3288. No pull requests were merged, indicating the request was abandoned or handled via internal tracking. | |
| #495 pack: add support for --debug, --shell, and --shell-after (CRAFT-408) | charmcraft | merged | Added --debug, --shell, and --shell-after flags to the pack command for debugging charm builds. Merged after approval by three reviewers and passing CI checks, modifying five files. | |
| #436 feat: support shell/shell-after and debug in 'pack' | craft-application | merged | Merged following two approvals and passing CI. Introduces --shell and --shell-after flags to the pack command for build environment inspection, and improves --debug to activate on packing failures. Resolves #430. |