executor: create environment for step execution
Metadata
Current evaluation
Merged. Adds environment generation for step execution using built-in, plugin, and user-defined variables. Logic ported from snapcraft. Approved by two reviewers, passed CI, and added 585 lines across six files.
Suggested action: —
No scores available.
Issue body
Generate a list of environment variables to be set at step execution,
using built-in, plugin, and user-defined variables from the part
specification.
Environment generation logic ported from snapcraft.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Adds environment generation for step execution using built-in, plugin, and user-defined variables. Logic ported from snapcraft. Approved by two reviewers, passed CI, and added 585 lines across six files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. The change generates step execution environment variables from built-in, plugin, and user-defined sources, porting logic from snapcraft. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #82 executor: set step environment variables (CRAFT-272) | craft-parts | merged | Merged after two approvals and passing CI. Adds project and part environment variables to step execution. Implementation validates names and supports custom prefixes instead of automatic transformation. | |
| #303 executor: separate environment setup from build script | craft-parts | merged | Merged to separate environment setup from the build script in the executor module. Approved by one reviewer, the change modified four files (+68/-15) and refactored code to support downstream dependencies in CRAFT-1411. | |
| #220 executor: enable application-defined environment variables | craft-parts | merged | Merged. Enables application-defined environment variables during step scriptlet execution via pre-step and prologue callbacks. Code refactored to separate global and step variables. Documentation deferred until API stability. |