Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Bünzli Daniel" <daniel.buenzli@erratique.ch>
To: caml-list caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Re: On module distribution
Date: Tue, 15 Jan 2008 21:41:37 +0100	[thread overview]
Message-ID: <886B7896-B0EA-417A-99A9-DCB791FF09C7@erratique.ch> (raw)
In-Reply-To: <slrnfopj14.pne.sylvain@gallu.homelinux.org>

Le 15 janv. 08 à 14:38, Berke Durak a écrit :

> I think we should rather add to Ocamlbuild a module for calling  
> ocamlfind, parsing its output, etc. This way ocamlbuild plugins  
> could easily call ocamlfind, be it for configuration or compilation.

My problem with ocamlfind is that it takes too much control over me.  
Also it doesn't help you with the tedious publishing aspect (which I  
try to mitigate by using news feeds) and it won't help you with the  
binary update problem.

Le 15 janv. 08 à 16:07, Sylvain Le Gall a écrit :

> Unfortunately, a decentralized system has also several drawbacks:
[...]

Yes of course. But the point is that we already have a decentralized  
system. All these tarballs that are referenced from the hump and not  
part of godi. My aim is to be able to quickly install or publish such  
decentralized bits. Currently these two tasks take too much time:  
using them, because everyone does it its own way, publishing them,  
because you have to devise your own way (make a readme, think about  
how to structure the tarball how to manage releases, announce on the  
mailing list, etc.). The idea is to simplify all this uninteresting  
business to entice people to share their modules. Lowering the bar may  
mean a decrease in quality but in the end good modules and reliable  
publishers will be identified by the community.

Also note that the proposal in itself doesn't prevent the development  
of a more authoritative, centralized and stable source of packages.

> In fact, Debian user reading this will see that i am having the same
> sort of arguments that Debian has concerning the other distributions.
> Debian has developped a very centric repository for all its packages
> which other Linux distribution have not done. This tends to lead to  
> have
> more control on the QA of everything. Which is better to my mind.

If the aim is to support an operating system I completly agree with  
you. But the aim of my proposal is to support the ocaml development  
bazaar which is not the same thing.

>> 3. Manage packages per project (vs. per machine) to make project
>> dependencies explicit. Thus a single command can install you the
>> (OCaml + C stubs only) dependencies of your project on a fresh  
>> system.
>> If your project is a package itself, it facilitates its packaging .
>>
>
> I don't agree project and package are not the same thing. You should
> take into consideration that different distribution have different
> packaging policy.

That's not what I say. The _if_ of the last sentence is for when you  
are developing an ocaml library with dependencies in that case your  
project may become a package. If you are making an end-user  
application this should not be used as a distribution mechanism, I  
explicitly say that in the proposal, it is a tool for ocaml  
_developers_. But still from a developer perspective it is a good  
thing to have a mechanical way to track the external dependencies of  
your project whether this is an end-user application or not, hence  
packages should be (conceptually) managed per project.

Best,

Daniel

  reply	other threads:[~2008-01-15 20:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-15 11:20 Bünzli Daniel
2008-01-15 13:38 ` [Caml-list] " Berke Durak
2008-01-15 14:24   ` Gerd Stolpmann
2008-01-15 15:07 ` Sylvain Le Gall
2008-01-15 20:41   ` Bünzli Daniel [this message]
2008-01-15 20:56     ` [Caml-list] " Vlad Skvortsov
2008-01-16 10:19       ` Maxence Guesdon
2008-01-15 20:56     ` Will Farr
2008-01-15 21:27     ` Sylvain Le Gall
     [not found]   ` <b256a4c50801151610o54b86a6dv1e3b54616b6bd9f0@mail.gmail.com>
2008-01-16  0:11     ` Fwd: [Caml-list] " Jonathan Bryant
2008-01-16  5:26     ` Jonathan Bryant
2008-01-15 18:46 ` [Caml-list] " David Thomas

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=886B7896-B0EA-417A-99A9-DCB791FF09C7@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --cc=caml-list@yquem.inria.fr \
    /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