Keep siblings' commands off CoreDesktop's names
shellcheck / shellcheck (push) Successful in 18s

The sibling spec now says not to install a command named configure, update,
refresh, sibling, version, audit, report or webapp into ~/.local/bin:
MiniServer's sibling HamPackServer installed its own configure over
MiniServer's, which every update then swapped back and forth.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-29 15:01:51 -07:00
co-authored by Claude Opus 5.5
parent 456bf09655
commit af853b7d72
2 changed files with 12 additions and 6 deletions
+2 -6
View File
@@ -66,12 +66,8 @@ steps are done. Follow-ups:
non-zero on failure; `$COREDESKTOP`, `confirm` and `confirm_yes` non-zero on failure; `$COREDESKTOP`, `confirm` and `confirm_yes`
are there, since it's sourced rather than run with `bash`; and don't 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. take a name `configure --list` already shows. Add a checklist line.
Also add a rule, with its own checklist line, under `install.sh`'s Point the rule against commands named like CoreDesktop's (under
"Install commands into `~/.local/bin`": don't use the name of one `install.sh`) to the new section, as MiniServer's does.
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 3. `README.md`: one sentence where `configure --list` is described
(around line 304) saying sibling projects can add an item, named (around line 304) saying sibling projects can add an item, named
after the project. after the project.
+10
View File
@@ -103,6 +103,13 @@ step for siblings, so anything `install.sh` set up elsewhere stays.
- It may prompt the user, since it runs in their terminal. - It may prompt the user, since it runs in their terminal.
- Install commands into `~/.local/bin` (already on `PATH` under CoreDesktop) - Install commands into `~/.local/bin` (already on `PATH` under CoreDesktop)
with `install_script`. with `install_script`.
- **Don't use a name CoreDesktop's commands use**: `configure`, `update`,
`refresh`, `sibling`, `version`, `audit`, `report` or `webapp`. They're in
`~/.local/bin` too, so yours would replace CoreDesktop's, and every
`update` would put CoreDesktop's back before yours replaced it again.
Prefix the project's name instead (`my-tools-configure`). MiniServer's
sibling HamPackServer once installed its settings script as `configure`,
and MiniServer's `configure` disappeared.
### `update.sh` ### `update.sh`
@@ -246,6 +253,9 @@ changing.
never force-pushed never force-pushed
- [ ] Releases are tagged on the default branch (optional; without tags the - [ ] Releases are tagged on the default branch (optional; without tags the
version is the commit's date and hash), and pushed tags are never moved version is the commit's date and hash), and pushed tags are never moved
- [ ] No command in `~/.local/bin` has the name of one of CoreDesktop's
(`configure`, `update`, `refresh`, `sibling`, `version`, `audit`,
`report`, `webapp`)
- [ ] The project doesn't also copy a hook into CoreDesktop's `updates.d/` - [ ] The project doesn't also copy a hook into CoreDesktop's `updates.d/`
- [ ] The README tells users to install with - [ ] The README tells users to install with
`sibling add <url>` `sibling add <url>`