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 list -mod=readonly -e' should attribute errors to individual missing packages #34829

Open
bcmills opened this issue Oct 10, 2019 · 0 comments
Labels
Milestone

Comments

@bcmills
Copy link
Member

@bcmills bcmills commented Oct 10, 2019

This issue is pulled out from #29452 (comment).

I believe that go list -mod=readonly -e currently fails the entire command (and does not generate output for any package) if any package in the import graph cannot be resolved from a module already present in the go.mod file.

It should not: instead, it should report errors for the specific packages that could not be resolved from the existing dependencies.

CC @jayconrod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.