Re: cvs: pear /Net_URL URL.php package.xml /Net_URL/docs example.php
| From: | Tomas V.V.Cox | Date: | Sat, 26 Jun 2004 19:39:17 +0000 |
| Subject: | Re: cvs: pear /Net_URL URL.php package.xml /Net_URL/docs example.php | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31221@lists.php.net to get a copy of this message | ||
Daniel Convissor wrote:
On Sat, Jun 26, 2004 at 05:05:02PM +0200, Tomas V.V.Cox wrote:The main reason is general usability. User cases: $ pear install Net_URL downloading beep needs php5 At this point the user should go to the web and find the first non PHP5 version of Net_URL, then give that exact version to "install". With this new tag: User with PHP5: $ pear config-set php_version=5 $ pear install Net_URL downloading install ok <- latest PHP5 version of the package $ pear install Package_PHP4 downloading beep no PHP5 version found for Package_PHP4 User with PHP4: $ pear install Net_URL downloading install ok <- latest PHP4 version of the package Tomas V.V.Cox<php_major_version>5</php_major_version>This can already be handled by a PHP dependency tag. What's the advantage of adding this?