Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1BB83DF0E for ; Wed, 20 Feb 2013 20:01:53 +0000 (UTC) Received: (qmail 6238 invoked by uid 500); 20 Feb 2013 20:01:52 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 6204 invoked by uid 500); 20 Feb 2013 20:01:52 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 6195 invoked by uid 99); 20 Feb 2013 20:01:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2013 20:01:52 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fil@adobe.com designates 64.18.1.185 as permitted sender) Received: from [64.18.1.185] (HELO exprod6og103.obsmtp.com) (64.18.1.185) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2013 20:01:46 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob103.postini.com ([64.18.5.12]) with SMTP ID DSNKUSUrlkMdIDwv7CxqhAMTU1MLXotQzifD@postini.com; Wed, 20 Feb 2013 12:01:26 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r1KJwL1v007152 for ; Wed, 20 Feb 2013 11:58:21 -0800 (PST) Received: from nacas02.corp.adobe.com (nacas02.corp.adobe.com [10.8.189.100]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id r1KK1MXL028669 for ; Wed, 20 Feb 2013 12:01:23 -0800 (PST) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas02.corp.adobe.com ([10.8.189.100]) with mapi; Wed, 20 Feb 2013 12:01:22 -0800 From: Filip Maj To: "dev@cordova.apache.org" Date: Wed, 20 Feb 2013 12:01:15 -0800 Subject: Re: too long to package a release? Thread-Topic: too long to package a release? Thread-Index: Ac4PpQ4begFZuCTsRweev0Bn0a6Wzg== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.1.130117 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I agree that it is necessary. Just want to make clear that split stream dev won't speed up the release process (as the thread title implies). On 2/20/13 11:57 AM, "Michal Mocny" wrote: >Also: Fil you are totally correct that this flow only really helps with >split-stream dev, but considering how long it takes and often it happens >(code freeze due to release) this seems kind of necessary. I think it is >also a great foundation for automating packaging and tagging. So lets >work >on that, now. > > >On Wed, Feb 20, 2013 at 2:53 PM, Andrew Grieve >wrote: > >> Fil - looks right to me. >> >> Added the git commands for committing into next to the wiki: >> >> >> git checkout next >> git pull apache >> git checkout topic_branch >> git rebase next -i >> git checkout next >> git merge --ff-only topic_branch >> git push apache next >> git branch -d topic_branch >> git checkout master >> git merge next >> git push apache master >> >> >> >> On Wed, Feb 20, 2013 at 2:49 PM, Michal Mocny >>wrote: >> >> > Shaz sums it up perfect. Once we cut 'next' nothing goes in unless >>its >> > critical to it being a good release. Anything that goes into next >>should >> > almost by definition also go in to master. >> > >> > Note that this is functionally the same as only ever pushing to >>master, >> and >> > cherry-picking certain commits into 'next'. >> > >> > -Michal >> > >> > >> > On Wed, Feb 20, 2013 at 2:34 PM, Shazron wrote: >> > >> > > http://cl.ly/MOrD >> > > Master always has all the changes. Next will never have experimental >> > > changes/features after next is created, just bug fixes. >> > > >> > > On Wednesday, February 20, 2013, Joe Bowser wrote: >> > > >> > > > Honestly, this process is too complex and we should just go back >>to >> > > > what we were doing before. I don't think our git flow was what is >> > > > slowing us down. >> > > > >> > > > >> > > > >> > > > On Wed, Feb 20, 2013 at 11:22 AM, Filip Maj wrote: >> > > > > Ok so the flow is: if you are committing into next, always merge >> into >> > > > > master. Good. So the CI setup doesn't need to differentiate >>between >> > > > master >> > > > > and next. It can always pull from master. >> > > > > >> > > > > On 2/20/13 11:04 AM, "Andrew Grieve" >>wrote: >> > > > > >> > > > >>Step 5 here: http://wiki.apache.org/cordova/CommitterWorkflow >> > > > >> >> > > > >>Probably it should be "isFixingRegression" instead of >>"isBugFix". >> > I'll >> > > > >>update it now. >> > > > >> >> > > > >> >> > > > >>On Wed, Feb 20, 2013 at 1:59 PM, Filip Maj >>wrote: >> > > > >> >> > > > >>> I noticed on iOS the commits going into next are mirrored on >> > master. >> > > > >>> >> > > > >>> For Android that was not done. >> > > > >>> >> > > > >>> What is the correct process? >> > > > >>> >> > > > >>> On 2/20/13 10:12 AM, "Michal Mocny" >>wrote: >> > > > >>> >> > > > >>> >oooo I didn't know that. Thanks! >> > > > >>> > >> > > > >>> > >> > > > >>> >On Wed, Feb 20, 2013 at 1:10 PM, Becky Gibson >> > > > >>> >wrote: >> > > > >>> > >> > > > >>> >> Thank you, Michael! I do usually go a git push --dry-run >>to >> > check >> > > > >>>that >> > > > >>> >>I >> > > > >>> >> am pushing what I expect but I'll try the diff as well. >> > > > >>> >> >> > > > >>> >> >> > > > >>> >> On Wed, Feb 20, 2013 at 1:07 PM, Michal Mocny < >> > > mmocny@chromium.org> >> > > > >>> >>wrote: >> > > > >>> >> >> > > > >>> >> > So there is also >> > http://wiki.apache.org/cordova/CuttingReleases >> > > > >>>which >> > > > >>> >> may >> > > > >>> >> > be useful (esp Taggin section). >> > > > >>> >> > >> > > > >>> >> > As far as the confusion with the two branch names: >> > > "topic_branch" >> > > > >>>is >> > > > >>> >>your >> > > > >>> >> > local working branch for a bugfix/feature, and >> "to_be_merged" >> > is >> > > > >>> >>really >> > > > >>> >> > "temporary_new_name_for_a_branch_to_do_rebase_in". I >> usually >> > > skip >> > > > >>> >>that >> > > > >>> >> > step and take the risk or rebasing in topic_branch >>(aside: >> > this >> > > > may >> > > > >>> >> > negatively affect diffs if you push updates for a >> > > > >>> >>review-edit-re-review >> > > > >>> >> > cycle -- but this isn't an issue for cordova). >> > > > >>> >> > >> > > > >>> >> > Do not checkout 'next' into your master branch. Update >>your >> > > local >> > > > >>> >> branches >> > > > >>> >> > to include the remote next branch (with 'git pull apache' >> with >> > > no >> > > > >>> >>branch) >> > > > >>> >> > then you can switch to the next branch locally, apply >>your >> > patch >> > > > >>> >>there, >> > > > >>> >> and >> > > > >>> >> > push to that remote branch directly. Later, merge that >> commit >> > > > into >> > > > >>> >> master >> > > > >>> >> > locally, and push that. >> > > > >>> >> > >> > > > >>> >> > Do not push to apache next from your local master, or >>else >> you >> > > > will >> > > > >>> >>push >> > > > >>> >> > all the changes. >> > > > >>> >> > >> > > > >>> >> > I agree, this is a little confusing, but after a few >> practice >> > > runs >> > > > >>>it >> > > > >>> >> > should be easy to figure out. You should probably also >> check >> > > what >> > > > >>> >>would >> > > > >>> >> be >> > > > >>> >> > pushed with 'git diff apache/[target-branch]' or tag on >> --stat >> > > to >> > > > >>> >>that to >> > > > >>> >> > just see that files that would signal a quick "uh-oh". >> > > > >>> >> > >> > > > >>> >> > I'll work to update the wiki later today, and likely >>others >> > will >> > > > >>>have >> > > > >> > > >> > >>