← Back to issue list

Provide a way to return all project variables

View original Github issue

Metadata

Project
craft-parts
Number
#318
Type
issue
State
open
Author
merlijn-sebrechts
Labels
Created
Updated
Closed

Current evaluation

Feature request for a craftctl command (e.g. get --all) to list all project variables for debugging. No maintainer response, only an auto-generated Jira sync comment; the feature is still unimplemented in craft_parts/ctl.py.

Suggested action: needs triage

Reason: The issue has no labels, no assignee, and the only comment is the 2024-05-17 auto-generated Jira sync bot message (CRAFT-2971) — no maintainer has ever assessed it. I verified in current code that craftctl get still requires exactly one key argument (step_handler.py _process_api_commands raises on len(cmd_args) != 1), so the request remains applicable and cannot be closed as stale or resolved.

Impact: 25 Quick Win: 13.75 Staleness: 80 Complexity: 45 Confidence: 75 Support Request: 10

Issue body

Right now, it's difficult to figure out which project variables are set and/or which are supported. I had to dive in the code of snapcraft to figure out what was supported. Something like `craftctl get --all` might be useful as a quick way to see everything that's set. Although this is something that would mainly be used during debugging, I think it might still be useful.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 25
Quick Win: 13.75
Staleness: 80
Complexity: 45
Confidence: 75
Support Request: 10
needs triage Feature request for a craftctl command (e.g. get --all) to list all project variables for debugging. No maintainer response, only an auto-generated Jira sync comment; the feature is still unimplemented in craft_parts/ctl.py.
qwen/qwen3.6-35b-a3b
Staleness: 90
Complexity: 20
Confidence: 85
Support Request: 10
needs triage Request for a craftctl get --all command to list all project variables for debugging. Unlabeled, no maintainer response, inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 10
Confidence: 90
Support Request: 15
needs triage Request to add a flag to list all project variables for debugging. Unlabelled, inactive for over a year, awaiting triage.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 20
Confidence: 80
Support Request: 10
close stale Proposes a craftctl get --all command to list all project variables for debugging. Open for over a year with an internal Jira ticket created. Currently inactive and awaiting triage or implementation.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.