Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59160 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72614 invoked from network); 25 Mar 2012 22:12:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Mar 2012 22:12:45 -0000 Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:62704] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 85/E7-10114-C589F6F4 for ; Sun, 25 Mar 2012 17:12:45 -0500 Received: by werh12 with SMTP id h12so4443421wer.29 for ; Sun, 25 Mar 2012 15:12:42 -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=/0R4wvaBfVBea86PETY+I465dATZ7L/UN+6j/58prbo=; b=IYzyOZYNrKfUhyHIAID4xOzi1rf+EngIC55uDCmQgX79IaQqOFx67wmZS4cqnN/aAC MUeEyTeUtfUhvI8JE8ax2PN+Yb+AHgXipHLjZDGjQ69T5PcuYAmwmeWaeDxJnRtnP7ke erPfLs6aws+awvNUhrL4WFNhHu1A1RTzkLEssOUAcnWFRD5RKrMLFk97oGW8L4qcxnkA 26YiLFikVIN4lU5DA7Dkdd5saf0Cs3xrq2zaBEA4R8UG9zVMSRezj2NgZvBZnzQBNJcV Y4Iccu8+OBoFdCd7FKPuPBrbJkFkgl3D6VZCSs2oij0jANGaOF8Gm1/FbWUWsGDNiflj +oYA== MIME-Version: 1.0 Received: by 10.180.24.7 with SMTP id q7mr13379474wif.11.1332713561909; Sun, 25 Mar 2012 15:12:41 -0700 (PDT) Received: by 10.223.73.197 with HTTP; Sun, 25 Mar 2012 15:12:41 -0700 (PDT) In-Reply-To: <4F6F8862.70500@sugarcrm.com> References: <4F6F8862.70500@sugarcrm.com> Date: Sun, 25 Mar 2012 15:12:41 -0700 Message-ID: To: Stas Malyshev Cc: Alexey Shein , PHP Internals Content-Type: multipart/alternative; boundary=f46d043892ab71e90f04bc188ec9 Subject: Re: [PHP-DEV] Adopt GitFlow process From: kris.craig@gmail.com (Kris Craig) --f46d043892ab71e90f04bc188ec9 Content-Type: text/plain; charset=ISO-8859-1 On Sun, Mar 25, 2012 at 2:04 PM, Stas Malyshev wrote: > Hi! > > > There was a discussion recently on IRC that our current git working > > process is not perfect (especially about keeping one branch-only > > bugfixes) so that's a > > One thing with discussions on IRC is that nobody except those present > there can neither participate nor know what was talked about. And since > we have timezone differences and other stuff going on in our lives, that > means, on my estimate, a substantial percentage of the people here > wouldn't know anything about what was discussed. Thus, it would be > useful to explain what exactly is the problem we are talking about. > +1 > > > If you're not yet familiar what is that, please read > > his wonderful article > http://nvie.com/posts/a-successful-git-branching-model/ > > another wonderful article about the gitflow tool > > http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/ > > This is a nice process, however I'm not sure how it could apply to PHP. > Could you outline what will be done in this case when we have: > 1. A bugfix for 5.3 > 2. A bugfix for 5.4 > 3. A feature addition for 5.4 > 4. A release of 5.3.x > 5. A release of 5.4.x > 6. A release of 5.5 and 5.5.x > > Also, what would happen if bugfix/feature is contributed via github pull? > I'm also a strong proponent of NVIE's branching model. We'd probably have to modify it to suit PHP's exact needs, but in principle I very much advocate it as it actually takes full advantage of Git's branching strengths over Subversion. > > Personally, I see migration from current setup that way so each > > release branch (PHP-5.3, PHP-5.4 and master) becomes a separate > > repository with adopted gitflow model (although it should be thought > > through more carefully). > > What do you think about that? > > I do not think it makes sense to keep the code in separate repos, given > that about 90% of the code is the same. It also will make much harder to > accept outside contribution - I'm not sure how easy would it be to merge > a patch into three repos from one pull req. > Agreed. Breaking PHP into separate repos would carry a lot of implications that make me uneasy. Instead, I think it would be better to modify the NVIE workflow model to "bridge" the two branches (basically, it would be like linking 2 "develop" and 2 "master" branches somehow) in parallel on the same repo. -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --f46d043892ab71e90f04bc188ec9--