Skip to content

cmd/go: go mod mvs: explain MVS selection #33124

Closed
@jeanbza

Description

@jeanbza

Actually, I'm not sure if it should be go mod mvs, some different subcommand, or rolled into something like go mod why. But, what I'd like is something like:

$ go mod graph
cloud.google.com/go [email protected]
cloud.google.com/go github.com/foo/[email protected]
cloud.google.com/go google.golang.org/[email protected]
google.golang.org/[email protected] [email protected]
github.com/foo/bar [email protected]
$ go mod mvs
[email protected]
    [email protected]
    [email protected]
    [email protected]
github.com/foo/[email protected]
    github.com/foo/[email protected]
google.golang.org/[email protected]
    google.golang.org/[email protected]

I'm also not sure what the exact output should be. The above's output isn't great because it's not easily combined with things like go mod graph. Basically, I'm reaching for a way to get an explanation of which versions of modules were actually picked, and why they were picked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.GoCommandcmd/goNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.modules

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions