Re: Handling deprecated packages

From: Date: Wed, 13 Jun 2007 14:49:32 +0000
Subject: Re: Handling deprecated packages
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27465@lists.php.net to get a copy of this message
Laurent Laville wrote: > Mark Steudel a écrit : >> I was wondering what the correct way to handle deprecated packages like >> HTML_Common? Do you uninstall HTML_Common, or just install HTML_Common2? >> >> Thanks, Mark > > Hi all, Mark, > > I would like to keep warning to PEAR users that could have, like you, > idea to replace deprecated packages as suggested by a PEAR installer > message. > > With recent and fresh PEAR 1.6.0 installation, we have now such warning > messages ... but if you have still a PHP4 / PEAR 1.6.0 installation, > please DO NOT remove HTML_Common and replace it by HTML_Common2. > > Why ? Because HTML_Common2 is only for PHP5, as HTML_Quickform2. > > I think that such warning message that suggest to replace deprecated > package is a bit dangerous for pear newbies > > That's my point of view ! > > Sorry if i've not answered to your question, but I thought it was important Hi Laurent, This warning has been present since PEAR 1.5.0. PEAR 1.6.0 will refuse to install HTML_Common2 (or any package that depends on PHP 5) prior to download on a PHP4 installation, and so is not likely to cause a huge problem. Earlier PEAR versions would refuse to install PHP5-based packages after download, again causing no problem. However, it is probably possible to display minimum PHP version in the deprecated message as well, I'll investigate that Greg

« previous php.pear.general (#27465) next »