caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Sylvain Le Gall <sylvain@le-gall.net>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: oasis packaging questions
Date: Thu, 8 Mar 2012 21:59:23 +0100	[thread overview]
Message-ID: <1ACBE325A80144A4885B44685F6E9028@erratique.ch> (raw)
In-Reply-To: <CAOCAUGMSw26s2m4-a9t98Mx+c43wyNcOjtHauj-OC8Mh6-w+Mg@mail.gmail.com>

> I don't think I'll be able to integrate the Object section in 0.3. I
> am really planning to release it soon.

  
For me you can forget about it. Jérémie convinced me that even for single module libraries cma is better (see discussion on list).  

> I just had a quick look at your
> git repository and I don't think there will be a difference for user
> if it is a .cma (as long as they use ocamlfind).

  
I also think so.  

> Never try autoconf ;-)

Never did ! Always scared me away.  

> OK, so first of all you are talking about the odb/GODI/oasis-db level.
> OASIS itself is not meant to handle that directly. There will be a
> plugin "oasis-db" that will allow you to do "oasis install xmlm" and
> "oasis uninstalll xmlm" and fetch the source from
> http://oasis.ocamlcore.org but this is the future and this won't be
> the core oasis system. You can have a look at odb that allow you to
> already do that after having uploaded your package to
> http://oasis.ocamlcore.org.
>  
> Concerning the ocamlfind install + documentation. I understand you but
> it is technically not feasible right now (AFAIK). Simple fact:
> ocamlfind cannot install files in subdirectories.


Ok interesting fact. This raises a few comments/questions.  

1) You tell me that's none of oasis business. But setup.ml sports a -install option so you actually deal with installing things (even if its via ocamlfind). More than that the examples I saw for Document sections are along the lines of copying things to a specific $htmldir so oasis seems to deal with that... At least that's the place where *something* should happen so that the right info gets to the right place.

2) How does godi et al. handle documentation ? I know for sure that odb doesn't do anything about it.

3) Would ocamlfind consider extending its approach to be able to install files in subdirectories ?

I really think that easy access to README, CHANGES and other bits like ocamldoc generated doc is paramount in a good package system since you don't get to see the tarballs anymore. I try to do my best and spend long hours on the documentation of the things I distribute (doesn't mean it's perfect, I sometimes don't understand what I wrote myself...), I want them to be somehow easily accessible (and easily destroyable).  

Can't we agree on something at that level ?  

Best,

Daniel

P.S. Btw. setup.ml -install should maybe also install the _oasis files.


  reply	other threads:[~2012-03-08 20:59 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 [this message]
2012-03-08 21:27         ` Sylvain Le Gall
2012-03-08 22:39           ` Daniel Bünzli
2012-03-09 11:56             ` Gerd Stolpmann
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=1ACBE325A80144A4885B44685F6E9028@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --cc=caml-list@inria.fr \
    --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).