Re: [Caml-list] odb questions

2012-03-09 Thread Edgar Friendly
On 03/09/2012 09:26 AM, Daniel Bünzli wrote: Without going into the dependency resolving thing, I still think it's an issue. Basically with odb you don't really know what you are downloading. http://oasis.ocamlcore.org/dev/odb/ This page shows the stable, testing and unstable versions of each

Re: [Caml-list] odb questions

2012-03-09 Thread Daniel Bünzli
Le vendredi, 9 mars 2012 à 17:26, Edgar Friendly a écrit : http://oasis.ocamlcore.org/dev/odb/ Ah missed that. Maybe you should mention the link in the README.md (searching for odb ocaml on the web brings me directly to github). While I agree it'd be nice to just parse oasis files,

Re: [Caml-list] odb questions

2012-03-08 Thread Edgar Friendly
On 03/07/2012 08:02 PM, Francois Berenger wrote: Wouldn't it be possible to have 'odb remove foo' just call 'ocamlfind remove foo'? Yes, this is possible. Most details of this are already implemented; the code to do `ocamlfind remove foo` is already implemented as part of --force for

Re: [Caml-list] odb questions

2012-03-08 Thread Daniel Bünzli
Le jeudi, 8 mars 2012 à 14:29, Edgar Friendly a écrit : For myself, when I want to remove something installed by odb, I usually just nuke my whole ~/.odb directory and reinstall the packages I want to keep. I like your down to earth approach ! Daniel -- Caml-list mailing list.

[Caml-list] odb questions

2012-03-07 Thread Daniel Bünzli
Hello, A few questions about odb. 1) Is it possible to specify in ~/.odb/packages a remote packages file (instead of just individual remote packages) ? 2) How does odb find out and manage dependencies ? How can I list them before installing a package ? 3) Are multiple versions of the same

Re: [Caml-list] odb questions

2012-03-07 Thread Edgar Friendly
On 03/07/2012 07:32 AM, Daniel Bünzli wrote: Hello, A few questions about odb. 1) Is it possible to specify in ~/.odb/packages a remote packages file (instead of just individual remote packages) ? Not at the moment, but this is an interesting idea. The only support for remote packages is

Re: [Caml-list] odb questions

2012-03-07 Thread Daniel Bünzli
Le mercredi, 7 mars 2012 à 15:37, Edgar Friendly a écrit : Not at the moment, but this is an interesting idea. The only support for remote packages is the querying of oasis-db. The protocol is nearly trivial, so you're welcome to make your own server (can be just a plain web server serving

Re: [Caml-list] odb questions

2012-03-07 Thread Edgar Friendly
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,

Re: [Caml-list] odb questions

2012-03-07 Thread Daniel Bünzli
Le mercredi, 7 mars 2012 à 16:58, Edgar Friendly a écrit : 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

Re: [Caml-list] odb questions

2012-03-07 Thread Francois Berenger
On 03/07/2012 11:37 PM, Edgar Friendly wrote: [...] Except I don't intend odb to scale. It's hovering right around 500 lines of code, and if I can keep it around that size, I'll be happy. I don't intend odb to ever have a `odb remove foo` command Hi, Wouldn't it be possible to have 'odb