Repository navigation
chore: delete the apt and yum repository machinery, which never published a byte - #520
Merged
scttfrdmn merged 1 commit intoSep 17, 2026
Conversation
…shed a byte
The repositories were built, signed against a throwaway key on every pull request,
installed from in three containers, and gated by 867 lines of tests, for three
releases. They published nothing. Every address they would have served answered
404 for the whole life of the feature, while install.sh — served from the same
workflow, in the same step — answered 200 the entire time. That is how the
difference was established rather than assumed.
Deleted: scripts/setup-repo-debian.sh (264), scripts/setup-repo-rhel.sh (273),
ci.yml's repo-install job (408), pages.yml's repository-building step and the
Pages size guard whose stated purpose was the 33 MB per release the repositories
accumulated (318 total), and internal/config/served_repositories_test.go (867).
Nothing a user could reach changes. No page ever documented the repositories — a
gate in internal/config forbade it, on the reasoning that a documented
`curl | sudo bash` one-liner fetching a signing key that 404s is worse than no
instructions at all — so there is no user to migrate and no address to redirect.
What users had is what they keep: .deb and .rpm for amd64 and arm64 attached to
every release, plus five tarballs and install.sh.
Three gates outlived the deletion because none was about repositories:
- TestWorkflowExpressionsAreValid moved to workflow_expressions_test.go. An
unparseable ${{ }}, including one inside a YAML comment, fails the whole
workflow file before any job starts, with no job list and no log.
- TestTheRPMSigningPathStaysIntact and the docs-absence walk moved to
rpm_signing_test.go. gpgcheck=1 is dnf's default for a downloaded file too,
and each rpm stands alone with no equivalent of apt's InRelease chain, so rpm
signing matters with no repository in sight. The two assertions that named
repo-install are gone; the $GITHUB_ENV-does-not-reach-its-own-step gate
stayed, because that mistake belongs to $GITHUB_ENV and not to the job that
first made it.
served_install_script_test.go's loop-parsing branch went too: it existed to
tolerate the copy loop over three served scripts, one script is left, and the
step is a literal `cp` again — which was its shape before the loop.
scripts/install.sh and both of its CI jobs are deliberately kept. It is
repo-independent, it is the path that works on a machine with no root and no
package-manager entry, and it is the one address here that was serving traffic.
repo-install and install-script are not required status checks; packaging,
modulefiles (lmod) and modulefiles (tcl-modules) are, and all three still report.
Verified: all five workflows parse, every required job id survives, go test -race
./internal/config/ passes, golangci-lint 0 issues, shellcheck clean. The
docs-absence gate caught this commit's own first draft of docs/index.md, which
spelled the 404 addresses as evidence — reworded rather than exempted.
This was referenced Sep 17, 2026
scttfrdmn
added a commit
that referenced
this pull request
Sep 17, 2026
…ver existed (#523) The next release is 0.15.0, not the 0.16.0 the milestone was titled. Four lines in the Unreleased section described the CargoShip upload-path removal as having happened "in v0.15.0" — it shipped in 0.12.0 (#362, 2026-08-08) — and CLAUDE.md repeated the claim. A fifth said a tier defect was "the v0.15.0 defect"; that one was v0.10.1. No v0.15.0 tag, changelog section, or module-proxy entry has ever existed, so the number is free and skipping it would have preserved five wrong references to justify a milestone title. Promotes Unreleased to [0.15.0] - 2026-09-17: seekable compression framing end to end (#185, via #509/#513/#516) and the GoReleaser convergence (#502) with what it let us delete. Bumps the version constant, which is the authority the changelog link test and the packaging tests read. Also corrects the signing claims across four documents (#505). README.md, docs/index.md and docs-platform/guide/getting-started.md all said the project "does not sign releases yet"; #501 signs checksums.txt keylessly with cosign. Each now states the two positions separately, because neither covers the other: the release is signed, the .deb and .rpm files are not. The verify command is the one release.yml both runs and prints into the notes — a bundle, not the --certificate/--signature pair a first draft of this invented. README's claim that the apt/yum repository is "built and tested on every pull request" also went with #520, which deleted that machinery.
scttfrdmn
deleted the
chore/delete-unpublished-package-repository-machinery
branch
September 20, 2026 05:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First of two PRs converging objectfs's release machinery with cargoship's. This one is pure subtraction; the second adopts goreleaser.
The measurement that decided it
https://objectfs.io/apt/dists/stable/Releasehttps://objectfs.io/yum/objectfs.repohttps://objectfs.io/install.shhttps://objectfs.io/Both repository paths answered 404 for the whole life of the feature, from the same workflow, in the same step, that was successfully serving
install.shthe entire time. So nothing can be depending on them, and this is a deletion with nothing to migrate.Meanwhile v0.14.0 already shipped exactly the assets the repositories were meant to make reachable:
objectfs-0.14.0-1.{aarch64,x86_64}.rpmandobjectfs_0.14.0-1_{amd64,arm64}.deb, each with a.sha256, alongside five tarballs.What goes
scripts/setup-repo-debian.shscripts/setup-repo-rhel.shci.yml'srepo-installjobpages.yml's repository step + the Pages size guardinternal/config/served_repositories_test.goThe size guard went because its stated purpose was the ~33 MB per release the repositories accumulated against Pages' 1 GB limit. What is left of the site is a landing page, a MkDocs tree and one shell script; a 900 MB tripwire over that can never fire.
What users get
Unchanged. No page ever documented the repositories — a gate in
internal/configforbade it, on the reasoning that a documentedcurl … | sudo bashone-liner that fetches a signing key which 404s is worse than no instructions at all. So there is no user to migrate and no address to redirect. Packages still come from the release page:Three gates were kept, not deleted
I deleted
served_repositories_test.gowholesale first and then found that three of its gates had nothing to do with repositories. They moved rather than going with it.TestWorkflowExpressionsAreValid→internal/config/workflow_expressions_test.go. An unparseable${{ }}— including one inside a YAML comment, since Actions interpolates before any shell exists — fails the entire workflow file before any job starts: no job list, no log, andgh run viewshows only "This run likely failed because of a workflow file issue".check-yamlpasses it happily. Losing this would have been the worst outcome in the PR.TestTheRPMSigningPathStaysIntact→internal/config/rpm_signing_test.go.gpgcheck=1is dnf's default for a downloaded file too, and each rpm stands alone with no equivalent of apt's InRelease→Packages→.debchecksum chain, so rpm signing matters with no repository in sight. Two assertions that namedrepo-installare gone. The$GITHUB_ENV-does-not-reach-its-own-step gate stayed: that mistake belongs to$GITHUB_ENV, not to the job that first made it.served_install_script_test.go's loop-parsing branch went too — ~60 lines that existed to tolerate aforloop over three served scripts. One script is left and the step is a literalcpagain, which is the shape it had before the loop.Deliberate deviation from the approved plan
The plan said delete
ci.yml'sinstall-scriptjob (147 lines) and by implicationscripts/install.sh's gates. I kept all of it.install.shreturns 200, reads tarballs straight from GitHub releases, has no dependency on the repositories, and is the path that works on a machine with no root, no package-manager entry, and no network route to a third-party repo — which describes a large share of the HPC login nodes this project targets. Deleting a live install path's tests would reduce safety, not machinery.Required checks
repo-installandinstall-scriptare not required onmain(read from the API, not assumed), so removing a job cannot block future PRs.packaging,modulefiles (lmod)andmodulefiles (tcl-modules)are required and all still report — verified by parsing all five workflows and diffing the job ids.Verification
go test -race ./internal/config/passesgolangci-lint run ./internal/config/...→ 0 issuesshellcheck -S warning scripts/install.shcleandocs/index.md, which spelled the 404 addresses out as evidence. Reworded rather than exempted.Refs #502.