From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id E22167EE51 for ; Thu, 30 May 2013 09:18:16 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of sebastien-ocaml@chimrod.com) identity=pra; client-ip=212.27.42.1; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="sebastien-ocaml@chimrod.com"; x-sender="sebastien-ocaml@chimrod.com"; x-conformance=sidf_compatible Received-SPF: PermError (mail3-smtp-sop.national.inria.fr: cannot correctly interpret sender authenticity information from domain of sebastien-ocaml@chimrod.com) identity=mailfrom; client-ip=212.27.42.1; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="sebastien-ocaml@chimrod.com"; x-sender="sebastien-ocaml@chimrod.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp1-g21.free.fr) identity=helo; client-ip=212.27.42.1; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="sebastien-ocaml@chimrod.com"; x-sender="postmaster@smtp1-g21.free.fr"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnkCABT8plHUGyoBk2dsb2JhbABZgzmDO75MAgGBARYOAQEBAQcLCwkUAyWCIwEBBSMPAQVRBAcYAgISAQUOAgIsKwYbiAkIp1qSEIEmh2qFNlQSAQOCLYEUA5hkkyiBaAcX X-IPAS-Result: AnkCABT8plHUGyoBk2dsb2JhbABZgzmDO75MAgGBARYOAQEBAQcLCwkUAyWCIwEBBSMPAQVRBAcYAgISAQUOAgIsKwYbiAkIp1qSEIEmh2qFNlQSAQOCLYEUA5hkkyiBaAcX X-IronPort-AV: E=Sophos;i="4.87,769,1363129200"; d="scan'208";a="16155598" Received: from smtp1-g21.free.fr ([212.27.42.1]) by mail3-smtp-sop.national.inria.fr with ESMTP; 30 May 2013 09:18:13 +0200 Received: from goku.chimrod.com (unknown [88.172.128.238]) by smtp1-g21.free.fr (Postfix) with ESMTP id 4CAF6940250 for ; Thu, 30 May 2013 09:18:09 +0200 (CEST) Received: by goku.chimrod.com (Postfix, from userid 33) id BFD541FDDE; Thu, 30 May 2013 09:18:07 +0200 (CEST) To: X-PHP-Originating-Script: 0:main.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 30 May 2013 09:18:07 +0200 From: =?UTF-8?Q?S=C3=A9bastien_Dailly?= In-Reply-To: References: Message-ID: <3da55d6fccc845346c96c7af502cc706@chimrod.com> X-Sender: sebastien-ocaml@chimrod.com User-Agent: Roundcube Webmail/0.7.2 Subject: Re: [Caml-list] Re: ~/.opam design Le 2013-05-29 23:29, Florent Monnier a écrit : > 2013/05/29, Mr. Herr wrote: > [...] >> There are certainly advantages in the ~/.opam design decision, but I >> have >> yet to find out how to roll out my ~/.opam libraries for production. > > I do like this design. It's very logic. > Install in the user's home is just the default behaviour. > Moreover if you want to install in the system you should login as > root, then just change the defaults for the root user to install in > the system. > Maybe is the subject now closed, and I'm answering too late, but I'll greatly appreciate if opam could follow the XDG Directory design[1] : $XDG_CONFIG_HOME/opam (default ~/.config/opam) for the configuration $XDG_DATA_HOME/opam (default ~/.local/opam) for the package and all datas This allow to stop the polution in the users ~ , and give the user a way to define it's own path. [1] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html -- Sébastien Dailly