Skip to content

refactor: rename module to github.com/timimsms/cu - #34

Merged
timimsms merged 1 commit into
mainfrom
chore/module-rename
Jul 15, 2026
Merged

refactor: rename module to github.com/timimsms/cu#34
timimsms merged 1 commit into
mainfrom
chore/module-rename

Conversation

@timimsms

Copy link
Copy Markdown
Owner

Summary

  • Renames the Go module from github.com/tim/cu to github.com/timimsms/cu (the repository's real home), fixing go install — which cannot work while the module path differs from the repo URL.
  • Updates all Go imports (27 files), plus historical references in README.md, internal/auth/mock/README.md, and docs/project-buildout.
  • Updates the four ldflags -X paths in both the Makefile and .goreleaser.yml in lockstep so version stamping stays intact.
  • .goreleaser.yml release footer: fixes the go install path and narrows the Homebrew heading to ### Homebrew (macOS) (casks are macOS-only).
  • Adds the GoReleaser-documented post-install hook to the homebrew_casks entry to strip com.apple.quarantine from the unsigned binary.
  • Runs gofmt -w across cmd and internal (normalizes 6 previously gofmt-dirty files and sed output).

Verification

  • grep -rn 'github.com/tim/cu' across the repo returns nothing
  • go build ./..., go vet ./..., go test -race ./... all pass
  • goreleaser check validates the config
  • goreleaser build --snapshot --clean --single-target succeeds; the produced binary reports cu version 0.0.1-dev with commit, date, and Built by: goreleaser — version stamping works with the new -X paths

🤖 Generated with Claude Code

Fixes go install, which cannot work while the module path differs
from the repository URL. ldflags -X paths in the Makefile and
.goreleaser.yml are updated in lockstep to keep version stamping
intact. Also fixes the release footer install instructions, narrows
the Homebrew heading to macOS (casks are macOS-only), and adds the
GoReleaser-documented post-install hook to strip com.apple.quarantine
from the unsigned cask binary.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@timimsms
timimsms merged commit 0e8fd44 into main Jul 15, 2026
25 of 31 checks passed
@timimsms
timimsms deleted the chore/module-rename branch July 15, 2026 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant