← Back to issue list

packages: drop release from chisel command line

View original Github issue

Metadata

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

Current evaluation

Merged #312 as f0a54d7d, removing the hardcoded Ubuntu release from Chisel commands so Chisel detects the environment and reports unsupported versions itself.

Resolution: closed resolved

Reason: PR #312 was merged as commit f0a54d7d and dropped the release argument from Chisel invocations. This fixed canonical/rockcraft#97, which was closed as fixed upstream.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Chisel only works in some Ubuntu versions (currently 22.04 and 22.10), and instead of trying to block invalid calls let's just let the tool's error propagate up the call stack. This way we can be a bit 'future proof' for when new Ubuntu versions are supported. (CRAFT-1407)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #312 as f0a54d7d, removing the hardcoded Ubuntu release from Chisel commands so Chisel detects the environment and reports unsupported versions itself.
stealth/space-bunny-alpha — closed resolved Merged PR #312 removed the release argument from Chisel's command line, letting Chisel determine the environment release and propagate unsupported-version errors.
qwen/qwen3.6-35b-a3b — — Merged. Dropped the release argument from the chisel command line to enable native error propagation and future-proof Ubuntu version support. Approved, passed CI, and verified to correctly invoke chisel during Rockcraft builds.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Removed the release argument from the chisel command line to delegate Ubuntu version compatibility to chisel, improving future-proofing. Verified to correctly invoke chisel during Rockcraft builds with slice-based stage-packages.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/rockcraft#97 (confidence 100%)

    The downstream hardcoded-release issue was closed as fixed by merged craft-parts PR #312.

Related issues

Issue Project State Summary Similarity
#97 chisel is hardcoded to ubuntu-22.04 release rockcraft closed Closed as fixed upstream: craft-parts PR #312 (merged) dropped the hardcoded --release ubuntu-22.04 from Chisel's command line in craft_parts/packages/chisel.py, letting Chisel sniff the environment release.
74%
#1368 feat(chisel): ignore unmaintained/unstable releases craft-parts merged Merged #1368 (commit 1a91e7b1), configuring Chisel to ignore unmaintained and unstable releases; shipped in craft-parts 2.26.0 with Chisel 1.3.0+.
72%
#542 test(chisel): update supported platforms craft-parts merged Merged PR #542 as commit ce60aba9, updating Chisel tests to recognize Ubuntu 20.04 as a supported platform.
70%
#625 ci: update chisel (#622) craft-parts merged Merged PR #625 as 472c0d14, cherry-picking #622 (b063ca96) to update CI Chisel to v0.8.1 and restore compatibility with newer chisel-releases changes.
70%