REPO_POLICIES: script/bootstrap
check / check (push) Canceled after 0s

Merges the two statements that a distribution tool is installed only
when missing into one bullet that also says where such tools come
from; the exact-version rule for other tools is the second bullet;
nothing else was there.

Model: opus-5-5
This commit is contained in:
clawbot committed 2026-11-16 23:37:51 +00:00
1 parent 2f9f3dd622
commit 81cfb9be83
1 file changed
+8 -7
+8 -7
View File
@@ -215,14 +215,15 @@ style conventions are in separate documents:
<test-command-with-v>; exit 1; }
```
`script/bootstrap` installs all dependencies idempotently and assumes
nothing is present. Base tools, node and yarn come from nix, apt, brew, or
apk, detected in that order; apt runs noninteractive. Each one is installed
only when it is missing. A tool from outside the distribution is never
installed as "latest" or "lts"; it is always an exact version.
# `script/bootstrap`
A tool from the distribution has no pin, so `script/bootstrap` installs it
when it is missing. make, git, node and yarn are such tools.
- `script/bootstrap` installs all dependencies idempotently and assumes nothing
is present.
- A tool from the distribution has no pin, so it is installed only when it
is missing. make, git, node and yarn are such tools. They come from nix,
apt, brew, or apk, detected in that order; apt runs noninteractive.
- A tool from outside the distribution is never installed as "latest" or
"lts"; it is always an exact version.
- Use `yarn`, not `npm`.