conflict with PEAR2 standards and PEAR 1
| From: | Greg Beaver | Date: | Mon, 25 May 2009 16:40:38 +0000 |
| Subject: | conflict with PEAR2 standards and PEAR 1 | ||
| Groups: | php.pear.core | ||
| Request: | Send a blank email to pear-core+get-8436@lists.php.net to get a copy of this message | ||
Hi,
I'm finding it nearly impossible to reconcile a difference between PEAR2
and PEAR. As you know, the name of the source directory for role="php"
in PEAR is "php", and in PEAR is "src."
What this means is that it is actually impossible to install PEAR 1.x
packages alongside PEAR packages, as Pyrus will use the hard-coded src/
directory for role=php, and this is not editable by design, as we need
to be able to rely upon this for role="www" files to be able to locate
the role="php" and role="data" files.
There are two ways to handle this:
1) only support Pear 1.x registry as read-only
2) change src/ to php/
#1 will make it harder to upgrade, and will slow things tremendously
#2 would solve the problem without any pain.
I think you can tell what I would vote for. Practicality is much more
important than the name of the source directory.
Thanks,
Greg