-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: "downloading" message is misleading when GOPROXY points to a local directory #64853
Comments
“copying” would probably be a better word in this case. |
Change https://go.dev/cl/554035 mentions this issue: |
Hmm. In general @bsiegert, as an alternative, could you set |
We probably could but it's not a 1:1 replacement. The format of GOMODCACHE is pretty different. |
Generally the |
Go version
go version go1.21.5 netbsd/amd64
What operating system and processor architecture are you using (
go env
)?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 afile
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
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.
The text was updated successfully, but these errors were encountered: