cmd/go: go install downloads too much #45004
Labels
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
ToolSpeed
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
I expected to see only sqlboiler/v4 downloaded installed.
What did you see instead?
I additionally saw it downloading source for versions I was not interested in at all nor appear to be part of the dependency tree. Note the extraneous downloads of the source for
v1.0.0
andv3.7.1+incompatible
.Inside the project in question, I tried some queries to see if maybe there was something pulling in the old versions:
Also as a completely separate nit trying
go list all
without changes in the repo produces the error:Running this command changes nothing and the error continues, the fix is in fact running
go mod download
which adds many lines to thego.sum
file. Perhaps I should add these and commit them as the maintainer of the package.The text was updated successfully, but these errors were encountered: