← Back to issue list

Rename overlay+partition specific env vars

View original Github issue

Metadata

Project
craft-parts
Number
#1051
Type
issue
State
open
Author
upils
Labels
—
Created
Updated
Closed
—

Current evaluation

Partition overlay variables still use CRAFT_[namespace_]partition_OVERLAY; the requested consistent CRAFT_[namespace_]partition_PART_OVERLAY rename remains unimplemented and needs triage.

Suggested action: needs triage

Reason: The current environment code still emits CRAFT_<partition>_OVERLAY and no _PART_OVERLAY variant exists, while the issue precisely specifies the desired naming format. It has no labels, comments, or maintainer response, and the compatibility or deprecation strategy for existing variables remains unspecified.

Evaluated by: mr-cal-bot

Impact: 42 Quick Win: 22 Complexity: 38 Confidence: 93 Actionability: 84

Issue body

### What needs to get done Change the format to `$CRAFT_[<namespace>_]<partition>_PART_OVERLAY` to make it obvious these are part-specific env vars. ### Why it needs to get done Environment variables for partitions are available to overlay scripts, formatted as `$CRAFT_[<namespace>_]<partition>_OVERLAY`. However these variables points to a part-specific directory so their name is inconsistent with other part-specific env variables (ex. `$CRAFT_PART_INSTALL`, `$CRAFT_PART_SRC`), which may be misleading to users using these variables in different parts.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 42
Quick Win: 22
Complexity: 38
Confidence: 93
Actionability: 84
needs triage Partition overlay variables still use CRAFT_[namespace_]partition_OVERLAY; the requested consistent CRAFT_[namespace_]partition_PART_OVERLAY rename remains unimplemented and needs triage.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 17
Complexity: 30
Confidence: 75
Actionability: 80
needs triage Rename partition overlay env vars from CRAFT_{partition}_OVERLAY to CRAFT_{partition}_PART_OVERLAY for naming consistency with other part-specific vars.
qwen/qwen3.8-27b
Impact: 35
Quick Win: 19
Staleness: 10
Complexity: 45
Confidence: 75
Support Request: 5
needs triage Task to rename partition overlay env vars from $CRAFT_[<namespace>_]<partition>_OVERLAY to $CRAFT_[<namespace>_]<partition>_PART_OVERLAY for consistency with other part-specific vars. Unlabeled, no comments; code still uses the old format.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 90
Support Request: 5
close stale Proposes renaming partition-specific overlay environment variables to align naming conventions with other part-specific variables. Currently unlabelled and inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 20
Confidence: 75
Support Request: 0
needs triage Rename partition-specific overlay environment variables for naming consistency. Currently untriaged and inactive for over a year.

Update history

Date Change
updated

Related work

  • Related To: craft-parts#1035 (confidence 88%)

    Commit b575539e touched environment.py while reconciling overlay and partition features, locating the current behavior.

Related issues

No related issues found above the similarity threshold.