G02: install --name, apcmd list; 0.6.0-rc.3 #12

Merged
oliver.maklott merged 2 commits from g02-instance-name into main 2026-10-02 18:15:52 +00:00

aivopod-app Plan 7, G02 (bundle part: aivopod-app #76).

  • install --name <instanz>; without it asked, suggestion aivopod, else aivopod-2, … (taken names, Compose projects and volumes skipped); without a terminal the suggestion
  • Directory /opt/<name> unless --dir/AIVOPOD_HOME; asked in the dialog
  • COMPOSE_PROJECT_NAME in .env (works with older bundles too, Compose reads it from .env)
  • Refuses a name a known instance or a Compose project uses; warns and asks on leftover volumes (--yes)
  • apcmd list: registry (~/.config/apcmd/instances.json), /opt/aivopod and Compose projects of an Aivopod stack, with version and state; --json
  • Help, README, D007, version 0.6.0-rc.3; deno task check green (64 tests); list checked against the local Docker

🤖 Generated with Claude Code

aivopod-app Plan 7, G02 (bundle part: aivopod-app #76). - [x] `install --name <instanz>`; without it asked, suggestion `aivopod`, else `aivopod-2`, … (taken names, Compose projects and volumes skipped); without a terminal the suggestion - [x] Directory `/opt/<name>` unless `--dir`/`AIVOPOD_HOME`; asked in the dialog - [x] `COMPOSE_PROJECT_NAME` in `.env` (works with older bundles too, Compose reads it from `.env`) - [x] Refuses a name a known instance or a Compose project uses; warns and asks on leftover volumes (`--yes`) - [x] `apcmd list`: registry (`~/.config/apcmd/instances.json`), `/opt/aivopod` and Compose projects of an Aivopod stack, with version and state; `--json` - [x] Help, README, D007, version 0.6.0-rc.3; `deno task check` green (64 tests); `list` checked against the local Docker 🤖 Generated with [Claude Code](https://claude.com/claude-code)
install --name, /opt/<name>, refusing names in use, apcmd list; 0.6.0-rc.3 (aivopod-app Plan 7, G02)
Some checks failed
check / check (pull_request) Failing after 5s
check / check (push) Failing after 5s
4190cd678a
The instance's name becomes COMPOSE_PROJECT_NAME in .env. Without --name
install asks, suggesting aivopod or the next free aivopod-N; the directory
defaults to /opt/<name>. A name a known instance or a Compose project uses
is refused; volumes of the name need a yes (--yes). apcmd remembers its
instances in ~/.config/apcmd/instances.json; apcmd list shows them with
older installations found through docker compose ls (D007).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Registry of instances: unreadable or unwritable only warns; hermetic main test
All checks were successful
check / check (pull_request) Successful in 5s
check / check (push) Successful in 5s
release / release (push) Successful in 13s
243bb36c0a
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aivopod/apcmd!12
No description provided.