From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_FAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 01208BC6C for ; Wed, 30 Jan 2008 15:13:41 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAADIVoEfAXQImh2dsb2JhbACQJwEBAQgKKZ8i X-IronPort-AV: E=Sophos;i="4.25,277,1199660400"; d="scan'208";a="8538716" Received: from discorde.inria.fr ([192.93.2.38]) by mail3-smtp-sop.national.inria.fr with ESMTP; 30 Jan 2008 15:13:41 +0100 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m0UEDeYr019669 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Wed, 30 Jan 2008 15:13:41 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAADIVoEdQW+UCh2dsb2JhbACQJwEBAQgKKZ8i X-IronPort-AV: E=Sophos;i="4.25,277,1199660400"; d="scan'208";a="8538714" Received: from main.gmane.org (HELO ciao.gmane.org) ([80.91.229.2]) by mail3-smtp-sop.national.inria.fr with ESMTP; 30 Jan 2008 15:13:40 +0100 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JKDh2-0002vM-H0 for caml-list@inria.fr; Wed, 30 Jan 2008 14:13:36 +0000 Received: from ks300734.kimsufi.com ([91.121.65.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jan 2008 14:13:36 +0000 Received: from sylvain by ks300734.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jan 2008 14:13:36 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: [OSR] Ports-like package management system Date: Wed, 30 Jan 2008 14:13:26 +0000 (UTC) Message-ID: References: <479F0664.2070706@exalead.com> <20080130123705.GA21900@pulp.rsise.anu.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ks300734.kimsufi.com User-Agent: slrn/0.9.8.1pl2 (Debian) Sender: news X-Miltered: at discorde with ID 47A08614.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; le-gall:01 berke:01 durak:01 berke:01 durak:01 foo:01 flags:01 dependencies:01 makefile:01 tarball:01 byte:01 tarball:01 makefile:01 revolution:98 kiss:98 On 30-01-2008, Pietro Abate wrote: > Hi all > > On Wed, Jan 30, 2008 at 09:06:29AM +0000, Sylvain Le Gall wrote: >> On 29-01-2008, Berke Durak wrote: >> > Assume you are writing a program FOO and want to use a package BAR >> > available from bar.org. You tell ocamlbuild by adding some tag such >> > as >> > >> > : require(http://bar.org/repository/) >> > >> > And when you run ocamlbuild, it automatically checks out a copy of >> > BAR, compiles and loads its myocamlbuild.ml module which adds the >> > required flags. Of course it should be possible to specify a >> > particular revision... And if BAR has itself dependencies, those too >> > would be checked out. > > My two cents here: > > I'd like to follow the lead from the idea above. I've the impression we > are not converging. I think if we want to succeed in this packaging > revolution we need to proceed is small steps. > [...] To make a short summary: * have a makefile with 4 targets in upstream tarball: opt, byte, clean, install * have a central repository with all the upstream tarball That is "keep it simple and stupide" (KISS)! That is great, easy and direct. I like it. I think we should add some variable to the makefile to define target installation et al, but that is technical details. The main idea fit to a progressive way of doing. Maybe at the beginning we should provide the Makefile as and external things (just like GODI). Regards, Sylvain Le Gall