Skip to content

chore: update Go module path - #32

Merged
jnfrati merged 1 commit into
mainfrom
fix/31-go-module-path
Aug 12, 2026
Merged

chore: update Go module path#32
jnfrati merged 1 commit into
mainfrom
fix/31-go-module-path

Conversation

@jnfrati

@jnfrati jnfrati commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Description

Update the Go module path to match the repository name.

Update all internal imports and the GoReleaser SRPM configuration to use the new path.

Closes #31

Validation

  • go test ./...
  • Confirmed that no old module path references remain
  • task quality:full for risky changes

Summary by CodeRabbit

  • Chores
    • Renamed the project’s module identity to better reflect its VPN integration.
    • Updated packaging and internal references to use the new project name.
    • Preserved existing application behavior and test coverage.

Update internal imports and the GoReleaser SRPM configuration to match github.com/netbirdio/network-manager-vpn-plugin.
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 791b805a-72b1-4985-844b-873dc586d82c

📥 Commits

Reviewing files that changed from the base of the PR and between 1c1e87d and 7b9c94c.

📒 Files selected for processing (16)
  • .goreleaser.yml
  • cmd/nm-netbird-auth-dialog/main.go
  • cmd/nm-netbird-service/main.go
  • go.mod
  • internal/netbird/daemonclient/grpc.go
  • internal/netbird/daemonclient/grpc_test.go
  • internal/netbird/profile/profile.go
  • internal/netbird/profile/profile_test.go
  • internal/netbird/status/status_test.go
  • internal/nmplugin/config.go
  • internal/nmplugin/errors.go
  • internal/nmplugin/helpers.go
  • internal/nmplugin/prompts.go
  • internal/nmplugin/service.go
  • internal/nmplugin/service_test.go
  • internal/nmplugin/settings.go

📝 Walkthrough

Walkthrough

The Go module path changed to github.com/netbirdio/network-manager-vpn-plugin. Production imports, tests, and GoReleaser SRPM configuration now use the same path.

Changes

Module path rename

Layer / File(s) Summary
Module declaration and production imports
go.mod, cmd/*, internal/netbird/..., internal/nmplugin/...
The module declaration and production imports now use github.com/netbirdio/network-manager-vpn-plugin.
Test and release references
internal/netbird/*/*_test.go, internal/nmplugin/*_test.go, .goreleaser.yml
Test imports and the SRPM import_path now use the renamed repository path.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Poem

I’m a rabbit with paths in a row,
Watching imports hop as they go.
The plugin name changed,
The old path was arranged,
Now every reference can flow.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the primary change: updating the Go module path.
Description check ✅ Passed The description includes the required sections and explains the module path, import, configuration, and validation changes.
Linked Issues check ✅ Passed The changes satisfy issue #31 by aligning the Go module path, internal imports, and SRPM configuration with the repository path.
Out of Scope Changes check ✅ Passed All changes are limited to renaming the Go module path and updating related import and configuration references.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/31-go-module-path

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jnfrati
jnfrati merged commit 96ab58e into main Aug 12, 2026
6 checks passed
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.

Github path doesn't match the Go import path

1 participant