3 ms·
The minimal version selection addresses a problem that other package managers do not seem to : For transitive dependencies, it allows projects to use the versio
by sseth 9y ago
The minimal version selection addresses a problem that other package managers do not seem to : For transitive dependencies, it allows projects to use the version that direct dependency was actually tested with. This sounds like a good thing to have.
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.
- jhoechtl 9y agoAs 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. https://research.swtch.com/vgo-tour https://research.swtch.com/vgo-tour
- sseth 9y agoI 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