mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 03:38:23 +00:00
Pulls VENV/PYTHON/PIP/PYTHONPATH out of the dotenv handler pipeline
into scripts/meta/python/detect.sh. load.sh now sources detect.sh and
prepends ${VENV}/bin to PATH above the INFINITO_ENV_LOADED guard, so
every BASH_ENV re-entry re-resolves PYTHON the moment a venv
materialises mid-chain — the same fix as b79ed2869 but at the SPOT,
which retires the reload-trick from ansible.sh, python.sh and
pre-commit.sh.
Also renames INVENTORY_VARS_FILE → INFINITO_INVENTORY_VARS_FILE under
the new env-prefix lint, drops the 5 dead INFINITO_ENV_*_LOADED unsets
left over from the multi-loader era, and adds a lint guarding the
INFINITO_ prefix invariant on env/*.env keys.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Local Inventory Reset
This directory holds the inventory refresh helpers under scripts/tests/deploy/local/reset/.
For other local helpers, use ../README.md.
For the canonical Make target index that invokes these helpers, see make.md.
Entry Points
| Entry point | What it does | Key inputs | Notes |
|---|---|---|---|
inventory.sh |
Recreates devices.yml for all discovered apps without deploying them. |
INFINITO_DISTRO, INFINITO_TEST_DEPLOY_TYPE, INFINITO_INVENTORY_DIR |
Rebuilds the local inventory and keeps the runtime .password file. |