Skip to content

fix: use /v2 module path#139

Merged
hrntknr merged 1 commit intosigbit:mainfrom
zetaloop:v2-module-path
Apr 13, 2026
Merged

fix: use /v2 module path#139
hrntknr merged 1 commit intosigbit:mainfrom
zetaloop:v2-module-path

Conversation

@zetaloop
Copy link
Copy Markdown
Contributor

@zetaloop zetaloop commented Apr 5, 2026

Summary

Update the module path to github.com/sigbit/mcp-auth-proxy/v2 and switch internal imports to the /v2 path.

This is required by Go's module versioning rules: starting with v2, the module path must include the major version suffix, or commands such as go install will reject the version. Go Modules Reference

Type of Change

  • fix: A bug fix

Related Issues

Copilot AI review requested due to automatic review settings April 5, 2026 06:40
Copy link
Copy Markdown
Contributor

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 repository to comply with Go module major-version suffix rules by moving the module path to github.com/sigbit/mcp-auth-proxy/v2 and aligning internal imports accordingly.

Changes:

  • Changed go.mod module path to github.com/sigbit/mcp-auth-proxy/v2.
  • Updated internal Go imports across packages and tests to use the /v2 module path.
  • Updated contributor/agent guidance to reflect the new local import prefix.

Reviewed changes

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

Show a summary per file
File Description
pkg/repository/sql.go Switches internal models import to the /v2 module path.
pkg/repository/kvs.go Switches internal models import to the /v2 module path.
pkg/mcp-proxy/main.go Updates internal package imports (auth, backend, idp, etc.) to /v2.
pkg/mcp-proxy/main_test.go Updates proxy import to /v2 for tests.
pkg/idp/idp.go Updates internal imports (auth, repository, utils) to /v2.
pkg/idp/idp_test.go Updates internal imports used by IDP tests to /v2.
pkg/auth/github.go Updates internal utils import to /v2.
pkg/auth/auth.go Updates internal utils import to /v2.
main.go Updates mcp-proxy package import alias to /v2.
go.mod Sets module path to /v2 to satisfy Go’s major versioning requirements.
AGENTS.md Updates import-order guidance to reference the /v2 local import prefix.

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

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@hrntknr hrntknr merged commit fb2d63e into sigbit:main Apr 13, 2026
11 of 12 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.

3 participants