← Back to issue list

Add CLI option to select the target architecture

View original Github issue

Metadata

Project
craft-parts
Number
#975
Type
issue
State
open
Author
lengau
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed
—

Current evaluation

Add a target-architecture option to the python -m craft_parts CLI. The enhancement is triaged and remains open; LifecycleManager already accepts arch, but the CLI parser exposes no target-architecture argument.

Suggested action: keep open

Reason: The request is explicit, marked Triaged and Type: Enhancement, and remains an open valid enhancement. In craft_parts/main.py, the argparse parser has no target-architecture option even though LifecycleManager accepts an arch parameter, so implementation can pass a new CLI value into the existing API and add focused tests; no resolving change was identified.

Evaluated by: mr-cal-bot

Impact: 45 Quick Win: 25 Complexity: 28 Confidence: 92 Actionability: 78

Issue body

### What needs to get done The CLI you get when running `python -m craft_parts` from the CLI should allow selecting a target architecture. ### Why it needs to get done This is useful when demonstrating minimal versions of cross-compiling bugs such as https://github.com/canonical/craft-parts/issues/974

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 45
Quick Win: 25
Complexity: 28
Confidence: 92
Actionability: 78
keep open Add a target-architecture option to the python -m craft_parts CLI. The enhancement is triaged and remains open; LifecycleManager already accepts arch, but the CLI parser exposes no target-architecture argument.
qwen/qwen3.6-35b-a3b
Impact: 35
Quick Win: 20
Complexity: 25
Confidence: 75
Actionability: 75
keep open Enhancement request to add a CLI option for selecting target architecture in python -m craft_parts. Currently unimplemented; CLI lacks --arch or --target-arch argument despite LifecycleManager accepting an arch parameter.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 22
Staleness: 55
Complexity: 45
Confidence: 80
Support Request: 0
keep open Feature request to add a CLI option (e.g. --target-arch) to python -m craft_parts for selecting the target architecture, useful for demonstrating cross-compilation bugs like #974. Triaged by a maintainer, synced to Jira (CRAFT-4734), not yet implemented.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 25
Confidence: 80
Support Request: 5
keep open Enhancement to add a CLI option for selecting target architecture in craft_parts. Triaged by a maintainer but inactive for over 300 days with no implementation progress or discussion.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 30
Confidence: 75
Support Request: 10
keep open Enhancement to add a CLI option for selecting target architecture. Triaged and labeled, but inactive for over 10 months with no implementation progress.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-parts#974 (confidence 98%)

    The issue body explicitly identifies #974 as a cross-compilation bug for which this CLI capability would be useful to demonstrate.

Related issues

No related issues found above the similarity threshold.