Go doc command pulls the old version of the golang.org/x/pkgsite/cmd/internal/doc module
|
const version = "v0.0.0-20251223195805-1a3bd3c788fe" |
That version is missing the LICENSE file so module proxy does not cache it effectively.
We need to update the version.
$ go version
go version go1.26.1 darwin/arm64
$ go doc -http strings
go: downloading golang.org/x/pkgsite v0.0.0-20251223195805-1a3bd3c788fe
go: downloading golang.org/x/pkgsite/cmd/internal/doc v0.0.0-20251223195805-1a3bd3c788fe
^C^C^C^C^C^C^C^C^C^C^C^C^Cc^C
^C^C^C^X^C^Z
[1]+ Stopped go doc -http strings
Extra problems to follow up:
- As we release new go versions, it would be nice if we ensure this module to get updated like other golang.org/x dependencies.
- Ctrl+C didn't work when it got stuck. (Should I open a new issue)?
Go doc command pulls the old version of the golang.org/x/pkgsite/cmd/internal/doc module
go/src/cmd/go/internal/doc/pkgsite.go
Line 74 in dadc8a5
That version is missing the LICENSE file so module proxy does not cache it effectively.
We need to update the version.
Extra problems to follow up: