From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q27FwMll005476 for ; Wed, 7 Mar 2012 16:58:22 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQBAKeEV0/RVda2kGdsb2JhbABDgwmCK69bCCIBAQEBCQkNBxQEI4IKAQEBAwESAg8PAQUIARscAQEDAQsGBQsNAgIFFgsCAgkDAgECARERAQUBHAYNAQcBAR6HYQWbawqLKEyCcYVIP4h0AQEEC4EkjiqBFgSIUoxvhWSBOocbPYQi X-IronPort-AV: E=Sophos;i="4.73,545,1325458800"; d="scan'208";a="134872073" Received: from mail-tul01m020-f182.google.com ([209.85.214.182]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 07 Mar 2012 16:58:17 +0100 Received: by obbwc7 with SMTP id wc7so13794995obb.27 for ; Wed, 07 Mar 2012 07:58:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=+dQTFkotsO4O1VCb9h6VcqLnV9LtOzD4oIfE9dA8R6s=; b=gLhFERp0wkJub9/xcfQFjjx68YQxDvIsZqjDUYrQQrALwJc+f+qIhQpRABXONbPxbH iRVRyBAVvDRClSbUG3cZTd50gW+4RS/HO/8CKvtqsIvlEF42aOY4wp8HyixdeXe9nRPV AllZTEaKfRjz2GuaSclTd732yvxW8NUBcjKoxDmbY6+3ZJbWMkqxi8hT+oSROwe4Z47j qNKeIr7ZGBMUOS23lRW8ZyQ/XjzgQD7w0eVgUFzQpuamRMYgqngeq1AR28oBCvxfi/7O 1nS83tdij+rBCHbtKJWRq8Qct6DLCSvRJABZ4C/DYYtN9qOsGkOXfeD3cs9yl0z8lyw9 NqAQ== Received: by 10.182.155.68 with SMTP id vu4mr959593obb.61.1331135895812; Wed, 07 Mar 2012 07:58:15 -0800 (PST) Received: from [192.168.1.65] (99-121-78-10.lightspeed.lnngmi.sbcglobal.net. [99.121.78.10]) by mx.google.com with ESMTPS id g4sm2295350oeg.5.2012.03.07.07.58.14 (version=SSLv3 cipher=OTHER); Wed, 07 Mar 2012 07:58:15 -0800 (PST) Message-ID: <4F578595.7050701@gmail.com> Date: Wed, 07 Mar 2012 10:58:13 -0500 From: Edgar Friendly User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: =?UTF-8?B?RGFuaWVsIELDvG56bGk=?= CC: caml-list@inria.fr References: <35CD2569B25340E28784ABDB2505BDC2@erratique.ch> <4F577292.1070502@gmail.com> <5DE1EE40F73548B89972BC0971BA23BA@erratique.ch> In-Reply-To: <5DE1EE40F73548B89972BC0971BA23BA@erratique.ch> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Caml-list] odb questions 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.