add: extension env-injector
Metadata
Current evaluation
Merged PR #4925 added the experimental env-injector extension in commit af8bc1229, using canonical/snappy-env to inject snap-configured environment variables through command chains.
Resolution: closed resolved
Reason: PR #4925 was merged via commit af8bc1229. The change adds the experimental env-injector extension and integrates the separate canonical/snappy-env injector with the snap command chain.
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 `tox run -m lint`?
- [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Add extension to inject environment variables into snaps by its command-chain.
This extension takes snap options and transform them into environment variables
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4925 added the experimental env-injector extension in commit af8bc1229, using canonical/snappy-env to inject snap-configured environment variables through command chains. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged to main as commit af8bc1229 ("feat: add env-injector extension (#4925)"), adding an experimental env-injector extension that injects snap-configured env vars via command-chain, backed by canonical/snappy-env. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4925 added the experimental env-injector extension (commit af8bc1229), using canonical/snappy-env to inject snap-configured environment variables through command chains. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged the experimental env-injector extension in canonical/snapcraft#4925 via commit af8bc1229, adding command-chain-based environment injection for snaps. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4925 in commit af8bc1229, adding an experimental extension that turns snap options into environment variables for the command chain. The injector implementation moved to canonical/snappy-env. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged the env-injector extension for snap environment variables. Code was moved to the canonical/snappy-env repository. Required community forum feedback and feature branch testing before merge. Approved by four reviewers. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged the env-injector extension to transform snap options into environment variables. The exporter logic was moved to a separate repository. The extension was tested on a feature branch before final integration. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3766 extensions: prepend and append functions for ENV | snapcraft | merged | ENV prepend/append helpers were merged via snapcraft#3811 at commit c314fd967, avoiding stray separators when environment variables are empty. |