Use github.com as our Go package repo.#151
Conversation
51ecb70 to
c0ab55e
Compare
There was a problem hiding this comment.
Pull request overview
This pull request updates the Go module path from entire.io/cli to github.com/entireio/cli, removing the dependency on a vanity package host at entire.io and adopting the standard GitHub-based module path convention.
Changes:
- Updated the module declaration in
go.modfromentire.io/clitogithub.com/entireio/cli - Updated all import statements across 113 Go source files to use the new module path
- Updated the build configuration in
mise.tomlto use the new module path in ldflags - Updated documentation in
CLAUDE.mdto reference the new import path
Reviewed changes
Copilot reviewed 108 out of 108 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Updated module declaration to github.com/entireio/cli |
| mise.toml | Updated ldflags in build task to reference new module path for version injection |
| CLAUDE.md | Updated code examples to import from new module path |
| cmd/entire/main.go | Updated import from entire.io/cli to github.com/entireio/cli |
| All other .go files | Systematically updated all internal imports to use new module path |
Critical Issue Found:
While reviewing this PR, I discovered that two important configuration files (.golangci.yaml and .goreleaser.yaml) still contain references to the old module path entire.io/cli but are not included in this PR. Specifically:
.golangci.yamlline 109 contains:entire.io/cli/cmd/entire/cli/agent.Agent.goreleaser.yamllines 20-23 contain ldflags with the old module path
These files must be updated in order for the module path change to be complete and functional. Without these updates, the linter configuration and release builds will fail or behave incorrectly.
We don't have a vanity package host at entire.io, so let's just go with Github for now, like everybody else.
Note
Low Risk
Mechanical module-path/import rewrite and build-flag updates; main risk is missed references causing compile/test failures rather than behavioral changes.
Overview
Updates the repository to use
github.com/entireio/clias the Go module path (viago.mod) and rewrites all internal package imports accordingly across the CLI, agents, strategies, checkpoint/session code, and tests.Aligns developer tooling/docs with the new import path, including
mise.tomlbuild-ldflagstargets and theCLAUDE.mdusage snippet for thesettingspackage.Written by Cursor Bugbot for commit b981320. This will update automatically on new commits. Configure here.