Skip to content
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: go get fails [1.10 backport] #25690

gopherbot opened this issue Jun 1, 2018 · 2 comments


None yet
1 participant
Copy link

commented Jun 1, 2018

@rsc requested issue #25687 to be considered for backport to the next 1.10 minor release.

@gopherbot PLEASE backport Go 1.9 Go 1.10


This comment has been minimized.

Copy link

commented Jun 4, 2018

Change mentions this issue: [release-branch.go1.10] cmd/go: fix 'go get' compatibility for direct download of vgo-aware module


This comment has been minimized.

Copy link

commented Jun 4, 2018

Closed by merging fce993d to release-branch.go1.10.

@gopherbot gopherbot closed this Jun 4, 2018

gopherbot pushed a commit that referenced this issue Jun 4, 2018

[release-branch.go1.10] cmd/go: fix 'go get' compatibility for direct…
… download of vgo-aware module

CL 109340 added “minimal module-awareness for legacy operation.”
One part of that is reinterpreting imports inside code trees with go.mod files
as using semantic import versioning, and converting them back to
legacy import paths by stripping the major version element
(for example, interpreting import "" as import "").
This rewrite was not being applied during "go get", with the effect that once
you had the target code downloaded already, everything was fine,
but it didn't download and build successfully the first time.

Fixes #25687.
Cherry-pick fixes #25690.

Change-Id: I3e122efdc8fd9a0a4e66f5aa3e6a99f90c7df779
Run-TryBot: Russ Cox <>
TryBot-Result: Gobot Gobot <>
Reviewed-by: Bryan C. Mills <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.