Install chisel if parts use slices
Metadata
Current evaluation
Automatically installs chisel when parts declare slices in stage-packages. Resolved and merged via pull request #904, centralizing the tool management within craft-parts.
Suggested action: —
No scores available.
Issue body
### What needs to get done
Following how we install build-time tools like `git`, we should install Chisel if a part has slices declared in `stage-packages`.
Note that currently there isn't a stable `chisel` snap, but one is coming (so we might want to wait for that).
### Why it needs to get done
1) For consistency with other build-time tools;
2) To have this logic be centralized in craft-parts, instead of done by [each craft application](https://github.com/canonical/rockcraft/pull/464)
3) More generally, including chisel during lifecycle-time instead of application-build-time makes it more resilient to upstream changes, as we'll always pick the latest version of stable Chisel.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Automatically installs chisel when parts declare slices in stage-packages. Resolved and merged via pull request #904, centralizing the tool management within craft-parts. | |
| qwen/qwen3.6-35b-a3b | — | — | Automatic chisel installation for parts using slices was implemented and merged in PR #904, centralizing build-time tool management within craft-parts. | |
| qwen/qwen3.6-35b-a3b | — | — | Automated chisel installation for parts using slices was implemented and merged in PR #904. This centralizes dependency management within craft-parts, ensuring consistent and resilient lifecycle-time tooling. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Automatically installing chisel when parts use slices was implemented and merged via pull request #904. This centralizes the logic in craft-parts, ensuring consistency and resilience against upstream changes. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #279 spec: add "stage-slices" for chisel slices | craft-parts | merged | Merged the addition of a stage-slices specification to handle chisel slice naming conventions, which require underscores unlike standard .deb packages. Approved by one reviewer, modified two files, and resolved CRAFT-1329. | |
| #84 Add chisel to rockcraft | rockcraft | merged | Merged after approval and passing CI. Integrated chisel into rockcraft to support chisel slices in stage-packages. Temporarily pinned craft-parts to a main branch commit pending an official release. Added a spread test for the dotnet-runtime-6.0_libs slice. | |
| #4260 Allow chiseled stage-packages | snapcraft | closed | Implemented chiseled stage-packages support in snapcraft 8, allowing chisel slices to reduce unneeded files and deduplicate packaging work. | |
| #904 feat: add chisel as a build snap when stage-packages contain slices | craft-parts | merged | Merged. Conditionally installs chisel as a build snap only when stage-packages contain slices and no part already declares it, preventing unnecessary installation in the Rockcraft snap. Approved by two reviewers and passed CI. |