Re: conflict with PEAR2 standards and PEAR 1

From: Date: Wed, 27 May 2009 18:10:24 +0000
Subject: Re: conflict with PEAR2 standards and PEAR 1
References: 1 2 3  Groups: php.pear.core 
Request: Send a blank email to pear-core+get-8444@lists.php.net to get a copy of this message
Hi Greg, > If you install PEAR with the PEAR installer, PEAR.php goes into > /usr/local/lib/php/PEAR.php. Install it with Pyrus, it goes in > /usr/local/lib/src/PEAR.php. So, if you install a package with Pyrus, > the behavior is different. Any attempts to make the behavior the same > result in much more complex code, similar to the cruft that the PEAR > installer has dealing with package.xml 1.0. Frankly, I don't see any > benefit in making the change to src/ aside from cosmetics, and it > introduces much more complexity into the installer and thus much > higher potential for bugs and wtf errors. > > It also means that we can't simply create a mapper script for Pyrus so > that a "pear" script can call pyrus.phar, because installation will > suddenly start ignoring the php_dir configuration variable and putting > everything into src/. Literally 100% of existing PEAR installations > install into php/, so we will be breaking BC in a rather large way for > the sake of cosmetics. > > Does this clarify? It does indeed. I'm fully with you here; change src to php. Besides that, pyrus is your baby. Get it going! I doubt there will be much response from the group. -- Regards/Mit freundlichen Grüßen Christian Weiske -= Geeking around in the name of science since 1982 =-

Attachment: [application/pgp-signature] signature.asc
« previous php.pear.core (#8444) next »