Re: [VOTE] Move the phpng branch to master

From: Date: Wed, 06 Aug 2014 13:54:25 +0000
Subject: Re: [VOTE] Move the phpng branch to master
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-76395@lists.php.net to get a copy of this message
On Wed, Aug 6, 2014 at 3:45 PM, Andrea Faulds <ajf@ajf.me> wrote: > > On 6 Aug 2014, at 14:26, Pierre Joye <pierre.php@gmail.com> wrote: > >> For the exts I tried while I was testing/fixing phpng a couple of >> weeks ago, I'd to say that maintaining the same code base for phpng >> and 5.x is simply too hard, way too many APIs changes, many of them >> cannot be detected at compile time, introducing many many new #ifdefs >> along other things. I will maintain a separate branch. The only thing >> I worry about is how I will manage releases in pecl. I have no clean >> solution now, or maybe one release with two branches bundled. Separate >> releases could work too but I will try everything possible to do not >> have to do that, or to have to do that as it is really painful to do. >> Maybe I can manage to implement something in pickle to ease this work. >> Ideas welcome. > > Perhaps for these extensions, it is best to not make it work with both versions, but instead > have a 5.x version and a phpng version, and continue to maintain both separately? I wonder if that > might actually be less work than trying to keep a single version working on both. This is what I just said. But the problem is then how to release them. An extension will release 2.0.0, how do you release it? 2.0.0-7 and 2.0.0 for 5.x? Packaging, branching, etc. will be painful too. The whole flow many projects uses now will have to change. This is something I have to think about, not sure what is the best solution yet. -- Pierre @pierrejoye | http://www.libgd.org

« previous php.internals (#76395) next »