Add --shell for lifecycle steps
Metadata
Current evaluation
Feature request closed by the author's own pointer to snapcraft PR #2254, which added --shell support to build providers (commit a24d398e4); companion --shell-after landed in PR #2253.
Resolution: closed resolved
Reason: The single comment on the issue (2018-09-08, ~sergiusens) links to GitHub PR #2254 "build providers: add support for --shell", which merged as commit a24d398e4; the related --shell-after option was added in PR #2253 (commit 21cfd4750), and both flags are still present in snapcraft's lifecycle commands and docs.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Feature request closed by the author's own pointer to snapcraft PR #2254, which added --shell support to build providers (commit a24d398e4); companion --shell-after landed in PR #2253. | |
| stealth/space-bunny-alpha | — | closed resolved | Lifecycle-step shell access was implemented by merged PR snapcraft#2254 in commit a24d398e4, opening a shell in place of the selected step. | |
| stealth/space-bunny-alpha | — | closed resolved | Lifecycle-step shell access was implemented in snapcraft#2254 (a24d398e4), with complementary --shell-after support merged in #2253. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation, likely abandoned or superseded. No resolution or merge details provided. | |
| qwen/qwen3.6-35b-a3b | — | — | Feature request to add a --shell flag for lifecycle steps was abandoned and closed without implementation. The proposed functionality would allow shelling into the build environment at a specific step's working directory. | |
| qwen/qwen3.6-35b-a3b | — | — | The feature request for a --shell flag in lifecycle steps was closed without implementation or discussion. Zero comments and over eight years of inactivity indicate it was abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. The --shell flag for lifecycle steps was abandoned due to inactivity. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#2254
(confidence 90%)
Merged PR explicitly linked by the maintainer in the closing comment; adds --shell to build providers, commit a24d398e4.
-
Related To:
canonical/snapcraft#2253
(confidence 80%)
Companion merged PR adding --shell-after (commit 21cfd4750) for opening a shell after the step runs.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1782767 Add --shell-after for lifecycle steps | snapcraft (launchpad) | closed | Implemented --shell-after via merged snapcore/snapcraft PR #2253 (commit 21cfd4750), opening a shell after the selected lifecycle step. | |
| #1782769 Add --debug for lifecycle steps | snapcraft (launchpad) | closed | Implemented provider debug-shell support in canonical/snapcraft#2252 (commit 3410ec32d), linked by the maintainer as the resolution for lifecycle-step debugging. | |
| #2253 build-providers: add support for --shell-after | snapcraft | merged | Merged as 21cfd4750, adding build-provider support for --shell-after so a shell can open after the requested lifecycle step. | |
| #2254 build providers: add support for --shell | snapcraft | merged | Merged PR #2254 added --shell support for build providers in commit a24d398e4; companion --shell-after support landed in #2253. | |
| #1782775 Add shell API | snapcraft (launchpad) | closed | Implemented by snapcore/snapcraft PR #2249, merged as commit 9f5640b17, adding shell support for the base build environment. | |
| #1782770 Add --debug for lifecycle steps | snapcraft (launchpad) | closed | Closed as stale after no activity. Debug-shell support was later implemented in canonical/snapcraft#2252 (commit 3410ec32d). | |
| #1782773 Add --debug for lifecycle steps | snapcraft (launchpad) | closed | Merged snapcraft#3718 (e2ff471b9) added --debug to open a shell in the part build environment after lifecycle errors. | |
| #4963 Support `--shell` and `--shell-after` for `snapcraft pack` | snapcraft | closed | Restored --shell and --shell-after for snapcraft pack via merged craft-application#436 (ab55ec81); the fix shipped in Snapcraft 8.4.1. | |
| #2249 build providers: provide support to shell in | snapcraft | merged | Merged PR #2249 (commit 9f5640b17) adding a shell() method to snapcraft build providers, enabling interactive 'shell into' the Multipass/LXD build instance. | |
| #1823512 `snapcraft --shell` shouldn't run the lifecycle steps | snapcraft (launchpad) | open | Bare snapcraft --shell runs lifecycle actions before opening the shell. The one-line reproducer is confirmed, but the default snap command semantics and a definitive resolution are not documented. |