Skip to content

x/pkgsite: Issue with Module Path Mismatch and pkg.go.dev Indexing for github.com/hireza/go-capture #71194

Closed as not planned
@hireza

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

current:
image
it should be
image

What did you do?

  1. Created a Go module repository at https://github.com/hireza/go-capture.
  2. Initially, the go.mod file contained the following module declaration:
module go-capture
  1. Tagged the first version of the module with:
git tag v1.0.0
git push origin v1.0.0
  1. Later discovered that the module declaration in go.mod did not match the expected path (github.com/hireza/go-capture), causing issues with dependency resolution.

  2. Updated the go.mod file to fix the module declaration:

module github.com/hireza/go-capture
  1. Pushed the changes with a new version tag:
git tag v1.0.1
git push origin v1.0.1
  1. After identifying an issue with the changes, force-pushed the v1.0.0 tag again:
git push origin v1.0.0 --force
  1. 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
image

What did you expect to see?

should be v1.0.0, Jan 9, 2025
image

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions