Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74502 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27937 invoked from network); 26 May 2014 12:16:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 May 2014 12:16:11 -0000 Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=julienpauli@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.179 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 209.85.128.179 mail-ve0-f179.google.com Received: from [209.85.128.179] ([209.85.128.179:49063] helo=mail-ve0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 14/41-19814-A8033835 for ; Mon, 26 May 2014 08:16:10 -0400 Received: by mail-ve0-f179.google.com with SMTP id oy12so9042114veb.24 for ; Mon, 26 May 2014 05:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=6GFyfP4cybL3m2zQAjHnm2prfqckrkS5Zx7Kl/yp9I8=; b=WAer9peqsgAKxnZIlTWbtQbVUZCXL+qdJqxZpGqsaDuibVRvUYh2Grdfj1Lr8lEALc QqtbVojdjUADNFPaRWupquZ+wpyVPTM9Sh9Q/zIA/tzclx1YAL664kwa/2FOLFKjTdRX HBdTux4VTBDHlkIQdMzVGu1aAWiXcOq9CPmqI5DOz+rbWYgMxBTbZB45pj+G2Jtlz7WE xd4P1WVAqw3i3B2gsyAVzVPQeOHLmono3WDnWfQhnhveenRXUrE1HXskInMqWbVYT6zz X0WwjYV72GVhkdO9DXznL6r9NWiUUkZMz+y6S9z41yM98K0kQXA1f0kbPqnJzFFf2mw1 +VlA== X-Received: by 10.52.227.138 with SMTP id sa10mr17896214vdc.25.1401106566935; Mon, 26 May 2014 05:16:06 -0700 (PDT) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.220.81.68 with HTTP; Mon, 26 May 2014 05:15:26 -0700 (PDT) In-Reply-To: References: <44A0430A-9E30-43B7-855F-23ACC5FE0E81@ajf.me> Date: Mon, 26 May 2014 14:15:26 +0200 X-Google-Sender-Auth: ueunoh5r_vqn1___X457LeBcWDI Message-ID: To: Pierre Joye Cc: Andrea Faulds , PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Documenting APIs and merging ideas From: jpauli@php.net (Julien Pauli) On Mon, May 26, 2014 at 12:59 PM, Pierre Joye wrote: > On Mon, May 26, 2014 at 12:52 PM, Andrea Faulds wrote: >> >> On 26 May 2014, at 11:37, Julien Pauli wrote: >> >>> If some start hacking based on master, they'll hit problems the time >>> phpng gets merged (if it is to be merged). And the same applies >>> reversed : how can phpng contributors integrate in their branch ideas >>> from other developers and branches ? >>> Wasn't it the case for the int64 patch from Pierre ? >> >> This problem has been bothering me as well. There=E2=80=99s stuff I=E2= =80=99d like to =E2=80=94 or at least attempt to ;) =E2=80=94 do in Zend, b= ut phpng isn=E2=80=99t merged yet so I fear having to redo much of it once = it=E2=80=99s merged. >> >> I suggest we only work on stuff which won=E2=80=99t touch Zend, or at le= ast won=E2=80=99t touch stuff phpng touches, until phpng is merged. However= , this is assuming phpng won=E2=80=99t take too long. > > Nice concept but due to its nature, phpng touches everything. Every > single LoC related to zval, hash, or string are affected by the > changes in phpng. The 2nd question is how to do not loose too much > time until phpng gets some momentum. It will remain a moving target > for the coming months (6+), can we afford to simply do almost nothing > in the core from a design (APIs, cleanup, etc) for php 6 until phpng > will be less than a moving target? Let alone RFC ready? I am not sure. Obviously not. We are all working on an open source project, this means that everyone may propose anything (based on RFC) at any time, without the fear of meeting a future merge hell. How do other open source projects work when it comes to refactor and work on several branches, some of them beeing huge ? We should try to adopt a strategy here. > > I am not sure either about how to allow everyone to work on phpnext > while stopping one team or another, right now it is all about > performance, with promising results. While my personal priority would > be rather to clean up the code base and the APIs along other things. > No matter how, conflicts will happen. I tend too think that phpng > should have more branches with individual changes, which can be merged > to master individually. I can hardly think that having a bunch of mass > changes being proposed in one go (the zpp change is a very good thing > f.e., from a process pov). That's the key of the "success" I think. We all know it's always been better to work on several tiny changes than working on one big change. It is way easier to merge little patches than a big one, and it is as well easier for other developers to rebase on a branch in which small patches has been applied, than to rebase on a huge new tree. What is the strategy regarding phpng and merging option ? I fear if we try to merge it as a big solo merge, we'll never be able to rebase all the development branches from other contributors... It's better to discuss than now than to hit the wall later, no ? If one say phpng is to be merged in 6 months (for the example), it is sure that until this gap of time, other ideas will have popped in several branches and will hit the merge as well :-p Julien Pauli