Skip to content

cmd/go: 'go list -mod=readonly -e' should attribute errors to individual missing packages #34829

Closed
@bcmills

Description

@bcmills

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.modules

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions