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: list module directory should show correct import path #26550

Closed
rsc opened this issue Jul 23, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@rsc
Copy link
Contributor

commented Jul 23, 2018

In general, go list -f {{.ImportPath}} $(go list -f {{.Dir}} x/y/z) should print x/y/z (or fail because x/y/z is not known).

Directories in the module cache are not properly mapped back to the shorter import paths.
(Of course that should only happen when that exact module version is in the build list.)

@rsc rsc added this to the Go1.11 milestone Jul 23, 2018

@rsc rsc added the release-blocker label Jul 28, 2018

@gopherbot

This comment has been minimized.

Copy link

commented Jul 30, 2018

Change https://golang.org/cl/126715 mentions this issue: cmd/go: allow list of absolute directory path

@gopherbot gopherbot closed this in cdac6c2 Aug 1, 2018

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.