tools: split local environment setup from environment-setup.sh
Metadata
Current evaluation
Merged after approval and passing CI. Splits local environment setup from environment-setup.sh. Uses script-relative paths for execution from any directory. Virtual environment path is configurable via SNAPCRAFT_VIRTUAL_ENV_DIR, defaulting to $HOME/.venv/snapcraft.
Suggested action: —
No scores available.
Issue body
Use script locations to find snapcraft directory so the script
may be run from anywhere.
Local virtual env setup is configurable using
SNAPCRAFT_VIRTUAL_ENV_DIR, but defaults to $HOME/.venv/snapcraft.
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval and passing CI. Splits local environment setup from environment-setup.sh. Uses script-relative paths for execution from any directory. Virtual environment path is configurable via SNAPCRAFT_VIRTUAL_ENV_DIR, defaulting to $HOME/.venv/snapcraft. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged refactoring of environment-setup.sh to resolve paths via script location, enabling execution from any directory. Introduces configurable SNAPCRAFT_VIRTUAL_ENV_DIR for local virtual environments, defaulting to $HOME/.venv/snapcraft. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Refactored environment-setup.sh to decouple local environment configuration, enabling execution from any directory. Introduced SNAPCRAFT_VIRTUAL_ENV_DIR variable for customizable virtual environment paths, defaulting to $HOME/.venv/snapcraft. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.