It defaults to the version of opam libraries, but in some cases (e.g.
ocaml-ci) it is useful to inject a value that comes from an external
This improves error messages by displaying Rejects first.
Expose diagnostics rolemap in Solver (@NathanReb #31).
Allows library users to provide extra help on error.
Cmdliner 1.1.0 compatibility (@dra27 #40)
Fix compiler warnings from new fmt (@talex5 #32).
opam-0install: Upgrade to opam 2.1.0~rc (@kit-ty-kate #29)
Upgrade to (lang dune 2.7) (@kit-ty-kate #29)
opam-0install-cudf: Remove unused (
cmdliner) and unnecessary (
for easier integration with opam.
opam-0install: Be explicit that
Okvalues are not passed to
opam-0install-cudf: Fix conflict detection (@kit-ty-kate #20)
opam-0install-cudf: Allow to tag packages as recommended when giving them to the solver (@kit-ty-kate #16)
Recommanded packages might or might not be chosen by the solver depending on whether
the most up-to-date Essential packages available are compatible with them.
Add an option to get the least up-to-date version of each packages (@kit-ty-kate #18)
Option available in both opam-0install and opam-0install-cudf libraries
as well as a new --prefer-oldest option to the opam-0install binary.
opam-0install-cudf: Remove the unnecessary dependency towards the opam library (@kit-ty-kate #15)
Documentation: Add a link to API docs in the README (@talex5 #14 #17)
Add a new
opam-0install-cudfpackage (@kit-ty-kate #11).
This uses opam's CUDF API, allowing the solver to be used directly from within opam.
Dir_context.std_envnow has some optional arguments, and also responds for
You will need to add an extra
()argument to it to upgrade.
Evaluate a package's
This isn't needed for
Switch_contextbecause the switch does it for us, but
Dir_contextcould return packages with
CONTEXTAPI (@talex5 #12).
candidatesnow returns either
Error pkgfor each package.
This is clearer than using an option type and avoids the need for a separate
loadfunction. It also makes it possible to filter packages based on the
content of the opam file without having to load it twice. We also no longer
bother loading the opam file for rejects (all we need is the name).