Re: Net_URL
| From: | Klaus Guenther | Date: | Mon, 07 Mar 2005 15:05:40 +0000 |
| Subject: | Re: Net_URL | ||
| References: | 1 2 3 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-2597@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 3/7/2005 3:12 PM, Richard Heyes spake the following words:
> Klaus Guenther wrote:
>
>> On 3/7/2005 5:22 AM, Helgi Þormar spake the following words:
>>
>>>> I propose that Richard move the PHP5 code into Net_URL2 dir
>>>> in CVS or at least branch so people can choose either one on
>>>> checkout
>>
>> This is the appropriate and necessary procedure in the rules.
>> Currently, it must be moved to Net_URL2 to prevent borked
>> installations. Sorry, Richard, but those are the rules.
>
> Well your rules are really quite ridiculous. Adding version numbers
> into names of classes/packages is simply absurd. I'm not fudging
> my code to cater to this.
Iirc, we had a conversation on this a while back on IRC and you
indicated this as position. By the way, this is a rule that was
created by the PEAR Group (http://pear.php.net/group/), not by the QA
people. At that time I also stated that this is a bit difficult and
that I'd prefer being able to package php4 and php5 versions without
creating a new package - provided the API didn't change (which you
indicated was not the case). It's not my rules, it's PEAR's rules -
and will remain such until a better solution can be found.
The issues is that we don't want people who have php4 to upgrade and
get a notification that they can't install the upgrade - and bugfixes
would also be prevented. Ideally, we'd be able to indicate per release
what versions of php are compatible and automatically only offer
compatible versions for download in the PEAr installer. There's no
reason why this should be a problem - but it takes a whole lot of work
to implement.
As for your suggestion that PEAR finds a new maintainer, I don't think
that's necessary - if you want, you can always mark the php4 version
depreciated and just continue work on the php5 version. Yes, the
versioning difference is a major pain, but it really doesn't make much
of a difference in real life - when you create an application, you
usually bundle the packages/classes necessary for it to run. If not,
you run a serious risk that people will install a version with an
incompatible API. Or maybe they don't have/don't want to have PEAR on
their system. And you probably won't change the package you are using
unless you rewrite the whole thing. In which case, a simple
s/Net_URL/Net_URL2/g will fix most of your problems. I fail to see a
major problem, though I was annoyed at having to change my package
name, too.
Hope this helps,
Klaus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCLG3EpSl7k8JGkr4RAm1DAJ9SdelCeVQJDlX0dGqgavUebHTFKACgiTby
NntH8WZGjl6x+Cv1uwhXZzY=
=F9k2
-----END PGP SIGNATURE-----