Re: RFC : pear metadata location.

From: Date: Mon, 27 Aug 2012 13:59:02 +0000
Subject: Re: RFC : pear metadata location.
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-55011@lists.php.net to get a copy of this message
On Tue, Aug 21, 2012 at 1:44 AM, Remi Collet <remi@fedoraproject.org> wrote: > Hi, > > pear/pecl stores its metadata under "installdir" / "php_dir" > > .channels > .depdb > .filemap > .registry > > Under linux, according to FHS, this metadata should not be in this > location. > > Goal : allow to use different location, such as: > > /usr/share/pear for php file installation (in the PHP include_path) > /var/lib/pear for the metadata > > > Proposal : > Create a new configuration option "metadata_dir" which allow to > explicitly set this location. Of course, default value will be the same > as actually. > > > I will prefer some feedback before working on this change an submitting > a pull request on github. > I understand the interest in making things configurable, but keep in mind, another configuration directory makes these repositories harder to share. You could switch to using Pyrus, which has this problem solved already. Having everything self-contained is really important. That's why we've tried to bring everything about the repository into a single directory with Pyrus: .pear2registry .xmlregistry/ data/ docs/ php/ tests/ -- Brett Bieber

« previous php.pear.dev (#55011) next »