← Back to issue list

spec: add "stage-slices" for chisel slices

View original Github issue

Metadata

Project
craft-parts
Number
#279
Type
pull request
State
merged
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #279, adding stage-slices so Chisel slices are declared separately from stage-packages; support is documented in Craft Parts 2.36.0.

Resolution: closed resolved

Reason: PR #279 was approved and merged, introducing the stage-slices specification to represent Chisel slices without conflating them with Debian package names.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The slices are defined in the regular "stage-packages" by virtue of the fact that .deb package names *cannot* have underscores while chisel slices *must always* have an underscore to distinguish between package name and the specific slice. - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- (CRAFT-1329)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #279, adding stage-slices so Chisel slices are declared separately from stage-packages; support is documented in Craft Parts 2.36.0.
stealth/space-bunny-alpha — closed resolved Merged canonical/craft-parts#279, adding the stage-slices specification so Chisel slices can be represented separately from regular stage-packages entries.
qwen/qwen3.6-35b-a3b — — 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.
qwen3.6-35b-a3b-mtp-q6 — — Merged the addition of a stage-slices specification to handle chisel slice naming conventions, resolving CRAFT-1329. The change defines slices within stage-packages to accommodate mandatory underscores in chisel slice identifiers.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1669 feat: add stage-slices key craft-parts merged Merged PR #1669 (commit 429067e6) adds a `stage-slices` part key per ST179, plus validation that it is mutually exclusive with `stage-packages`; shipped in craft-parts 2.36.0.
79%
#904 feat: add chisel as a build snap when stage-packages contain slices craft-parts merged Merged #904 via commit 941164e1, adding chisel@latest/stable only when stage-packages contain slices and no part already declares chisel.
79%
#649 Install chisel if parts use slices craft-parts closed Implemented as requested: PR #904 (commit 941164e1) makes craft-parts append chisel@latest/stable to extra build snaps when any part has stage-packages/build-packages slices. Later #914 added part_has_chisel_as_build_snap detection.
77%
#1737 fix: install chisel for build-slices craft-parts closed Merged #1737 as commit 46fb937b: Chisel is now installed automatically when any part declares build-slices. The fix is recorded in craft-parts 2.37.1.
77%
#84 Add chisel to rockcraft rockcraft merged Merged PR #84 as commit ddf018ce, adding Chisel to Rockcraft’s snap and enabling Chisel slices in stage-packages.
72%
#1715 refactor: put chisel call in its own module craft-parts merged Merged PR #1715 in commit 0d154d79, extracting Chisel slice-cutting logic into its own module to separate cutting from Repository path normalization before build-slices support.
71%
#1326 Investigate support for fetching chisel slices craft-parts open Feature request to support fetching Chisel slices as packages. Slices are now cut at unpack-time via a separate stage-slices key, so the original fetch-time TODO appears superseded; lengau noted upstream Chisel would need to split download/unpack.
70%