← Back to issue list

Give organize access to variables set during the build step #5241

View original Github issue

Metadata

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

Current evaluation

Enhancement to let organize reference variables populated during the build step, enabling paths known only at build time; triaged and still open with no implementation evidence.

Suggested action: keep open

Reason: The issue is explicitly marked Status: Triaged and Type: Enhancement, with a concrete use case: some filepaths are known only at build time. The current handler passes self._part.spec.organize_files directly to organize_files during the build step, and no resolving commit or implementation progress is identified; syntax, variable semantics, and test coverage still need investigation.

Evaluated by: mr-cal-bot

Impact: 58 Quick Win: 14 Complexity: 63 Confidence: 84 Actionability: 67

Issue body

### What needs to get done Allow the `organize` keyword to have access to the variables set during the build step. ### Why it needs to get done Some filepaths are only known at build time. For full context, see the downstream bug https://github.com/canonical/snapcraft/issues/5241.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 58
Quick Win: 14
Complexity: 63
Confidence: 84
Actionability: 67
keep open Enhancement to let organize reference variables populated during the build step, enabling paths known only at build time; triaged and still open with no implementation evidence.
stealth/space-bunny-alpha
Impact: 52
Quick Win: 18
Complexity: 48
Confidence: 82
Actionability: 68
keep open Triaged enhancement to let organize resolve variables set during the build step, so runtime-only paths can be mapped; still open with no implementation evidence.
qwen/qwen3.6-35b-a3b
Impact: 35
Quick Win: 13
Complexity: 45
Confidence: 75
Actionability: 70
keep open Enhancement to allow the organize keyword to reference variables set during the build step for dynamic file paths. Triaged, open, no implementation progress.
qwen/qwen3.8-27b
Impact: 45
Quick Win: 20
Staleness: 68
Complexity: 55
Confidence: 78
Support Request: 0
keep open Enhancement to allow the organize keyword to reference variables set during the build step, enabling dynamic file paths. Triaged by a maintainer 497 days ago with no further activity or implementation progress.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 50
Confidence: 75
Support Request: 10
keep open Enhancement to allow the organize keyword to access build-time variables. Triaged and opened by a maintainer, but has seen no discussion or progress in over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 92
Complexity: 45
Confidence: 85
Support Request: 10
close stale Enhancement to allow the organize keyword to access build-time variables. Triaged but inactive for over a year with no assignee, milestone, or maintainer progress.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#5241 (confidence 100%)

    The issue body explicitly links snapcraft#5241 as the downstream build-time filepath case.

Related issues

Issue Project State Summary Similarity
#5241 Give `organize` access to variables set during the build step snapcraft open Enhancement: let `organize` expand variables defined in build-environment or computed during the build step. Triaged as valid; maintainer mr-cal filed upstream craft-parts#1076 (open), so it awaits work in craft-parts.
78%