← Back to issue list

feat: add "craftctl chroot" command

View original Github issue

Metadata

Project
craft-parts
Number
#920
Type
pull request
State
open
Author
linostar
Labels
Created
Updated
Closed

Current evaluation

Adds a craftctl chroot command to run commands inside the part's chroot. Small diff (+114/-2, 3 files). Pending review with 0 reviewers; a maintainer called it useful, but no activity for ~20 months and the overlay chroot code has since been reworked.

Suggested action: needs review

Reason: The sole comment is sergiusens' 'this looks very useful' (2024-12-11) with 0 reviewers, no CI, and last activity 628 days ago. The chroot command still does not exist in craft_parts/ctl.py (only default/set/get are handled), so the PR is not obsolete, but the overlay chroot execution was reworked since (e.g. #1567, #1672), so a maintainer review is needed to decide whether the author will update it.

Impact: 45 Quick Win: 24.75 Staleness: 80 Complexity: 45 Confidence: 72

Issue body

- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 45
Quick Win: 24.75
Staleness: 80
Complexity: 45
Confidence: 72
needs review Adds a craftctl chroot command to run commands inside the part's chroot. Small diff (+114/-2, 3 files). Pending review with 0 reviewers; a maintainer called it useful, but no activity for ~20 months and the overlay chroot code has since been reworked.
qwen/qwen3.6-35b-a3b
Staleness: 92
Complexity: 38
Confidence: 88
needs review Introduces a craftctl chroot command for managing chroot environments. Currently awaiting maintainer review with no CI checks or reviewer engagement after over a year of inactivity.
qwen3.6-35b-a3b-mtp-q6
Staleness: 92
Complexity: 45
Confidence: 88
close stale Introduces a craftctl chroot command to simplify containerized builds. The PR has been inactive for over 1.5 years, lacks CLA confirmation, and shows no progress toward merging.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 25
Confidence: 85
needs review Adds a craftctl chroot command for environment management. Submitted by an external contributor, it received positive maintainer feedback but remains inactive for over a year. Currently awaiting triage, review, or assignment to proceed.

Update history

No update history recorded yet.

Related work

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

    Reworked overlay chroot command execution (plugins can define overlay commands); this PR's step-handler changes would need to be reconciled with that infrastructure.

Related issues

Issue Project State Summary Similarity
#1350 feature(pro_sources): craftctl chroot cmd craft-parts open Adds a craftctl chroot subcommand to modify overlays during overlay-script for Rockcraft's pro_sources feature. Approved by 1 reviewer but has 4 unresolved comments, failing CI, and ~9.5 months of inactivity.
78%