Re:Go += Package Versioning
by munificent on Tuesday February 20, 2018 @07:59PM
(#16425877)
As far as I know, that problem is effectively unsolvable. For most real-world-sized dependency graphs, the set of all valid combinations of dependency versions is heat-death-of-the-universe huge.
[ Parent
| on HN ]
Re:Go += Package Versioning
by binarycrusader on Wednesday February 21, 2018 @04:50PM
(#16433284)
The way the system I worked on "solved it" was to provide another layer of constraints called "incorporations" that effectively constrained the allowed versions used to resolve dependencies to a version that was delivered for a given OS build. Administrators could selectively disable those constraints for some packages, at which point resolution was solely based on the "standard" dependencies. But by default, dependencies would "resolve as expected".
The "incorporate" dependencies are described here: https://docs.oracle.com/cd/E26502_01/html/E21383/dependtypes...