← Back to issue list

Add shell API

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1782775
Type
issue
State
closed
Author
~sergiusens
Labels
18.10-build-vm
Created
Updated
Closed

Current evaluation

Implemented by snapcore/snapcraft PR #2249, merged as commit 9f5640b17, adding shell support for the base build environment.

Resolution: closed resolved

Reason: The maintainer linked PR #2249 as the resolution, and repository history records it as merged in commit 9f5640b17 with build-provider shell support.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The base build environment needs API to shell into an environment.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Implemented by snapcore/snapcraft PR #2249, merged as commit 9f5640b17, adding shell support for the base build environment.
stealth/space-bunny-alpha — closed resolved Shell access for build providers was added by merged PR canonical/snapcraft#2249 in commit 9f5640b17, resolving LP #1782775.
stealth/space-bunny-alpha — closed stale Closed with no documented fix or linked resolution; the request to add a shell API for build environments has been inactive for 2,894 days.
qwen/qwen3.6-35b-a3b — — Closed without implementation or discussion. The requested shell API for the build environment was abandoned or superseded by subsequent infrastructure changes.
qwen/qwen3.6-35b-a3b — — A shell API request for the base build environment was closed without implementation, indicating it was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The shell API request for the base build environment was abandoned after years of inactivity, with no discussion or resolution provided.
qwen3.6-35b-a3b-mtp-q6 — — Feature request for a shell API was closed without discussion or implementation. Zero comments and no linked pull request indicate it was abandoned or superseded.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#2249 (confidence 100%)

    The linked pull request implements shell access in build providers and is recorded in commit 9f5640b17.

Related issues

Issue Project State Summary Similarity
#1782768 Add --shell for lifecycle steps snapcraft (launchpad) closed 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.
75%
#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.
75%
#727 Add a new build plugin 'shell' that runs arbitrary shell commands snapcraft closed Closed unmerged as superseded by Snapcraft's native prepare, build, and install part keywords, which covered most of the proposed shell-plugin functionality.
75%
#1649684 Support `build` for parts snapcraft (launchpad) closed Implemented part-level build scriptlet support, allowing a custom script to replace the plugin build step; merged in snapcore/snapcraft#988 via commit cc123cad9.
72%
#1819290 Support for "base: core" snapcraft (launchpad) closed Implemented by merged snapcore/snapcraft#2499 (commit e1cc2b91c), adding 'base: core' support in snapcraft.yaml and stripping it from generated snap.yaml; Launchpad base config updated by cjwatson.
71%
#453 Add in bash completion snapcraft merged Merged PR #453 via commit 6ea95fd50, adding a simple Bash completion script for Snapcraft commands.
70%