[opam-devel] 'provides' field design proposal

Anil Madhavapeddy anil at recoil.org
Tue Jan 6 15:39:18 GMT 2015


Looks great, Louis!  My immediate thoughts:

- This does have the potential to complicating pinning quite a lot, which
 needs to be balanced against the better upgrade messages.  Do you think 
 this will need a package selection priority the way that apt-pinning in
 Debian works (e.g. so that ocaml-tls can be selected ahead of openssl-tls
 for the TLS package).

- The forking and providing replacements would be really useful for Mirage,
 where we're having an active discussion about how to provide Xen-specific
 versions of certain packages such as Zarith.  Thomas (with any surname),
 opinions on this?

- How much damage will this do to the internal solver heuristics?

-anil

> On 5 Jan 2015, at 08:36, Louis Gesbert <louis.gesbert at ocamlpro.com> wrote:
> 
> Hi all, and happy new year !
> 
> I just added to opam a design proposal to open discussion on the implementation of the 'provides' field and its use-cases.
> 
> It's at https://github.com/ocaml/opam/blob/master/doc/design/provides.md
> 
> Cheers,
> Louis
> _______________________________________________
> opam-devel mailing list
> opam-devel at lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel
> 



More information about the opam-devel mailing list