-
Notifications
You must be signed in to change notification settings - Fork 18k
x/vgo: canonical import path checking breaks some existing packages #24102
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
Comments
Dup of #23974 I believe. |
I agree this is a duplicate. Closing in favor of linked issue in previous comment. |
FWIW I don't think this is exactly the same issue, as the repository in question here has neither been redirected or renamed. |
I'd suggest reopening this issue @kardianos - it's not about renames.
|
Probably this check is too picky, but I'm not 100% sure what to replace it with. FWIW, it's not the case that vgo just rejects upper-case letters (it's rejecting lower case for altoros). It rejects import paths that don't match the spelling used on GitHub, specifically to avoid thinking that github.com/Altoros/gosigma and github.com/altoros/gosigma are different import paths. Note that the github account is Altoros not altoros. |
just out of curiosity @rsc do you mind if I ask why it can't be made to fetch the repo into the expected path (it resolved, seems like an error should only occur if resolution fails entirely); I'm sure I'm missing something obvious I'd just like to know what it is? 😄 |
Since AFAIK the case mismatch doesn't seem to prevent stock Making this a |
Change https://golang.org/cl/107657 mentions this issue: |
go version devel +104445e Wed Feb 7 19:22:09 2018 +0000 linux/amd64 vgo:2018-02-20.1
I'm creating this issue to record the issue. It may be that nothing should be done but get the repo to fix their import paths.
See https://github.com/Altoros/gosigma/issues/2
This issue causes vgo to fail with this error:
It imports OK when using the normal go tool.
The text was updated successfully, but these errors were encountered: