Repository navigation
Description
What
go.mod declares the module path github.com/objectfs/objectfs, but the repository — and every
version tag — lives at github.com/scttfrdmn/objectfs. The two cannot both be right, and the
consequence is that the module is not importable or installable by anyone, under either path.
Verified
The go install command README.md:186 gives users:
$ go install github.com/scttfrdmn/objectfs/cmd/objectfs@latest
go: downloading github.com/scttfrdmn/objectfs v0.10.1
go: github.com/scttfrdmn/objectfs/cmd/objectfs@latest: version constraints conflict:
github.com/scttfrdmn/[email protected]: parsing go.mod:
module declares its path as: github.com/objectfs/objectfs
but was required as: github.com/scttfrdmn/objectfs
Same failure for go get. The proxy has all 14 tags under scttfrdmn/objectfs — v0.1.0 through
v0.10.1 — and every one of them is unusable for the same reason.
And the declared path resolves to somebody else's project. github.com/objectfs/objectfs is a
real GitHub organization and a real repository: a Python project from 2017, last pushed March 2019,
28 stars, described as "A file system with the power of an object store."
$ go get github.com/objectfs/objectfs@latest
go: downloading github.com/objectfs/objectfs v0.0.0-20190306233330-13bb5e240eb2
go: added github.com/objectfs/objectfs v0.0.0-20190306233330-13bb5e240eb2
That is the worst available outcome: the import path in this repo's own source resolves, silently and
successfully, to an unrelated seven-year-old repository under someone else's control.
Consequences
go install .../cmd/objectfs@latest— the second install method the README offers — fails for
every user. Only the release binaries andgit clone && make buildwork.- The Go SDK under
sdks/go/objectfscannot be imported by any downstream project. It has no
go.modof its own, so it is part of this module and inherits the broken path. pkg.go.devhas no entry for either path (both 404), so the Go Reference badge in the README
renders empty. That badge is a symptom of this issue, not a separate one.- CargoShip and GlobalFS both consume objectfs. Whatever they do to make that work is a local
workaround for this.
The decision this needs
Whichever way it goes, it is a breaking change for any consumer, so it should happen at a version
boundary and be stated in CHANGELOG.md.
Option A — change go.mod to github.com/scttfrdmn/objectfs. Matches where the code actually
is, makes all 14 existing tags meaningful, and the README's go install starts working. Requires
rewriting every internal import (~hundreds of lines, but entirely mechanical: gofmt -r or
go mod edit plus a sed pass, verified by go build ./...). This is the option that makes the
existing tag history usable and does not depend on anyone else.
Option B — keep github.com/objectfs/objectfs and own that namespace. The org exists and is not
ours; the repo under it is a live project with users. So this needs the objectfs org to be acquired
or the name negotiated, and until that happens the path keeps resolving to the 2019 project. Not
viable as a near-term fix.
Option C — a vanity import path (objectfs.io/objectfs or similar) with a <meta name="go-import">
tag. Decouples the import path from the hosting forever, which is the durable answer if the project
ever moves. Costs a domain and a static page, and does not resolve today's tags without also
publishing them under the vanity path.
Recommend A now — it is mechanical, it fixes every symptom above, and it does not block on
anything external. C stays available later.
Also fix, in the same change
README.md:186— thego installline, once the path is real.- The
pkg.go.devbadge URL must match the final module path. - A CI check that would have caught this: build the module as a dependency from a scratch module,
not justgo build ./...inside the repo.go build ./...passes fine here — the path mismatch is
invisible from inside the module, which is exactly why it survived 14 releases.
Activity
scttfrdmn commentedon Aug 2, 2026
Fixed on
peer-review-prepin fc1e3f7 — leaving this open until it lands onmain.module github.com/objectfs/objectfs→github.com/scttfrdmn/objectfs, across 154 files:go.mod, 132 Go files, thegoimportslocal-prefixessetting in.golangci.yml, theDockerfileimage-source label, and the repository URLs in the Python and JavaScript SDK manifests — those last were pointing contributors at the wrong project.Verified by resolution rather than by grep, since resolution was the failure:
go build,go vet,golangci-lint run --new-from-merge-baseall clean;go test -race -count=1 ./...passes across 32 packages, 0 failures.Two side effects worth recording, both benign:
scttfrdmnpastawsalphabetically, sogoimportsregrouped one import block (tests/integration/mocks.go)..golangci.ymlline into a commit's pre-commit scope for the first time. The docs changes are blank-line-only (MD031/MD032)..golangci.ymlis now excluded frompretty-format-yaml, which dedents its block sequences and unquotes itspath:/text:regexes — valid YAML either way, but it breaks the comment alignment that carries the reason each linter is enabled.The Go Reference badge is still absent deliberately: it should go back only after a tag is published under the corrected path and pkg.go.dev has indexed it, which is not something to assert in advance.
Note for the release: this is technically a breaking change to the import path, though nothing could have depended on the old one — it was never fetchable.
Packaging fixes and the module path, so a fresh reader finds what the…
release: v0.10.2, so the module-path fix reaches a tag (#217)
scttfrdmn commentedon Aug 2, 2026
Verified fixed in a published tag as of
v0.10.2.Worth recording that this issue was closed before it was fixed for anyone. The fix merged at 19:22Z;
v0.10.1had been tagged at 17:28Z, two hours earlier. So the corrected module path existed onmainand in no tag — and from a user’s position, a fix that is in no tag is indistinguishable from no fix.v0.10.2exists for that reason and no other.The contrast, run from a scratch module against the real proxy:
Downloadable is not the same as usable, so the tag was also compiled and run from that consumer:
internal/is correctly rejected from outside the module (use of internal package ... not allowed), which is the intended boundary rather than a regression.Also confirmed: the proxy lists
v0.10.2ingo list -m -versions, the release published all four platform archives with matching.sha256files (objectfs-darwin-arm64.tar.gz: OK), and the extracted binary reportsObjectFS version 0.10.2.The Go Reference badge can now go on —
pkg.go.devhas a tag under the correct path to index for the first time. Tracking that separately rather than assuming indexing is instant.docs: restore the Go Reference badge, now that the page has something…