Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76406 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55912 invoked from network); 7 Aug 2014 10:56:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Aug 2014 10:56:32 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.43 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.43 mail-qg0-f43.google.com Received: from [209.85.192.43] ([209.85.192.43:44677] helo=mail-qg0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8E/32-22677-E5B53E35 for ; Thu, 07 Aug 2014 06:56:32 -0400 Received: by mail-qg0-f43.google.com with SMTP id a108so4208826qge.30 for ; Thu, 07 Aug 2014 03:57:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ge+Du+Xm1exCSai9cg9y4im1Nuxg41j1NciQShl8PUY=; b=AxJYsAu+rEVTeY1ZLPvTrQadlJHBk/G8ZSnCCPBl5bF/2noef/QFCMNcEMZYkTv7hy cReMe0Obgt7r7C39XfS9sPlGg1FTXJve7A6JH+ZFX2/v877qXnserOFgMLgkJjdyHRA/ CJH8G3dCzSBbDxF6rjw08N5BLX0rN/9xJ3ESc5SVLj2MNhM2jSHKsJvMT0gjUwTEVy3E KI0MYhMtuTA/qzdmtBXQEvrMzXGOvthHAqgmYlevS7C4/4WMzvUeeFFbONehrZKiv5lP RQYshcemtWS51zHglV1Ujjpa/iPvNPYtm/kDqRP+oCOhZJmFM/0HUeKvvLgxjbX2jG1t upfA== MIME-Version: 1.0 X-Received: by 10.224.43.196 with SMTP id x4mr26168668qae.63.1407409020671; Thu, 07 Aug 2014 03:57:00 -0700 (PDT) Received: by 10.140.24.54 with HTTP; Thu, 7 Aug 2014 03:57:00 -0700 (PDT) Received: by 10.140.24.54 with HTTP; Thu, 7 Aug 2014 03:57:00 -0700 (PDT) In-Reply-To: <4ED7146272E04A47B986ED49E771E347BBE9680FEF@Ikarus.ameusgmbh.intern> References: <5a5c7d37c2115f52a58d82d489540a6d@mail.gmail.com> <4ED7146272E04A47B986ED49E771E347BBE9680FEF@Ikarus.ameusgmbh.intern> Date: Thu, 7 Aug 2014 12:57:00 +0200 Message-ID: To: Christian Stoller Cc: Dmitry Stogov , PHP internals , Dan Ackroyd , Andrea Faulds , Zeev Suraski Content-Type: multipart/alternative; boundary=047d7bdc875ebb1b78050007f2cb Subject: RE: [PHP-DEV] [VOTE] Move the phpng branch to master From: pierre.php@gmail.com (Pierre Joye) --047d7bdc875ebb1b78050007f2cb Content-Type: text/plain; charset=UTF-8 On Aug 7, 2014 8:13 AM, "Christian Stoller" wrote: > > From: Pierre Joye [mailto:pierre.php@gmail.com] > > On Wed, Aug 6, 2014 at 3:45 PM, Andrea Faulds wrote: > >> > >> On 6 Aug 2014, at 14:26, Pierre Joye 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 > > I'd say the best way is to create a new major version for the extension > branch which works with phpng. > So 2.0.0 for normal and 3.0.0 for phpng. This would make it possible > to maintain two branches for both versions. But I don't know if this is possible > with pecl. Not sure. It means 5.x versions won't get any major version then, which is very unlikely for many exts. Cheers, Pierre --047d7bdc875ebb1b78050007f2cb--