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:
@@ -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.
|
||||
- Install commands into `~/.local/bin` (already on `PATH` under CoreDesktop)
|
||||
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`
|
||||
|
||||
@@ -246,6 +253,9 @@ changing.
|
||||
never force-pushed
|
||||
- [ ] 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
|
||||
- [ ] 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 README tells users to install with
|
||||
`sibling add <url>`
|
||||
|
||||
Reference in New Issue
Block a user