Re: CVS oci8 build is broken

From: Date: Wed, 21 Jun 2006 22:37:50 +0000
Subject: Re: CVS oci8 build is broken
References: 1 2 3  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3928@lists.php.net to get a copy of this message
On 21.06.2006 21:12, Wez Furlong wrote:
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. 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.
Forcing branch? No, I'm definitely not trying to force anyone to use branches. But since there is no way to release OCI8 for *4.4* and OCI8 for *5.1* separately, I'm forced to use one source file for all PHP versions, adding more and more #ifdefs and _that_ is annoying.
development--synchronizing X number of branches is significantly more time consuming than adding an ifdef here and there.
I don't think so. Maintaining a file full of ifdefs is much more pain than applying the same patch to a couple of branches.
pecl4win will (should) pick the appropriate branch, if present, falling back to HEAD otherwise.
And yes, AFAIK pecl4win uses HEAD for all PHP versions (probably because there are no branches in PECL at all). We've already discussed this with Edin, I don't remember the discussion in details, but I know that he didn't change the way it works. -- Wbr, Antony Dovgal

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