← Back to issue list

Investigate support for fetching chisel slices

View original Github issue

Metadata

Project
craft-parts
Number
#1326
Type
issue
State
open
Author
bepri
Labels
—
Created
Updated
Closed
—

Current evaluation

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.

Suggested action: needs triage

Reason: The issue is explicitly an investigation task ("determine if, or how") rather than a bug, and the only maintainer comment is lengau's assessment that it "will require support in chisel for separating the download and unpack steps of the `cut` command, which I don't believe is a priority" — a deprioritization, not a resolution. Investigation has effectively been done, and the code has moved on: the `TODO: fetching of Chisel slices is not supported yet` marker at the originally cited deb.py line is gone at HEAD, where `fetch_stage_packages` simply returns the names and `_unpack_stage_slices` (via new `chisel.cut_slices`, commit 0d154d79 "refactor: put chisel call in its own module" and 2adcb0c1 "feat: cut build-slices in the prologue") performs the cut at unpack time, alongside commit 429067e6 "feat: add stage-slices key". That means the issue is a stale investigation tracking item whose premise is outdated, but it is still unlabelled with no closing decision, so a maintainer must confirm whether the fetch-time goal is intentionally dropped in favour of unpack-time cutting.

Evaluated by: mr-cal-bot

Impact: 25 Quick Win: 5 Complexity: 55 Confidence: 72 Actionability: 45

Issue body

### What needs to get done We should determine if, or how, we will support fetching Chisel slices as packages. ### Why it needs to get done This issue was spawned from https://github.com/canonical/craft-parts/blob/70fc3bac64c17457fd90817fde749cfa8057cd78/craft_parts/packages/deb.py#L613

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 25
Quick Win: 5
Complexity: 55
Confidence: 72
Actionability: 45
needs triage 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.
stealth/space-bunny-alpha
Impact: 35
Quick Win: 3
Complexity: 72
Confidence: 80
Actionability: 32
keep open Investigation task: craft-parts does not fetch Chisel slices as packages (fetch_stage_packages returns early; slices are cut at unpack time). Maintainer notes it needs upstream chisel support to split cut into download/unpack, not a priority.
qwen/qwen3.6-35b-a3b
Impact: 40
Quick Win: 7
Complexity: 70
Confidence: 75
Actionability: 60
keep open Feature request to support fetching Chisel slices as packages. Investigation complete; maintainer notes it requires upstream chisel changes that are not a priority.
qwen/qwen3.8-27b
Impact: 35
Quick Win: 12
Staleness: 60
Complexity: 65
Confidence: 78
Support Request: 10
keep open Investigation into supporting fetching Chisel slices as packages in fetch_stage_packages. Maintainer noted it requires chisel to separate download/unpack in cut command, deprioritized. Code still returns slice names without downloading them.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 35
Confidence: 80
Support Request: 5
close stale Investigates how to fetch Chisel slices as packages. Currently inactive for nearly 10 months and blocked by upstream chisel, which does not prioritize the required download/unpack separation.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 40
Confidence: 75
Support Request: 10
needs triage Investigating support for fetching Chisel slices as packages. Currently blocked by external tool requirements and inactive for 9 months. Awaiting maintainer assessment.

Update history

No update history recorded yet.

Related work

  • Blocked By: canonical/chisel (confidence 70%)

    lengau stated the work requires Chisel support to separate the download and unpack steps of `chisel cut`, which he said is not a priority upstream.

  • Related To: craft-parts#649 (confidence 65%)

    Solved by merged PR #904 (auto-add Chisel build snap when stage-packages contain slices); same feature area, closed as implemented.

  • Likely Fixed By: craft-parts#1669 (confidence 60%)

    Commit 429067e6 "feat: add stage-slices key" added a dedicated stage-slices mechanism, and _unpack_stage_slices now cuts via chisel.cut_slices, functionally delivering slice support without fetch-time downloading.

Related issues

Issue Project State Summary Similarity
#281 unpack chisel slices craft-parts merged Merged PR #281 as commit 17c119ea, adding Chisel slice unpacking by passing slices from pull to build via PullState, with CI integration coverage.
73%
#279 spec: add "stage-slices" for chisel slices craft-parts merged Merged PR #279, adding stage-slices so Chisel slices are declared separately from stage-packages; support is documented in Craft Parts 2.36.0.
70%