Re: [PEAR-DEV] RFC : pear metadata location.
[email protected] (Brett Bieber)
| Newsgroups | php.pear.dev |
|---|---|
| Message-ID | <CAF6z_LK7ioqD6VGAhcoq9cLDVAYNJQAnZTRzF5sMqCqfiALmow@mail.gmail.com> |
On Tue, Aug 21, 2012 at 1:44 AM, Remi Collet <[email protected]> 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