Fix the cargo install line and the Homebrew tap docs (CLS-1329) #338

Merged
stephen merged 2 commits from docs/install-channels into main 2026-11-28 17:28:32 +00:00
Owner

Part of CLS-1329, an audit of the install channels against v0.8.4.

The README's cargo install --git ... --tag v0.8.4 fails as written with registry index was not found in any configuration: fjord. fjord-core has come from the fjord registry since v0.3.0 (#187), and that registry is named only in .cargo/config.toml, which cargo install --git doesn't read. Setting CARGO_REGISTRIES_FJORD_INDEX fixes it. I checked that in a throwaway --root: it builds and reports fj 0.8.4 with no token.

CONTRIBUTING.md still said there was no Homebrew tap. That's gone now, with a pointer to the README and docs/release.md.

docs/release.md described the GitHub tap as a push-mirror of the rasterhub one. It isn't: no push mirror is configured, and the two main branches had diverged (rasterhub had fj 0.8.0, GitHub had 0.8.3). The doc now names rasterhub as the canonical tap and GitHub as a copy synced by hand (CLS-1329). Until a push mirror exists, each release is pushed to both. The manual steps end with a loop that prints the formula version each copy serves, and it prints 0.8.0 and 0.8.3 today. Automating the bump is a CI change, proposed separately on CLS-1329; this PR doesn't touch workflows.

Docs only. Preflight (full and --quick) passes.

Part of CLS-1329, an audit of the install channels against v0.8.4. The README's `cargo install --git ... --tag v0.8.4` fails as written with `registry index was not found in any configuration: fjord`. fjord-core has come from the `fjord` registry since v0.3.0 (#187), and that registry is named only in `.cargo/config.toml`, which `cargo install --git` doesn't read. Setting `CARGO_REGISTRIES_FJORD_INDEX` fixes it. I checked that in a throwaway `--root`: it builds and reports `fj 0.8.4` with no token. CONTRIBUTING.md still said there was no Homebrew tap. That's gone now, with a pointer to the README and docs/release.md. docs/release.md described the GitHub tap as a push-mirror of the rasterhub one. It isn't: no push mirror is configured, and the two `main` branches had diverged (rasterhub had fj 0.8.0, GitHub had 0.8.3). The doc now names rasterhub as the canonical tap and GitHub as a copy synced by hand (CLS-1329). Until a push mirror exists, each release is pushed to both. The manual steps end with a loop that prints the formula version each copy serves, and it prints `0.8.0` and `0.8.3` today. Automating the bump is a CI change, proposed separately on CLS-1329; this PR doesn't touch workflows. Docs only. Preflight (full and `--quick`) passes.
Fix the cargo install line and the Homebrew tap docs (CLS-1329)
All checks were successful
ci / check (pull_request) Successful in 16m6s
ci / live-e2e (pull_request) Successful in 3m12s
ci / coverage (pull_request) Successful in 3m58s
e0a752c31d
`cargo install --git` doesn't read the repo's .cargo/config.toml, so it
can't find the `fjord` registry that fjord-core comes from and fails
before building. The README now sets CARGO_REGISTRIES_FJORD_INDEX for it.

CONTRIBUTING no longer says there is no Homebrew tap. docs/release.md
stops calling the GitHub tap a push-mirror, says the two copies are out
of sync, and adds a check that each one serves the new release.

Signed-off-by: Stephen Way <stephen@rasterstate.com>
release.md: rasterhub is the canonical tap, GitHub a hand-synced copy
All checks were successful
ci / check (pull_request) Successful in 16m58s
ci / live-e2e (pull_request) Successful in 3m41s
ci / coverage (pull_request) Successful in 4m25s
578792540a
Until a push mirror exists, each release is pushed to both and the version
check covers both.

Signed-off-by: Stephen Way <stephen@rasterstate.com>
Sign in to join this conversation.
No description provided.