-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Open
Labels
GoCommandcmd/gocmd/goNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.modules
Milestone
Description
Go version
go version go1.21.5 netbsd/amd64
What operating system and processor architecture are you using (go env)?
GO111MODULE=on
GOPATH=${WRKDIR}/.gopath
GOPROXY=file://${WRKDIR}/.goproxy
GOARCH="amd64"
GOHOSTOS="netbsd"
GOOS="netbsd"What did you do?
When building packages in pkgsrc (as in other similar systems), there is a rule that there should be no downloads during the build. Instead, all downloads are in a separate phase, with checksumming.
During the build, we set GOPROXY to a file URL, as per above.
What did you expect to see?
Any accesses to the "proxy" (which, again, is a local directory) still show a message like
go: downloading golang.org/x/tools v0.14.1-0.20231114185516-c9d3e7de13fd
What did you see instead?
I would not expect a message saying "downloading" when using a file URL. Maybe "using" or "accessing" would be better in this case.
See http://mail-index.netbsd.org/tech-pkg/2023/12/23/msg028661.html for a thread where someone was genuinely confused, thinking the message means modules are being downloaded over the network.
oseiberts11
Metadata
Metadata
Assignees
Labels
GoCommandcmd/gocmd/goNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.modules