← 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' subcommand (3 files, +114/-2). External contributor PR from ~2 years ago: no CI checks, no reviewers, only comment 'this looks very useful'; same feature re-proposed in craft-parts#1350.

Suggested action: close superseded

Reason: A newer PR, canonical/craft-parts#1350 "feature(pro_sources): craftctl chroot cmd", implements the same craftctl chroot command and is the version that has an approval and active review; this PR has had no activity for 660 days, zero reviewers, and zero CI checks. The codebase also moved on: craft_parts/ctl.py at HEAD still only handles 'default'/'get'/'set', and overlay chroot support landed via a different route (step_handler bash-function injection plus 'feat(overlay): plugins can define overlay commands' #1567), so this diff no longer matches the current design.

Evaluated by: mr-cal-bot

Impact: 25 Quick Win: 2 Complexity: 40 Confidence: 72 Actionability: 12

Issue body

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

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 25
Quick Win: 2
Complexity: 40
Confidence: 72
Actionability: 12
close superseded Adds a 'craftctl chroot' subcommand (3 files, +114/-2). External contributor PR from ~2 years ago: no CI checks, no reviewers, only comment 'this looks very useful'; same feature re-proposed in craft-parts#1350.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 1
Complexity: 25
Confidence: 85
Actionability: 5
close stale Adds a 'craftctl chroot' command to craft-parts. PR is 657 days old with no CI, no reviewers, and no activity for 649 days.
qwen/qwen3.8-27b
Impact: 45
Quick Win: 25
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.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/craft-parts#1350 (confidence 75%)

    Later open PR with the same 'craftctl chroot' feature, approved by a reviewer and further along in review.

  • Related To: canonical/craft-parts#1567 (confidence 55%)

    Commit 73d6a988 'feat(overlay): plugins can define overlay commands' implemented overlay-in-chroot craftctl handling via a different mechanism now present in step_handler.py.

Related issues

Issue Project State Summary Similarity
#1350 feature(pro_sources): craftctl chroot cmd craft-parts open Adds a `craftctl chroot` subcommand letting overlay-script modify the overlay from inside the chroot (Rockcraft pro_sources). Approved by 1 reviewer, but 4 unresolved review comments and test-common CI jobs failing; no activity for ~359 days.
77%
#1221 feat: merge feature/pro-sources into main craft-parts closed Closed unmerged; the author requested splitting it into separate PRs for chroot mounting and the craftctl chroot CLI.
73%