Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58748 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23521 invoked from network); 7 Mar 2012 18:46:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2012 18:46:52 -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.54 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-ww0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:38839] helo=mail-ww0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/A6-15180-A1DA75F4 for ; Wed, 07 Mar 2012 13:46:51 -0500 Received: by wgbdq13 with SMTP id dq13so5470693wgb.11 for ; Wed, 07 Mar 2012 10:46:47 -0800 (PST) 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=CKwirl54jM2W/pVv1tUMA1fASDkKwZRyNk7DzBHEnI4=; b=SFB1seX1iexbbl+0CQkxJkZ2VI9qV8sIoeJKGIrbRwiaoDIej/uRFupv2/I8hjxmv3 2J8fjk3CurzsDu/oM/pub6gm0WpgouJvC9r3DrqXm/CEkdYhtVAmo7j8mgtJwGUoisPg Gt+wqBXG1x8iaXmtfZ6CXUYuJefnk1ifSRAdYDbk/ZElStn9STBB/QZzUlJquhbnkxUC e8yP4sqDcSNjc2wpwwJo48hktu+5QX2PF5sDB+NV+USvxG0sEDIdoXySIqmzDxmkGAEK 7cNJ8v8N9EyRZkwG4VBfJ2g2XmkF06LBC60AGNavwu4E89kJ3SP6fGX41B+5w3dfvoiF bJTg== MIME-Version: 1.0 Received: by 10.180.92.229 with SMTP id cp5mr6138790wib.8.1331146007594; Wed, 07 Mar 2012 10:46:47 -0800 (PST) Received: by 10.223.111.78 with HTTP; Wed, 7 Mar 2012 10:46:47 -0800 (PST) In-Reply-To: References: <4F5336B2.3040200@kukulich.cz> <4F53DF00.6070303@gmx.net> Date: Wed, 7 Mar 2012 10:46:47 -0800 Message-ID: To: David Soria Parra Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d043c094eed471504baab9455 Subject: Re: [PHP-DEV] Re: Git Migration: Status Update From: kris.craig@gmail.com (Kris Craig) --f46d043c094eed471504baab9455 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Mar 7, 2012 at 1:12 AM, David Soria Parra wrote: > On 2012-03-07, Kris Craig wrote: > > --f46d044304ec4e135704baa12342 > > Content-Type: text/plain; charset=ISO-8859-1 > > > > On Tue, Mar 6, 2012 at 10:09 PM, Kiall Mac Innes > wrote: > > > >> On Wed, Mar 7, 2012 at 6:03 AM, Drak wrote: > >> > > I know I keep promising to draft an RFC for this lol, so I'll make it a > > high priority to put together an RFC for a PHP Git branching model > sometime > > this week[end]. > > There is no need for that. PHP will continue to use release branches > with optional feature branches. We are doing one step at a time and > have people adopt the changes slowly. We are after all a large project > and a lot of contributors cannot spend hours of reading into a VCS > and a new branching model. So we are slowly moving towards new models. > > After all I see no need to do it differently. You can use whatever > branching model you want in your personal github repository and then > send a final pull request that can be merged. Adding complexity > to the main repository for no reason is not needed. Keep the > complexity in your personal repositories. That is after all > one of the main benefits of a decentralized version control system. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > A few points.... 1. This really wouldn't be adding "complexity" to the repo. We would merely be using a branching model that is more compatible with Git's feature set. As I and others have said already, using a Subversion branching model on Git just doesn't make any sense. We may as well just keep using SVN if we're not going to make use of Git's branching advantages. 2. Using different branching structures between repo clones is not considered a good practice in Git. On the contrary, it just makes the commit history that much more confusing to read. If you use a standardized branching model, on the other hand, different features/contributions can be quickly and easily identified in the history (see "gitk --all"). In the event of a regression or other bad feature commit, reversing it is *much*easier and cleaner if branches are clearly segregated. It also makes drafting the changelog a much less cumbersome task. 3. I'm all for using a gradual approach so that people have time to get used to it. However, that transition to a standards-compliant Git branching model is still something that does need to happen eventually. 4. Git branching is not *nearly* as complicated or confusing as you guys are making it out to be. You know how long it took me to train our IT guy at work on Git branching? 10 minutes. He then made one mistake (forgot the --no-ff), which I corrected, and ever since he's been using it without any problems and raving about how much easier it is to keep track of our commit history now than when we were on Subversion. Seriously, the learning curve is *very* minimal, even for those who are used to SVN branching. 5. Enough people have expressed support for this idea to justify drafting an RFC and letting it be voted on IMHO. However, I would like to address your concerns about confusion (though experience tells me that they're largely unfounded), so when I draft it I'll propose a gradual adoption scheme of some sort so that anyone who feels intimidated by adhering to mainstream accepted Git branching standards won't feel disenfranchised. 6. There are also scripts that simplify this model ( https://github.com/nvie/gitflow), though I've never used them myself. But I'll take a look and see if that might be something that could be recommended for anyone who doesn't want to spend the few minutes it would take to learn t his model. --Kris --f46d043c094eed471504baab9455--