Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ separate, and be precise about whether data is live or last-known.

## Development

Use the private home-ops bootstrap for installed use and `.venv` for development. Run the full
Use the private home-config bootstrap for installed use and `.venv` for development. Run the full
format, lint, secret-scan, and test sequence documented in `README.md` before
publishing. Never perform a live spa write as part of an automated test.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ Python 3.13 or newer is required by the current `python-smarttub` release.
## Install

```bash
cd /path/to/private/home-ops
cd /path/to/private/home-config
./bin/bootstrap-ctls hottubctl
```

The private `home-ops` bootstrap is the canonical installer: it populates the
The private `home-config` bootstrap is the canonical installer: it populates the
real spa inventory, calls this repository's stable `script/install` contract,
and creates `/usr/local/bin/hottubctl` backed by an isolated system environment
under `/usr/local/lib/home-ops/ctls`.
under `/usr/local/lib/home-config/ctls`.

## Configure private credentials

Expand Down
4 changes: 2 additions & 2 deletions script/install
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eu
repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
name=hottubctl
install_prefix=${CTL_INSTALL_PREFIX:-/usr/local}
venv_root=${CTL_VENV_ROOT:-$install_prefix/lib/home-ops/ctls}
venv_root=${CTL_VENV_ROOT:-$install_prefix/lib/home-config/ctls}
bin_dir=${CTL_BIN_DIR:-$install_prefix/bin}
venv="$venv_root/$name"
python=${PYTHON:-python3}
Expand All @@ -14,7 +14,7 @@ if ! command -v "$python" >/dev/null 2>&1; then
exit 1
fi

install -d -m 755 "$install_prefix/lib" "$install_prefix/lib/home-ops" "$venv_root" "$bin_dir"
install -d -m 755 "$install_prefix/lib" "$install_prefix/lib/home-config" "$venv_root" "$bin_dir"
"$python" -m venv --clear "$venv"
"$venv/bin/python" -m pip install --disable-pip-version-check "$repo_root"
chmod -R a+rX "$venv"
Expand Down
Loading