Re:Go and Versioning: Minimal Version Selection
by jhoechtl on Thursday February 22, 2018 @12:56AM
(#16435435)
As I understand it right now,
vgo get -u
(As a reminiscence to go get -u) should do what you want.
I might missinterpret your need though.
Re:Go and Versioning: Minimal Version Selection
by sseth on Thursday February 22, 2018 @01:06AM
(#16435480)
I believe this will get the latest of all the dependencies, not just the direct ones. 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.
edit : I can of course do it one by one explicitly for B and C. But it would be nice to qualify e.g. : vgo get -u -directonly
Re:Go and Versioning: Minimal Version Selection
by yiyus on Thursday February 22, 2018 @05:35AM
(#16436640)
I think that is a fair request. Fill an issue?
Re:Go and Versioning: Minimal Version Selection
by sseth on Thursday February 22, 2018 @01:04PM
(#16439720)
Done. https://github.com/golang/go/issues/24042
Not sure if i did it right, since the default template seems to be for a bug and not a new feature request.
What would be nice would be a command to upgrade to latest of the direct dependencies - and then transitively pull in the latest version of packages they have been tested with.