Support `build` for parts
Metadata
Current evaluation
Implemented part-level build scriptlet support, allowing a custom script to replace the plugin build step; merged in snapcore/snapcraft#988 via commit cc123cad9.
Resolution: closed resolved
Reason: The linked PR was merged and added pluginhandler build-scriptlet support, directly implementing the requested behavior.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Script to run that replaces the build step of a plugin
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Implemented part-level build scriptlet support, allowing a custom script to replace the plugin build step; merged in snapcore/snapcraft#988 via commit cc123cad9. | |
| stealth/space-bunny-alpha | — | closed resolved | Implemented via merged snapcore/snapcraft PR #988 (commit cc123cad9), adding pluginhandler support for a part-level `build` scriptlet that replaces a plugin's build step; noted in the 2.24 changelog (#1003). | |
| stealth/space-bunny-alpha | — | closed resolved | Closed by merged PR #988 (commit cc123cad9), which added pluginhandler build scriptlet support so parts can run a custom script replacing a plugin's build step. | |
| stealth/space-bunny-alpha | — | closed stale | Request to support a custom build script for parts was closed without a documented implementation or explanation. | |
| qwen/qwen3.6-35b-a3b | — | — | Request to support a custom build script for parts was closed without implementation or discussion. No resolution or merge details were provided, indicating the feature was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Zero comments and no linked pull requests indicate the feature request was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without comments or implementation, likely abandoned. The feature request for a customizable plugin build step script was not addressed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without discussion or implementation. The proposal to replace a plugin's build step with a custom script was abandoned and likely superseded by subsequent architecture updates. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcore/snapcraft#988
(confidence 100%)
Merged as commit cc123cad9 with build scriptlet support for parts.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1642371 Support `prepare` for parts | snapcraft (launchpad) | closed | Part-level prepare support was merged in canonical/snapcraft#987 (5671b910b); follow-up #988 added build scriptlet handling. | |
| #1649683 Support `install` for parts | snapcraft (launchpad) | closed | Feature request for an `install` scriptlet in parts was implemented by snapcraft PR #960 (commit eb9f74b4a, pluginhandler: install scriptlet support), merged Dec 2016; maintainer closed the LP bug with a link to that PR. | |
| #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. | |
| #398 Support cleaning build step. | snapcraft | merged | Merged via snapcraft#401 as commit 5904250f8, adding clean_build() to the plugin API and Go plugin so only a part's built files are cleaned. | |
| #1257 core: support running from other operating systems. | snapcraft | merged | Merged in canonical/snapcraft#1257 (commit 066786827), allowing cleanbuilds on other operating systems when the required toolset is available. | |
| #1805219 Support for looking in build-aux/snap | snapcraft (launchpad) | closed | Implemented and shipped: snapcore/snapcraft#2496 (commit 4c92c1b89) added build-aux/snap as an alternative location for snapcraft.yaml and assets; LP bug auto-closed by lpqabot after stable revision r18938. | |
| #1779137 build provider support to inject snaps on the host | snapcraft (launchpad) | closed | Build providers gained host-snap injection when Snapcraft runs from a snap; fixed by merged snapcore/snapcraft#2174 (commit 283ab0bb8). | |
| #1819196 support for build-base | snapcraft (launchpad) | closed | Build-base support was implemented in Snapcraft commit 5dea8acba; Launchpad stable revision r19009 added remote support, and eligible snap types were confirmed working. |