chore: move Go module path from github.com/mathiasbq/supervisor → git.d-ma.be/mathias/hyperguild #42

Closed
opened 2026-06-15 03:50:18 +00:00 by mathias · 1 comment
Owner

Background

git.d-ma.be is the canonical Gitea instance (infra ADR-0004). Per architecture decision, d-ma.be is primary — GitHub is a push-mirror. The module path should reflect the canonical source.

Current

module github.com/mathiasbq/supervisor

Target

module git.d-ma.be/mathias/hyperguild

Note: the module name supervisor is also a mismatch with the repo name hyperguild — this is a good time to align both.

Scope

  • go.mod — update module line
  • All .go files with import "github.com/mathiasbq/supervisor/... — bulk replace
  • Check any scripts or docs referencing the old module path
go mod edit -module git.d-ma.be/mathias/hyperguild
find . -name '*.go' | xargs sed -i 's|github.com/mathiasbq/supervisor|git.d-ma.be/mathias/hyperguild|g'
go build ./...
go test ./...

Note

hyperguild is a binary, not a library — no downstream consumers.

Done when

  • go.mod module line reads git.d-ma.be/mathias/hyperguild
  • go build ./... and go test ./... pass
  • No remaining github.com/mathiasbq/supervisor import paths in .go files
## Background `git.d-ma.be` is the canonical Gitea instance (infra ADR-0004). Per architecture decision, `d-ma.be` is primary — GitHub is a push-mirror. The module path should reflect the canonical source. ## Current ``` module github.com/mathiasbq/supervisor ``` ## Target ``` module git.d-ma.be/mathias/hyperguild ``` Note: the module name `supervisor` is also a mismatch with the repo name `hyperguild` — this is a good time to align both. ## Scope - `go.mod` — update module line - All `.go` files with `import "github.com/mathiasbq/supervisor/...` — bulk replace - Check any scripts or docs referencing the old module path ```bash go mod edit -module git.d-ma.be/mathias/hyperguild find . -name '*.go' | xargs sed -i 's|github.com/mathiasbq/supervisor|git.d-ma.be/mathias/hyperguild|g' go build ./... go test ./... ``` ## Note hyperguild is a binary, not a library — no downstream consumers. ## Done when - `go.mod` module line reads `git.d-ma.be/mathias/hyperguild` - `go build ./...` and `go test ./...` pass - No remaining `github.com/mathiasbq/supervisor` import paths in `.go` files
Author
Owner

Done in b600cc9: go.mod module line now git.d-ma.be/mathias/hyperguild, all .go imports rewritten (ingestion has its own module, untouched), go build ./... and go test ./... pass. Pushed to main.

Done in b600cc9: `go.mod` module line now `git.d-ma.be/mathias/hyperguild`, all `.go` imports rewritten (ingestion has its own module, untouched), `go build ./...` and `go test ./...` pass. Pushed to main.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mathias/hyperguild#42