From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA29972; Wed, 21 Jan 2004 17:03:31 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA29074 for ; Wed, 21 Jan 2004 17:03:29 +0100 (MET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id i0LG3Jv17771; Wed, 21 Jan 2004 17:03:19 +0100 (MET) Received: from tintin.inria.fr (tintin.inria.fr [128.93.24.126]) by pauillac.inria.fr (8.7.6/8.7.3) with SMTP id RAA29592; Wed, 21 Jan 2004 17:03:19 +0100 (MET) Date: Wed, 21 Jan 2004 17:03:18 +0100 From: Maxence Guesdon To: Sven Luther Cc: skaller@tpg.com.au, erayo@cs.bilkent.edu.tr, caml-list Subject: Re: [Caml-list] Caml-get 0.1 Message-Id: <20040121170318.246e21e5.maxence.guesdon@inria.fr> In-Reply-To: <20040121155752.GA8564@iliana> References: <20040118174243.555a256e@haddock.max.fr> <1074561310.25914.32.camel@localhost.localdomain> <200401200437.30107.exa@kablonet.com.tr> <20040120111253.3e81ee04.maxence.guesdon@inria.fr> <1074693590.11497.16.camel@localhost.localdomain> <20040121151833.67a29f5c.maxence.guesdon@inria.fr> <20040121143535.GA6935@iliana> <20040121155452.459de8f0.maxence.guesdon@inria.fr> <20040121152156.GA7772@iliana> <20040121164220.32363600.maxence.guesdon@inria.fr> <20040121155752.GA8564@iliana> Organization: INRIA X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Loop: caml-list@inria.fr X-Spam: no; 0.00; maxence:01 guesdon:01 maxence:01 guesdon:01 caml-list:01 foo:01 cga:99 she:98 lib:01 her:97 compile:02 licence:03 algorithm:03 downloading:03 library:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > > In fact, I was thinking of the following algorithm: > > - the client does > > caml-get update http://foo.bar/archive.cga > > - then caml-get retrieves the archive, and for each element, look at the > > url of the license, retrieves it, and store it in the client reposito= ry, > > making it available to the use even when he/she is offline. >=20 > It should either not download the archive or put a fat warning if the > licence is not retrievable, but i think this is already your intention. Yes. "Je dirais m=EAme plus", when downloading an archive, only the element= s whose license can be retrieved will be added to the client repository.=20 =20 > > Caml-get is done to help the developer, by making use of *pieces* of > > code easier, thus not making his/her software depend on a library if it= only > > uses one or two functions of this library for example. This can be seen > > as way to distribute a software which otherwise would depend on a > > hard-to-install or no-packaged software. > >=20 > > But if a software heavily uses a library, it should rather really depen= d on > > this lib (that is: link with it) rather than use caml-get to copy-paste > > all the library. > >=20 > > Does it answer your question ? >=20 > Well, i was thinking of some way of automatically or semi-automatically > transforming a bit of caml-getted source into a proper debian package. I don't think so, then. caml-get has no information about how to compile, where to install,..., and is not intented to, since it is not a replacement for the "traditional" way of distributing code. - Maxence ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners