RE: [PECL-DEV] CVS oci8 build is broken

From: Date: Wed, 21 Jun 2006 17:59:15 +0000
Subject: RE: [PECL-DEV] CVS oci8 build is broken
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3927@lists.php.net to get a copy of this message
OK if it enables extension authors to use branches that sounds fine to me. Thx for the clarification. >-----Original Message----- >From: Wez Furlong [mailto:wez@thebrainroom.com] >Sent: Wednesday, June 21, 2006 10:12 AM >To: Antony Dovgal >Cc: Andi Gutmans; pecl-dev@lists.php.net >Subject: Re: [PECL-DEV] CVS oci8 build is broken > >It's down to the extension author to pick their development strategy: > >- have a single branch with ifdefs if they prefer >- have branches if they prefer >- use a combination if they prefer > >since you're the primary maintainer of this extension, it's >your responsibility to maintain whatever branches or ifdefs >suit your preferred development approach. > >pecl4win will (should) pick the appropriate branch, if >present, falling back to HEAD otherwise. > >You'll note that nothing in this "forces" anyone to do >anything; on the contrary, you're talking about forcing people >in a branching strategy that my not be appropriate for the >amount of time they have for development--synchronizing X >number of branches is significantly more time consuming than >adding an ifdef here and there. This does, of course, depend >on the code in the extension--there are plenty of extensions >that will compile against PHP 4 through 5 with minimal or no >code changes. Forcing a branch here is just being anal. > >--Wez. > >Antony Dovgal wrote: >> Yeah, IIRC there was 4_3 branch, but it doesn't help very much since >> there are huge differences between 4.4.x and 5.1.x and in >6.x all extensions most likely will have totally different >code because of Unicode changes. >> Currently HEAD is used by pecl4win for all branches and I don't know >> of any branches in PECL except for PECL_4_3, which forces >extension authors to use tons of #ifdefs in order to make the >same code to compile/work with different PHP versions. >> >> I'd suggest to reorganize PECL using CVS branches and PECL >infrastructure. >> Pierre should have an alpha-version of such RFC, he said >he's going to show it on public on the next week. >> >> On 21.06.2006 19:48, Andi Gutmans wrote: >>> Hmm, I thought we were using branches at some point. Am I dreaming? >>> >>>>-----Original Message----- >>>>From: Antony Dovgal [mailto:antony@zend.com] >>>>Sent: Wednesday, June 21, 2006 3:53 AM >>>>To: Enver ALTIN >>>>Cc: pecl-dev@lists.php.net; wez@php.net; andi@zend.com >>>>Subject: Re: [PECL-DEV] CVS oci8 build is broken >>>> >>>>This is yet another argument against using symlinks between PHP and >>>>PECL. >>>>And yet another argument for using branches in PECL instead of >>>>blindly assuming that PECL HEAD should compile with any PHP version >>>>on earth. >>>> >>>>Fixed in CVS, though. >> >> >

« previous php.pecl.dev (#3927) next »