From 456bf0965589f20978d62259696b499a5abaa6ae Mon Sep 17 00:00:00 2001 From: David Young Date: Sun, 29 Nov 2026 14:56:38 -0700 Subject: [PATCH] PLAN.md: siblings' configure items in lowercase, and keep siblings off CoreDesktop's commands As MiniServer's bb8729d. Co-Authored-By: Claude Opus 5.5 --- PLAN.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/PLAN.md b/PLAN.md index 16c6a6f..2a5970a 100644 --- a/PLAN.md +++ b/PLAN.md @@ -41,14 +41,16 @@ steps are done. Follow-ups: ## Other - [ ] Let a sibling add its own item to `configure`, as MiniServer does - since its commit 0d4582a (copy from there: `configure`, + since its commits 0d4582a and bb8729d (copy from there: `configure`, `tests/configure.bats`, and the `configure.sh` section of `skills/sibling-project-format.md`). A sibling with a `configure.sh` at the top of its repo, in the same format as `configure.d`'s items, - gets an item named after the sibling. Steps: + gets an item named after the sibling, in lowercase. Steps: 1. `configure`: add `SIBLINGS="$HOME/.local/share/siblings"`. Have - `item_name` give the sibling folder's name for - `$SIBLINGS//configure.sh`. Add an `item_files` function that + `item_name` give the sibling folder's name, in lowercase, for + `$SIBLINGS//configure.sh` (`HamPackServer` → + `hampackserver`), and have `configure ` compare it with + `${1,,}`, so any case finds it. Add an `item_files` function that prints `configure.d/*.sh`, then `$SIBLINGS/*/configure.sh`, skipping any name seen already, so CoreDesktop's item wins a clash. Use it in `load_items` and in the `configure ` lookup. Read it into an @@ -64,6 +66,12 @@ steps are done. Follow-ups: non-zero on failure; `$COREDESKTOP`, `confirm` and `confirm_yes` are there, since it's sourced rather than run with `bash`; and don't take a name `configure --list` already shows. Add a checklist line. + Also add a rule, with its own checklist line, under `install.sh`'s + "Install commands into `~/.local/bin`": don't use the name of one + of CoreDesktop's commands (`configure`, `update`, `refresh`, + `sibling`, `version`, `audit`, `report`, `webapp`), which are in + `~/.local/bin` too. HamPackServer did, and its `configure` + replaced MiniServer's on every `update`. 3. `README.md`: one sentence where `configure --list` is described (around line 304) saying sibling projects can add an item, named after the project.