On 03/07/2012 10:47 AM, Daniel Bünzli wrote:
Okay. Would be nice to have the support in the tool and documentation
on how to make your own package source (basically GET on a
~/.odb/packages file ?). Package distribution should be distributed.

one file per package, filename is package name, contents are same format as rest of packages line but with \n between key=value pairs instead of space.

By 2) you mean what is described in "Local packages" here :
https://github.com/thelema/odb  ? Because the syntax for specifiying
deps is not documented.

Deps are just a comma-separated list of package names, with optional version numbers in parentheses. I'll document this in the packages file now.

IMHO a package should be identified by a name and version.

I've been thinking about this for a long time, and the full consequences of this involve not only deep changes to odb internals, but also expose the code to a ton more edge cases that need to be handled, as well as possibly some NP-hard problems of resolving version dependencies. Odb may go this way if needed, but the current practice of having a single string as the package identifier is sufficient for my use, so...

Pity. I like odb's down to earth approach.

You're more than welcome to fork and build a better odb. I may even steal any good ideas you have and put them back in my odb. :)

E.

--
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to