Module path on our own domain: go.macula.io/macula-go #4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose (port):
go getandgo installfetch macula-go by an import path we control, so the origin behind it can move without a consumer changing an import.Refs macula-io/forge-setup#30 section 3. DECIDED 2026-11-24 "go.macula.io/macula-go (Recommended)".
What changes
github.com/macula-io/macula-go→go.macula.io/macula-goin 264 files: the module line, every import in 260 Go files, and the two instructions that name the path (README'sgo get,cabi/CONTRACT.md'sgo run .../teststation). Threehttps://github.com/macula-io/macula-go/...addresses stay: the CI badge's link and two CHANGELOG issue links are web addresses, not module paths, and the ported repos keep the GitHub badge (as macula-rust, macula-py and macula-dotnet do).One mechanical PR.
scripts/interop/v5.sh's default image moves off ghcr to the forge'smacula-ci-otpat the digest its siblings (sealed.sh,groups.sh) andci.ymlalready pin — the ghcr image is the last one the tree names.The page it needs
https://go.macula.io/macula-go?go-get=1answers one static file from the forge box's Caddy:<meta name="go-import" content="go.macula.io/macula-go git https://pushin.eu/macula-io/macula-go">macula-iois private on the forge, so the repository the page names is the public pushin.eu mirror, which already serves its own go-import (checked 2026-11-24). A config PR in macula-io/forge-setup, with a localcurl -H 'Host: go.macula.io'proof.Order
The DNS record (
go.macula.io→ the forge box) is one line in Raf's SDK menu. Both PRs are reviewed before it, and the module-path PR lands only after go.macula.io resolves: a module path that answers nothing makes the repository unusable forgo getat any version from the moment the module line changes.Consumers, outside this package (named, not touched)
Seven trees import the old path and go on resolving it from the module cache / proxy.golang.org at their pinned versions:
macula-cli,macula-fovea/cli,mcl-fovea-keeper,macula-craft-collab/tests/teststation,macula-rust/tests/teststation,macula-py/scripts/interop/capture,macula-dotnet/scripts/interop/capture. Each needs its own sweep to reach a version published under the new path; that is a follow-up package per repository, not this one.Done when
go.macula.io/macula-gois the module line, and no Go path in the tree names the old one.go build ./...andgo vet ./...pass with the new path — and, Actions being on in this repository, the branch's own run agrees.scripts/interop/v5.shnames no ghcr image.curl 'https://go.macula.io/macula-go?go-get=1'answers the meta above, at depth too (/macula-go/cbor?go-get=1).go get go.macula.io/macula-go@<tag>fetches it. The first tag under the new path must be a new version: go.mod at every existing tag names the old path, so@v0.31.0under the new path is a path mismatch by definition.