caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Edgar Friendly <thelema314@gmail.com>
To: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] odb questions
Date: Wed, 07 Mar 2012 10:58:13 -0500	[thread overview]
Message-ID: <4F578595.7050701@gmail.com> (raw)
In-Reply-To: <5DE1EE40F73548B89972BC0971BA23BA@erratique.ch>

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.

  reply	other threads:[~2012-03-07 15:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-07 12:32 Daniel Bünzli
2012-03-07 14:37 ` Edgar Friendly
2012-03-07 15:47   ` Daniel Bünzli
2012-03-07 15:58     ` Edgar Friendly [this message]
2012-03-07 16:28       ` Daniel Bünzli
2012-03-09 14:26       ` Daniel Bünzli
2012-03-09 16:26         ` Edgar Friendly
2012-03-09 16:47           ` Daniel Bünzli
2012-03-08  1:02   ` Francois Berenger
2012-03-08 13:29     ` Edgar Friendly
2012-03-08 15:41       ` Daniel Bünzli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F578595.7050701@gmail.com \
    --to=thelema314@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=daniel.buenzli@erratique.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).