← Back to issue list

Run `normalize()` when cutting chisel slices

View original Github issue

Metadata

Project
craft-parts
Number
#578
Type
issue
State
closed
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Fixed by merged PR #592 (commit 26d4f9ed), which normalizes unpacked Chisel slices and rewrites absolute symlinks.

Resolution: closed resolved

Reason: PR #592 was merged as commit 26d4f9ed, adding normalization for unpacked Chisel slices to fix absolute symlinks and prevent links escaping the lifecycle environment.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done After unpacking stage-packages debs, `normalize()` is called to do a lot of things like fixing symlinks. For consistency, we should also do this when cutting chisel slices. ### Why it needs to get done For consistency, and to address issues like symlinks in slices having absolute paths.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #592 (commit 26d4f9ed), which normalizes unpacked Chisel slices and rewrites absolute symlinks.
stealth/space-bunny-alpha — closed resolved Normalized chisel slices during DEB unpacking via merged PR #592 (commit 26d4f9ed), fixing absolute symlinks and keeping links inside the lifecycle environment.
qwen/qwen3.6-35b-a3b — — Closed without implementation or linked pull request. The request to invoke normalize() during chisel slice cutting to fix absolute symlink paths was abandoned.
qwen/qwen3.6-35b-a3b — — The request to run normalize() when cutting chisel slices was closed without implementation. No pull requests or fixes were submitted, indicating the enhancement was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without comments or linked PR. The task to run normalize() during chisel slice cutting for symlink consistency was abandoned or resolved externally.
qwen3.6-35b-a3b-mtp-q6 — — Closed without a linked fix or resolution. The request to run normalize() during chisel slice cutting to fix absolute symlink paths was abandoned.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: craft-parts#592 (confidence 100%)

    Merged resolving PR; its commit is 26d4f9ed.

Related issues

Issue Project State Summary Similarity
#592 fix(deb): normalize chisel slices craft-parts merged Merged PR #592 as commit 26d4f9ed, normalizing unpacked Chisel slices to rewrite absolute symlinks and prevent them escaping the lifecycle environment; fixes #578.
86%
#590 fix(deb): normalize chisel slices craft-parts closed Chisel-slice normalization was superseded by #592 and merged as commit 26d4f9ed, fixing absolute symlinks in DEB slices and resolving #578.
82%
#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.
73%