x/pkgsite: Issue with Module Path Mismatch and pkg.go.dev Indexing for github.com/hireza/go-capture #71194
Closed as not planned
Closed as not planned
Description
What is the URL of the page with the issue?
https://pkg.go.dev/github.com/hireza/go-capture
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Screenshot
What did you do?
- Created a Go module repository at
https://github.com/hireza/go-capture
. - Initially, the
go.mod
file contained the following module declaration:
module go-capture
- Tagged the first version of the module with:
git tag v1.0.0
git push origin v1.0.0
-
Later discovered that the
module
declaration ingo.mod
did not match the expected path (github.com/hireza/go-capture
), causing issues with dependency resolution. -
Updated the
go.mod
file to fix the module declaration:
module github.com/hireza/go-capture
- Pushed the changes with a new version tag:
git tag v1.0.1
git push origin v1.0.1
- After identifying an issue with the changes, force-pushed the
v1.0.0
tag again:
git push origin v1.0.0 --force
- Attempted to reindex the module on
pkg.go.dev
by visiting the module’s page and updating the version, but the issue persisted.
What did you see happen?
still older version Jan 8, 2025