providers: set environment according to directory inside instances
Metadata
Current evaluation
Merged in snapcore/snapcraft#3951 (be2b80f85), setting per-directory environment variables inside provider instances so parts can be built manually while debugging.
Resolution: closed resolved
Reason: PR #3951 was merged into main as commit be2b80f85, implementing CRAFT-1412 by setting environment variables according to the directory inside provider instances.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [X] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [X] Have you successfully run `make lint`?
- [X] Have you successfully run `pytest tests/unit`?
-----
When in a part's build directory inside an instance, the environment variables are set. This allows a user to manually build a part when debugging.
Builds on https://github.com/canonical/craft-parts/pull/303
~TODO - add unit tests~
(CRAFT-1412)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in snapcore/snapcraft#3951 (be2b80f85), setting per-directory environment variables inside provider instances so parts can be built manually while debugging. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in snapcore/snapcraft#3951 (be2b80f85), setting per-directory environment variables inside provider instances so parts can be built manually while debugging. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval and passing CI. Sets environment variables based on the directory inside instances to enable manual part building during debugging. Increased overall coverage by 0.01%. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into main. Configures environment variables based on the directory inside instances, enabling manual part building for debugging. Builds on craft-parts PR #303. Passed lint, tests, and maintainer approval before integration. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/craft-parts#303
(confidence 99%)
Upstream craft-parts change that this Snapcraft implementation builds upon.
Related issues
No related issues found above the similarity threshold.