Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
proposal: cmd/go: enable listing direct dependency updates #40364
The recommended approach to listing available module updates is to run the following command.
This displays every dependency along with newer available versions.
I propose a mechanism for limiting the
Relates to #40323
The provided solution uses
I don't think it's reasonable to expect users to type this out every time. A bash alias can be created, but that's not portable and has the same problems as using an external tool (you have to know about it, and set it up).
The common use-case for people developing module tooling is not the same as for people consuming the module tooling. I think that most people just want to know if they have any dependencies to
edit: I suppose what I actually want is a veneer on top of
I think this would be good to have. It's pretty common to want to list or upgrade direct dependencies of packages in the main module. It's too hard to do that with