Fix module path: cavalle -> invopop#2
Merged
Merged
Conversation
The go.mod declared the module as github.com/cavalle/tsk (a leftover from the original repo), but the module lives at github.com/invopop/tsk. This mismatch made `go install github.com/invopop/tsk@latest` fail with a "module declares its path as" error. Re-path the module to match its canonical location. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
go install github.com/invopop/tsk@latestfails with:The
go.modstill declared the module asgithub.com/cavalle/tsk(a leftover from the repo's origin), but the module now lives atgithub.com/invopop/tsk. Go enforces that the declared module path matches the path it's fetched from, so anygo install/go getagainst theinvopoppath is rejected.Fix
Re-path the module declaration in
go.modtogithub.com/invopop/tsk.This is a one-line change. The module is a single flat
package mainwith no internal cross-package imports, so nothing else referenced the old path (the README already documents the correctinvopoppath).Verification
go build ./...✅go test ./...✅go install github.com/invopop/tsk@latestwill resolve cleanly against a fresh pseudo-version.🤖 Generated with Claude Code