[opam-devel] [RFC] OPAM files as *the* OCaml package metadata format

Daniel Bünzli daniel.buenzli at erratique.ch
Wed Apr 13 15:57:12 BST 2016


Le mercredi, 13 avril 2016 à 16:31, Anil Madhavapeddy a écrit :
> Interesting idea. Do you have any specific consumers in mind for these files?

Build tool link helpers, documentation indexer, finder and viewers, etc.

> - The biggest problem I can see is that an individual OPAM file isn't much use without the surrounding repository in which it is evaluated. Where does that sit?
You'd have to assume that a certain directory structure is followed, like the one OPAM enforces at the moment.

$ROOT/{etc,lib,doc}/$PGK/
$ROOT/{bin}/

Of course this should be remappable by the consumers.

Daniel




More information about the opam-devel mailing list