caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Gerd Stolpmann" <info@gerd-stolpmann.de>
To: "\"Daniel Bünzli\"" <daniel.buenzli@erratique.ch>
Cc: "Sylvain Le Gall" <sylvain@le-gall.net>, caml-list@inria.fr
Subject: Re: [Caml-list] Re: oasis packaging questions
Date: Fri, 9 Mar 2012 12:56:15 +0100	[thread overview]
Message-ID: <2bfeb18f8bbf72a2a0b4d1957707338b.squirrel@gps.dynxs.de> (raw)
In-Reply-To: <51ABA83377A9415BA19B3073BDDCE20F@erratique.ch>


> Le jeudi, 8 mars 2012 à 22:27, Sylvain Le Gall a écrit :
>
>> It does it the right way ;-)
>
>
> The "I'm going to vomit files across your whole file system so that you
> need another bureaucratic tool/database too keep track of what I did
> whenever you want to remove me" way. Sure if you're looking for a business
> model and more bureaucracy that's the way to do it the "right way". The
> key insight in things like gnu stow or homebrew is that this tool/database
> already exists, it's the file system itself, KISS principle. And this
> simplicity also allows you to deal very easily with multiple version
> installs of the same package.

You can call it KISS, but I would call it short-sighted. This has nothing
to do with bureaucracy. Imagine a package has also some utilities to
install (and feeled every second package has). You just don't want to have
to include tons of bin/ directories into your PATH. It does not scale
well, but just slows down your system.

There are just different sets of principles, and they have their pros and
cons. The simplicity argument is not always the striking one.

>> I would probably object to have html documentation in the $SITELIB of
>> findlib.
>
>
> To me that seems to be an ideological objection (debian related I guess),
> I don't see any technical objection. KISS should be applied here: I
> installed that package in that directory anything related to it is in that
> single directory.

That's really funny how you interpret this, but I guess this is just a
matter of perspective. findlib does not support subdirectories just
because I wanted to keep it lean, and to avoid adding features it does not
need for its core job. And the core job is to drive the compiler with the
right flags, and not to provide a container for storing files.


>
>> I think a CHANGES/README is light enough to be in $SITELIB as well.
>
> CHANGES and README light, html heavy ? For one thing keep it at least
> consistent either you choose to put nothing in SITELIB or everything. I
> don't want to have to lookup two different places for documentation.
>
>> To be honest, if it was the only problem I have to solve, I'll be happy
>> to spend hours on that.
>
> I don't think it's a good idea for the whole system to underestimate the
> importance of documentation.

I totally understand your point that you want to have a system that makes
it easy to hack around (it's clearly no fun with the complex guys).
However, I'm really wondering why docs are your first concern here? The
real hacker does not need docs :-)

Gerd


>
>> But all this need to be more widely discuss (with OCamlPro for
>> TypeRex, Maxence for .odoc/Cameleon, Gerd for ocamlfind and the rest
>> of the community to have a real agreement on this point).
>
>
> I'm all for it, but now that I'm in these things I want to move forward.
> So what should I write something like this (currently) nop ?
>
> Document xmlm
> Title: "Xmlm documentation and module reference"
> Format: html
> Index: Xmlm.html
> Install: true
> InstallDir: $docdir
> DataFiles: CHANGES README doc/*.html, doc/*.css
>
> Or should I make another Document for CHANGES README ?
>
>> Well _oasis can also go there, even though it will be a little bit a
>> duplicate with META...
>
>
> It also has much more information in a machine readable format. Like the
> home page of the project, the maintainers, maybe even the repos etc.
>
> Best,
>
> Daniel
>
>
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa-roc.inria.fr/wws/info/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
>
>


-- 
Gerd Stolpmann, Darmstadt, Germany    gerd@gerd-stolpmann.de
Creator of GODI and camlcity.org.
Contact details:        http://www.camlcity.org/contact.html
Company homepage:       http://www.gerd-stolpmann.de
*** Searching for new projects! Need consulting for system
*** programming in Ocaml? Gerd Stolpmann can help you.



  reply	other threads:[~2012-03-09 11:56 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-08  0:26 [Caml-list] " Daniel Bünzli
2012-03-08  8:31 ` [Caml-list] " Sylvain Le Gall
2012-03-08 15:36   ` Daniel Bünzli
2012-03-08 20:13     ` Sylvain Le Gall
2012-03-08 20:59       ` Daniel Bünzli
2012-03-08 21:27         ` Sylvain Le Gall
2012-03-08 22:39           ` Daniel Bünzli
2012-03-09 11:56             ` Gerd Stolpmann [this message]
2012-03-09 13:53               ` Daniel Bünzli
2012-03-09 18:42           ` Daniel Bünzli
2012-03-09 19:11             ` Sylvain Le Gall
2012-03-09 19:49               ` Daniel Bünzli
2012-03-09 20:35               ` Daniel Bünzli
2012-03-09 21:06                 ` Sylvain Le Gall
2012-03-08 21:40       ` Adrien
2012-03-08 22:26         ` Sylvain Le Gall
2012-03-08 22:59           ` Daniel Bünzli
2012-03-09 12:22           ` Anil Madhavapeddy
2012-03-09 13:01             ` Wojciech Meyer
2012-03-12  0:38             ` Francois Berenger
2012-03-16 13:56     ` Damien Doligez
2012-03-08 16:09 ` [Caml-list] " Jérémie Dimino
2012-03-08 16:19   ` Gerd Stolpmann
2012-03-08 21:10     ` [Caml-list] " Sylvain Le Gall
2012-03-08 16:36   ` [Caml-list] " Daniel Bünzli
2012-03-08 16:58     ` Jérémie Dimino
2012-03-08 19:11       ` Daniel Bünzli
2012-03-09  6:40   ` Stéphane Glondu

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=2bfeb18f8bbf72a2a0b4d1957707338b.squirrel@gps.dynxs.de \
    --to=info@gerd-stolpmann.de \
    --cc=caml-list@inria.fr \
    --cc=daniel.buenzli@erratique.ch \
    --cc=sylvain@le-gall.net \
    /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).