x/vgo: add ability to report list of directly imported modules #24042
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
A common pattern with the minimal version selection would be for each module owner to update to the latest applicable version of their direct dependencies, but accept the minimal version for any transitive dependency.
For example, if my module A depends on B and C, which both in turn depend on D, i want the latest of B and C only, and then transitively pull in the minimal version D compatible with B and C.
At this point i have a command "vgo get -u" which will get me the latest of B and C, but also D, which i may not want. The request is for something like "vgo get -u -directonly", which would restrict the upgradation to the latest versions of the direct dependencies B and C.
The text was updated successfully, but these errors were encountered: