Files
Kamino/changelogs/fragments/dev-setup-robustness.yml
T
Defame1297andClaude Sonnet 5.5 19faa49a4c
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 9s
Lint / lint (pull_request) Successful in 7s
fix(dev-setup): derive the repository from the script, rename PYTHON to KAMINO_PYTHON
The script took its repository from the caller's working directory, so running it
from another repository could create or remove that repository's .venv. It now
resolves its own location (symlinks included) and uses git -C for every call.
The interpreter variable is KAMINO_PYTHON, and the usage comment no longer claims it
always selects the venv interpreter. A core.hooksPath that resolves to the
repository's own hooks directory is lifted for the install and restored; any
other value is still rejected.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 18:48:07 +00:00

5 lines
251 B
YAML

trivial:
- >-
scripts/dev-setup.sh checks for Python 3.11 or newer (KAMINO_PYTHON selects one), derives the repository from its own location, rebuilds an older
virtualenv, and fails early when core.hooksPath is set or the hooks are missing.