Skip to content

cmd/go: direct dependencies may be marked indirect #70615

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

Closed
reverse-direction-god opened this issue Nov 29, 2024 · 3 comments
Closed

cmd/go: direct dependencies may be marked indirect #70615

reverse-direction-god opened this issue Nov 29, 2024 · 3 comments
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@reverse-direction-god
Copy link

Go version

go 1.23.2

Output of go env in your module/workspace:

google.golang.org/grpc cloud.google.com/[email protected]
google.golang.org/grpc github.com/client9/[email protected]
google.golang.org/grpc github.com/golang/[email protected]
google.golang.org/grpc github.com/golang/[email protected]
google.golang.org/grpc github.com/golang/[email protected]
google.golang.org/grpc github.com/golang/[email protected]
google.golang.org/grpc github.com/kisielk/[email protected]
google.golang.org/grpc [email protected]
google.golang.org/grpc golang.org/x/[email protected]
google.golang.org/grpc golang.org/x/[email protected]
google.golang.org/grpc golang.org/x/[email protected]
google.golang.org/grpc golang.org/x/[email protected]
google.golang.org/grpc golang.org/x/[email protected]
google.golang.org/grpc golang.org/x/[email protected]
google.golang.org/grpc golang.org/x/[email protected]
google.golang.org/grpc google.golang.org/[email protected]
google.golang.org/grpc google.golang.org/[email protected]
google.golang.org/grpc honnef.co/go/[email protected]

What did you do?

I hope to obtain the dependency tree of the go project using the go mod graph command. You can see some direct dependencies output by this command compared to the information in go.mod. Some of the dependencies in go.mod that have//direct annotations are considered direct dependencies in the output information of the go mod graph command

What did you see happen?

Some indirect dependencies in the go.mod file are considered direct dependencies after the output of the go mod graph

What did you expect to see?

At present, the go mod graph command cannot accurately display the dependency tree

@seankhliao seankhliao changed the title The recognition of indirect dependency errors in the dependency tree output by the go mod graph command as direct dependencies cmd/go: direct dependencies may be marked indirect Nov 29, 2024
@seankhliao
Copy link
Member

please include an actual reproducer.

@seankhliao seankhliao added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Nov 29, 2024
@gopherbot
Copy link
Contributor

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@gopherbot gopherbot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants