Re: Re: cvs: pear /Net_URL URL.php package.xml
| From: | Helgi Þormar | Date: | Sat, 26 Jun 2004 20:08:12 +0000 |
| Subject: | Re: Re: cvs: pear /Net_URL URL.php package.xml | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31226@lists.php.net to get a copy of this message | ||
On Sat, 2004-06-26 at 20:00, Tomas V.V.Cox wrote:
> Helgi Þormar wrote:
>
> > And people could do pear install net_url then php4 version is downloaded
> > and pear install net_url-php5 to download the php5 branch ....
>
> While the "-xxx" shortcut is nice we can't use it for php5 stuff, it's
> already taken by the "state" :-). Otherwise we'd end in:
> pear install net_url-beta,php5
>
> Better to have params:
>
> pear install -php 5 -state beta net_url
>
Like I said to phillipe good idea :)
> > or even
> > make it a config option what is downloaded by default if there are 2
> > branches present.
>
> Please do not mix CVS with pearweb :-). Pearweb will return to the user
> the propper package depending the params he suply.
>
I ain't mixing it up, just didn't think that far :) that's all :)
> > Note.
> > this is not something that would solve the conflict of having php4 and
> > php5 installation of a package,
>
> I don't see any conflict. A package can only be installed once in the
> same <php_dir> (installer setting). If you want to maintain two
> installations do:
>
> $ pear -c pear_php4.php \
> -d php_dir=/pear/php4 \
> -d php_version=4 \
> -s
>
> The same for php5 packages. One can switch beetween them so:
>
> $ pear -c pear_php5.php install Foo_Bar
>
Well this dicussion has been going back and fourth it seems (other
thread I haven't been following that much), so we'll probably keep this
kinda stuff there :)