Re: Re: disabling dead pecl extensions from pecl install

From: Date: Sat, 04 Apr 2009 16:37:34 +0000
Subject: Re: Re: disabling dead pecl extensions from pecl install
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-6291@lists.php.net to get a copy of this message
On Sat, Apr 4, 2009 at 5:45 PM, Greg Beaver <greg@chiaraquartet.net> wrote: > Philip Olson wrote: >> Hello all, >> >> There are pecl extensions that people should not install, like filter >> and sqlite, so how might we disable them from installing via the pecl >> command? I don't think a note on the webpage is enough. >> >> Or in the very least add a clear message here that also refers to the >> alternative. And whether this takes into account the local PHP version I >> don't know. A simple version of the idea: >> >> $ pecl install filter >> Failed: This deprecated PECL extension should not be used >> Alternative: php-src/filter >> Reason: Moved to core >> >> Maybe allow: >> $ pecl install filter --force-i-really-really-mean-it > > Hi, > > if people shouldn't install it, then remove the package.  Otherwise, why > have it? History > Alternately, set the maximum PHP version in the php dependency, and the > installer will refuse to install it for newer PHP versions. Good idea, I will add a UI to allow one to set a maximum version for existing releases first, then to say that the package is not available anymore for any php version newer or equal to (it will change the xml data accordingly). -- Pierre http://blog.thepimp.net | http://www.libgd.org

« previous php.pecl.dev (#6291) next »