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

x/tools/go/vcs: adding a go-import "mod" meta tag makes RepoRootForImportPath return "unrecognized import path" error #31845

dmitshur opened this issue May 5, 2019 · 1 comment


None yet
2 participants
Copy link

commented May 5, 2019

x/tools/go/vcs is significantly behind the upstream cmd/go/internal/get code,
and has no support for modules. It continues to implement mechanics for GOPATH mode only.

However, it currently breaks when a "mod" VCS type is added. That type is meant to be backwards compatible and should apply in module mode only. This package should ignore it.

This is similar to issue #24751 (that one applied to older versions of cmd/go).

@dmitshur dmitshur added the NeedsFix label May 5, 2019

@dmitshur dmitshur added this to the Unreleased milestone May 5, 2019

@dmitshur dmitshur self-assigned this May 5, 2019


This comment has been minimized.

Copy link

commented May 5, 2019

Change mentions this issue: go/vcs: ignore "mod" VCS type

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.