Re: dependencies and applications

From: Date: Thu, 21 Aug 2003 00:59:51 +0000
Subject: Re: dependencies and applications
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-20192@lists.php.net to get a copy of this message
Perhaps a transition - pear/MDB.php will still be available, but removed in a later date and replaced with a file that throws a warning before including pear/MDB/2.0/MDB.php (or whatever the latest version is) so that it still works, but displays a warning? Greg Davey wrote:
Greg Beaver wrote:
Lastly, we need to think about having some sort of "slot" system such
as they have in Gentoo for their ports, whereby you can install more than one major version of an application. This will mean some changes to the folder structure, and if it happens should be done ASAP so that we can just get the change over and done with IMO. I suggest something along the lines of: $php_dir/pear/MDB/1.0/MDB.php and $php_dir/pear/MDB/2.0/MDB.php
This is better. I really like this idea, and it would work beautifully for dependencies. Definitely a PEAR 2.0 must. Greg
I really feel that if we're going to do this, we should either get 2.0 out really soon, or do it in 1.x (bad). Otherwise there will be too many scripts relying on the current path system and a change to this is going to be met with too much resistance. - Davey


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