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

Closed
bcmills opened this issue Oct 10, 2019 · 1 comment
Labels
FrozenDueToAge modules NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@bcmills
Copy link
Contributor

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

@gopherbot
Copy link

Change https://golang.org/cl/209037 mentions this issue: cmd/go: test that 'go list -e -mod=readonly' reports errors correctly

@golang golang locked and limited conversation to collaborators Dec 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge modules NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

2 participants