Re: Re: [QA Team] Net_URL 2.0.0 release removed - Please fix and resubmit

From: Date: Tue, 29 Jun 2004 10:11:45 +0000
Subject: Re: Re: [QA Team] Net_URL 2.0.0 release removed - Please fix and resubmit
References: 1 2 3 4  Groups: php.pear.qa php.pear.core 
Request: Send a blank email to pear-core+get-407@lists.php.net to get a copy of this message
Cipriano Groenendal wrote:
Richard expressed his refusal to rename the class on IRC. Cox agreed with him, saying that he didn't have to rename it. So he added the php5 requirement and re-uploaded, so it should not install if an incompatible version of php is used. The API has remained the same. The only difference is that it is now rewritten for php5 strict.
So what would happen with a PHP4 install without Net_URL? [root@server root]# pear install Net_URL downloading Net_URL-2.0.0.tgz ... ...done: 5,173 bytes requiers PHP version >= 5.0.0 Net_URL: Dependencies failed Result: No installed version of Net_URL. Unless the user knows about the previous version, he'd be unable to installed the entire package, eventhough there's an older version that will install. The 2.0.0 release should be pulled, like Lukas(?) did again just now, and it should be released as a Net_URL2
Well I just talked to Richy. It may be possible that we can come up with a better solution for the case where a php5 version remains API compatible beyond depending on php5 language constructs. The reason for the renaming is two fold: 1) make it easy to have the muliple major version packages installed in parallel 2) to be able to have modules using different major versions in one process Anyone who has php4 and php5 installed will probably have separate pear paths. Or should have. So for this case 1) is not an issue If the php5 version is API compatible with the php4 version any code written for the php4 version should run on php5 fine with the php5 version. So for the special case that the php5 version is api compatible with the php4 version I can see that we may get around the new major version requirement. But for this reason it needs to be handled differently than a new major version. Instead it should be the same major version in multiple variations for specific php releases. This would also prevent the above mentioned issue. Btw: this just came to mind .. it would be nice if one could specify special messages for a user for specific events in the installer .. like if the user upgrade from foo to bar echo this notice .. regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

« previous php.pear.core (#407) next »