feat(packages/deb): parse chisel manifests
Metadata
Current evaluation
Squash-merged feature adding Chisel manifest parsing to the deb package handler. Filters stage-packages for Core26 by reading manifest files. Approved by two reviewers, passed CI checks, and unblocks downstream snapcraft issues.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
Core26 is chiseled, so craft-parts now parses a [Chisel manifest](https://documentation.ubuntu.com/chisel/latest/reference/manifest/) file to determine which stage-packages to filter.
I did some refactoring so I'd review per-commit.
Tested downstream in https://github.com/canonical/snapcraft/pull/6164
Unblocks https://github.com/canonical/snapcraft/issues/6146
Unblocks https://github.com/canonical/snapcraft/issues/6148
(SNAPCRAFT-1327)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Squash-merged feature adding Chisel manifest parsing to the deb package handler. Filters stage-packages for Core26 by reading manifest files. Approved by two reviewers, passed CI checks, and unblocks downstream snapcraft issues. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged as a squashed commit. Implements Chisel manifest parsing in craft-parts to filter stage-packages for Core26, unblocking related snapcraft issues. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #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. | |
| #590 fix(deb): normalize chisel slices | craft-parts | closed | Merged fix normalizing chisel slices during deb unpacking to correct absolute symlinks, resolving issue #578. Approved by two reviewers with passing CI checks. |