Skip to content

docs: point the install one-liner at objectfs.io, and widen its gate (#138) - #441

Merged
scttfrdmn merged 1 commit into
mainfrom
docs/point-install-at-apex
Aug 14, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
docs/point-install-at-apex

Conversation

@scttfrdmn

Copy link
Copy Markdown
Owner

Follow-up to #440, which made https://objectfs.io/install.sh exist. This points the documentation at it — after measuring that it answers.

The address is verified, not assumed

Against the deployed site, on the merge commit a7a3805:

$ curl -sSI https://objectfs.io/install.sh | head -3
HTTP/2 200
server: GitHub.com
content-type: application/x-sh

$ curl -fsSL https://objectfs.io/install.sh -o /tmp/served.sh && cmp /tmp/served.sh scripts/install.sh
# identical, 19599 bytes

$ curl -fsSL https://objectfs.io/install.sh | bash -s -- --dry-run
objectfs-install: release v0.13.0, platform darwin-arm64
objectfs-install:   archive:  https://github.com/.../objectfs-darwin-arm64.tar.gz
objectfs-install: dry run, so nothing was downloaded

That order is the whole point. A documented URL that 404s is the defect this replaces, so pointing the docs at it before it answered would have been the same mistake with a different host.

Five surfaces, not two

#440's gate named README.md and web/index.html, passed, and missed three more files documenting the same command: docs/index.md, docs-platform/index.md, docs-platform/guide/getting-started.md.

So the check now walks the tree for any .md or .html line that both names install.sh and names a URL, instead of reading a list. An enumerated list can only ever check the surfaces whoever wrote it already knew about — the same blindness as a link checker that starts from the links that exist, which is how four non-existent install channels survived in getting-started.md for a year.

CHANGELOG.md is skipped: an entry recording that an address changed has to be able to name both the old one and the new one. The floor is 5 rather than an exact count, since a new page documenting the install is a normal thing to add — but zero or one means the walk stopped matching and the check has gone quiet rather than clean.

Verification

Four mutations, one per surface, each fails naming the right file:

mutation reported file
docs/index.md → get.objectfs.io docs/index.md
docs-platform/guide/getting-started.md → packages.objectfs.io docs-platform/guide/getting-started.md
web/index.html → docs.objectfs.io web/index.html
README.md → install.objectfs.io README.md

Plus, from #440 and re-checked here: a brand-new sixth page with a dead URL fails, and deleting all five one-liners fails the vacuity floor.

One thing worth recording about the harness rather than the code. The first mutation run backed files up by basename into /tmp, and docs/index.md and docs-platform/index.md collide there — so the restore wrote the wrong file's content back and clobbered docs/index.md with 604 lines of the other file. Caught by reading git diff, not by the tests, all of which still passed. Re-verified with a git checkout -- based restore, and git diff confirms the tree now holds five one-liner edits and nothing else.

docs-platform/index.md's comment is updated rather than deleted: it explained the script was fetched from the repository because no name under the domain was served, and the part about every other name still being unserved is worth keeping.

Refs #138

…138)

The address is verified before anything is pointed at it. Against the deployed
site: HTTP 200, content-type application/x-sh, byte-identical to
scripts/install.sh, and `curl -fsSL https://objectfs.io/install.sh | bash -s --
--dry-run` resolving v0.13.0 for the running platform end to end. That order is
the point — a documented URL that 404s is the defect this replaces, so pointing
the docs at it first would have been the same mistake with a different host.

Five surfaces documented the one-liner, not two. TestDocumentedInstallOneLiners-
NameAServedAddress in the previous commit named README.md and web/index.html,
passed, and missed docs/index.md, docs-platform/index.md and
docs-platform/guide/getting-started.md. So it now walks the tree for any .md or
.html line that both names install.sh and names a URL, rather than reading a
list: an enumerated list can only check the surfaces whoever wrote it already
knew about, which is the same blindness as a link checker that starts from the
links that exist. CHANGELOG.md is skipped, since an entry recording that an
address changed has to name both the old one and the new one.

The floor is 5 rather than an exact count — a new page documenting the install is
a normal thing to add, but zero or one means the walk stopped matching and the
check has gone quiet rather than clean.

Four mutations, one per surface, each fails naming the right file. Verified with
a git-based restore after the first harness clobbered docs/index.md: it backed
files up by basename into /tmp, and docs/index.md and docs-platform/index.md
collide there, so the restore wrote the wrong content back. Caught by reading
`git diff`, which is also what confirms the tree now holds five one-liner edits
and nothing else.

docs-platform/index.md's comment is updated rather than deleted. It explained
that the script was fetched from the repository *because* no name under the
domain was served; the apex now serves it, and the part about every other name
still standing is the part worth keeping.
@scttfrdmn scttfrdmn added type: documentation Documentation improvements or additions priority: medium Important but not urgent area: docs Documentation content and structure area: ci-cd CI workflows, gates, and release automation labels Aug 14, 2026
@scttfrdmn
scttfrdmn merged commit 8b2d05d into main Aug 14, 2026
46 checks passed
@scttfrdmn
scttfrdmn deleted the docs/point-install-at-apex branch August 14, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci-cd CI workflows, gates, and release automation area: docs Documentation content and structure priority: medium Important but not urgent type: documentation Documentation improvements or additions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant