Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58718 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35834 invoked from network); 7 Mar 2012 06:19:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2012 06:19:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; 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:54698] helo=mail-ww0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7B/F9-15021-2EDF65F4 for ; Wed, 07 Mar 2012 01:19:15 -0500 Received: by wgbdq13 with SMTP id dq13so4877470wgb.11 for ; Tue, 06 Mar 2012 22:19:11 -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=OySCmZCUQ92hxBYKva5mTI5zqZSzphRGNm4TVKS2UdA=; b=fsevO6ge/a/RVor2PH5OxCbMLhnhPQ7JXoHt0StUAAVG58wvPpNisaNDls03bg58Xp twSqap18K7dTgIhCSQDqr2fL4XEroxx37jGJRXJ5LkXers7NkadEkV7dh5/6oXtT+VK1 0d6KC6OvmiJITSBPYimHZIjwRWGbV30UL2Hb3wGimIS59+qs52K43yFoKzM9ZttfsP58 3LFtuvjGfXqecqMGVMRANdhaFjF38ceE792WDuFLW8oXJaebYuW1dcsATynX0aufaVQR K+AGv26KdEdHxp0BCZwWmxheMeToJnN5ykFHi2SsP0BVX+i1dgBngOvBmuwhrQ4qPYmP V+ug== MIME-Version: 1.0 Received: by 10.180.79.231 with SMTP id m7mr1439365wix.11.1331101151662; Tue, 06 Mar 2012 22:19:11 -0800 (PST) Received: by 10.223.111.78 with HTTP; Tue, 6 Mar 2012 22:19:11 -0800 (PST) In-Reply-To: References: <4F5336B2.3040200@kukulich.cz> <4F53DF00.6070303@gmx.net> Date: Tue, 6 Mar 2012 22:19:11 -0800 Message-ID: To: Kiall Mac Innes Cc: Drak , internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d044304ec4e135704baa12342 Subject: Re: [PHP-DEV] Re: Git Migration: Status Update From: kris.craig@gmail.com (Kris Craig) --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: > > > [snip] > > Forcing pushes to one's own topic branches in one's own fork can be > > acceptable providing > > upstream maintainers know before merging (for example squashing some work > > after peer review), but not to the central repo without some exceptional > > reason - it could cause chaos otherwise. > > > Gerrit has an interesting take on this, you are free to do whatever you > like on refs/heads/dev/${username}/* - including force push etc. > > Maybe something like this could be useful? > > Kiall > Again I would just stress that, if people followed a Git branching model and only made direct commits to feature branches they themselves create/maintain, this scenario shouldn't be one that's likely to come up. Once a feature branch is complete and it's been tested/approved/whatever (process is important), you simply do a fresh pull of the develop (or, in this case, version) branch, rebase the feature off of that, then merge it into the develop branch and do a push. Using this approach, any merge conflicts that might arise (such as overwriting work that somebody else recently contributed) would be caught before anything is pushed. Instead, said conflicts are resolved manually and then Git proceeds with the merge. This is similar in concept to what Kiall alluded to. 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]. --Kris --f46d044304ec4e135704baa12342--