ocaml-opam / opam-0install-solver

a solver for opam packages using 0install's solver engine
ISC License
21 stars 13 forks source link

Add an option to get the least up-to-date version of each packages #18

Closed kit-ty-kate closed 4 years ago

kit-ty-kate commented 4 years ago

In a CI context it is sometimes useful to test the lower-bound constraints of dependencies, to ensure no state exist in which the package would fail to compile. By reversing the order of candidate versions we can get just that.

If you have a better idea than least_up_to_date / least-up-to-date for the name of such variable, feel free to propose something else.

kit-ty-kate commented 4 years ago

--prefer-oldest looks a lot better, I like it. I've just rebased my commits to include this renaming.