Skip to content

Fix Go module path for public installs#12

Merged
davebarnwell merged 1 commit intomainfrom
fix/go-module-path
Mar 7, 2026
Merged

Fix Go module path for public installs#12
davebarnwell merged 1 commit intomainfrom
fix/go-module-path

Conversation

@davebarnwell
Copy link
Copy Markdown
Owner

Summary

  • change the module path to github.com/davebarnwell/rollbar-cli
  • update internal imports to use the public module path
  • fix go install github.com/davebarnwell/rollbar-cli@latest

Testing

  • go test ./...

Copilot AI review requested due to automatic review settings March 7, 2026 20:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Go module path and all internal imports so the project builds and installs cleanly via go install github.com/davebarnwell/rollbar-cli@latest.

Changes:

  • Change go.mod module path to github.com/davebarnwell/rollbar-cli.
  • Update cmd/, internal/ui/, and main imports to use the public module path.
  • Update affected tests to match the new import paths.

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
main.go Updates import of cmd to use the public module path.
go.mod Sets module path to github.com/davebarnwell/rollbar-cli.
cmd/common.go Updates internal Rollbar import to public module path.
cmd/deploys.go Updates internal rollbar/ui imports to public module path.
cmd/environments.go Updates internal rollbar/ui imports to public module path.
cmd/items.go Updates internal rollbar/ui imports to public module path.
cmd/items_cmd_test.go Updates internal ui import to public module path.
cmd/occurrences.go Updates internal rollbar/ui imports to public module path.
cmd/users.go Updates internal rollbar/ui imports to public module path.
internal/ui/deploys_table.go Updates internal rollbar import to public module path.
internal/ui/deploys_table_test.go Updates internal rollbar import to public module path.
internal/ui/environments_table.go Updates internal rollbar import to public module path.
internal/ui/environments_table_test.go Updates internal rollbar import to public module path.
internal/ui/items_table.go Updates internal rollbar import to public module path.
internal/ui/items_table_test.go Updates internal rollbar import to public module path.
internal/ui/occurrences_table.go Updates internal rollbar import to public module path.
internal/ui/occurrences_table_test.go Updates internal rollbar import to public module path.
internal/ui/users_table.go Updates internal rollbar import to public module path.
internal/ui/users_table_test.go Updates internal rollbar import to public module path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@davebarnwell davebarnwell merged commit e24f32a into main Mar 7, 2026
5 checks passed
@davebarnwell davebarnwell deleted the fix/go-module-path branch March 7, 2026 20:35
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.

2 participants