parts: update craft-parts and enable craftctl
Metadata
Current evaluation
Merged update to craft-parts 1.4.0, enabling craftctl support. Users can now invoke craftctl default in part scriptlets to execute overridden step handlers. Approved and passed CI checks.
Suggested action: —
No scores available.
Issue body
Use craft-parts 1.4.0 with support to craftctl. Users can now invoke
`craftctl default` from part scriptlets to run the overriden step's
built-in handler.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
---
CRAFT-944
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged update to craft-parts 1.4.0, enabling craftctl support. Users can now invoke craftctl default in part scriptlets to execute overridden step handlers. Approved and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged update to craft-parts 1.4.0 enabling craftctl support. Users can now invoke craftctl default within part scriptlets to execute overridden step handlers. Resolves CRAFT-944. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged update to craft-parts 1.4.0 enabling craftctl support. Users can now invoke craftctl default from part scriptlets to execute overridden step built-in handlers, resolving CRAFT-944. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #19 parts: add craftctl support | rockcraft | merged | Merged after reviewer approval. Updated craft-parts to 1.4.1 and enabled craftctl support in step overrides across 16 files. Changes totaled +145/-66 lines. All CI checks passed with no unresolved comments. | |
| #3677 parts: add craftctl support | snapcraft | merged | Merged following approval and passing CI. Implements a craftctl wrapper for craft-parts, defines project variables, and adds adopt-info to project configuration. Diff coverage is 84%. | |
| #4083 requirements: update craft-parts to 1.19.0 | snapcraft | merged | Merged update to craft-parts 1.19.0, enabling optional overlay steps, feature selection, and improved dirty checking. Approved by reviewer, passed CI, and merged into main. | |
| #75 ctl: add ctl protocol client (CRAFT-35) | craft-parts | merged | Merged the ctl protocol client, adding the craft_parts.ctl module and partsctl CLI. Approved by two reviewers and passing CI, the change modifies 8 files (+513/-15) to enable scriptlets to run step handlers and set custom variables. | |
| #592 requirements: update craft-parts to 1.0.4 | charmcraft | merged | Approved and merged after updating the craft-parts dependency to version 1.0.4. The change modified two files with minimal adjustments to align with the new version. | |
| #3825 requirements: update craft-parts to 1.8.1 | snapcraft | merged | Merged update to craft-parts 1.8.1, resolving the empty scriptlet execution bug (LP #1978966). Approved by reviewers, passed CI, and maintained code coverage. | |
| #538 requirements: update craft-parts to 1.0.1 (CRAFT-430, CRAFT-520) | charmcraft | merged | Merged update to craft-parts 1.0.1 that removes stage package refreshing. The change halves regression test execution time, resolves issue #526, and passed all CI checks. | |
| #579 requirements: update craft-parts to 1.0.3 (CRAFT-577) | charmcraft | merged | Merged an approved update to the craft-parts dependency, upgrading it to version 1.0.3. The change modified two files, passed CI checks, and was signed off by the maintainer. | |
| #5480 docs: migrate 'using craftctl' | snapcraft | merged | Merged documentation migration for 'using craftctl' and updated Craft Parts dependency to align with upstream docs. Approved by three reviewers and passed all CI checks across multiple platforms. | |
| #4334 requirements: update craft-parts to 1.24.1 | snapcraft | merged | Merged update to craft-parts 1.24.1 to address a craft-cli spinner deadlock. Approved by two reviewers, passed CI, and merged into main without coverage impact. |