Skip to content

refactor!: change Go module path to github.com/privateerproj/pvtr - #313

Merged
jmeridth merged 1 commit into
mainfrom
refactor/module-path-pvtr
Sep 29, 2026
Merged

jmeridth merged 1 commit into
mainfrom
refactor/module-path-pvtr

Conversation

@jmeridth

Copy link
Copy Markdown
Member

What/Why

The repository is now privateerproj/pvtr, and this changes the Go module path to match. After this release, install with go install github.com/privateerproj/pvtr@latest. The old path fails for new versions with "module declares its path as github.com/privateerproj/pvtr". Older versions still install under the old path.

It also makes release-drafter resolve breaking to a minor bump while pvtr is pre-1.0. This release becomes v0.24.0 and still gets a Breaking Changes section.

Proof it works

make build, golangci-lint and test/install_test.sh pass. go install github.com/privateerproj/pvtr@99b293d builds a working binary, and the old path at the same commit fails with the expected "module declares its path" error.

Risk

Medium. Anyone installing with go install on the old path has to switch when they move to this version. install.sh, Homebrew and release archives are unaffected.

AI role

Claude Opus 5.5 made the change and ran the checks. A human reviews the PR.

Review focus

The release-drafter change: breaking resolves to minor until 1.0.

## What/Why

The repository is now privateerproj/pvtr, so the module path moves to github.com/privateerproj/pvtr to match. `go install github.com/privateerproj/privateer@<new version>` fails after this release with "module declares its path as github.com/privateerproj/pvtr". Install with `go install github.com/privateerproj/pvtr@latest` instead. Versions before this release still install under the old path.

release-drafter now resolves the `breaking` label to a minor bump while pvtr is pre-1.0. This release becomes v0.24.0 and still lists the change under Breaking Changes.

## Proof it works

make build passes (go vet, go test, binary). golangci-lint reports 0 issues, and test/install_test.sh passes.

## Risk

Medium. Anyone who installs pvtr with `go install` on the old path must switch paths when they move to this version. Pinned installs of older versions keep working. install.sh, Homebrew and release archives are unaffected.

## AI role

Claude Opus 5.5 made the change and ran the checks. A human reviews the PR.

## Review focus

The release-drafter change: `breaking` now resolves to minor until 1.0.

Signed-off-by: jmeridth <jmeridth@gmail.com>
@jmeridth jmeridth self-assigned this Sep 29, 2026
@jmeridth
jmeridth marked this pull request as ready for review September 29, 2026 13:45
@jmeridth
jmeridth requested review from a team and a balanced review from Copilot September 29, 2026 13:45
@jmeridth
jmeridth merged commit c36e986 into main Sep 29, 2026
12 checks passed
@jmeridth
jmeridth deleted the refactor/module-path-pvtr branch September 29, 2026 13:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The module references are consistent and the release resolver correctly implements the documented pre-1.0 behavior.

Review effort: Balanced
Findings: None

What changed in this PR

Updates the Go module path to match the repository and adjusts pre-1.0 release versioning.

Changes:

  • Migrates the module and internal import to github.com/privateerproj/pvtr.
  • Maps breaking changes to minor releases before 1.0.
File Description
main.go Updates the internal command import.
go.mod Changes the declared module path.
.github/​release-drafter.yml Resolves breaking changes as minor releases.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants