Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 BA38C11745 for ; Tue, 26 Aug 2014 08:36:46 +0000 (UTC) Received: (qmail 98121 invoked by uid 500); 26 Aug 2014 08:36:44 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 98053 invoked by uid 500); 26 Aug 2014 08:36:44 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 97806 invoked by uid 99); 26 Aug 2014 08:36:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2014 08:36:43 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stevel@hortonworks.com designates 209.85.223.172 as permitted sender) Received: from [209.85.223.172] (HELO mail-ie0-f172.google.com) (209.85.223.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2014 08:36:18 +0000 Received: by mail-ie0-f172.google.com with SMTP id lx4so11178692iec.3 for ; Tue, 26 Aug 2014 01:36:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=/GFuPuASUvTQ7yfOQKQJd8/pjV9EaoPWSUlOLwzp5E8=; b=DSGdZNRVN//nlYqdZN5uVd++s6TilxPXdRo36YgpXNCNra/4Acspt2HWR6uCzt7se6 cmr72k8/R/oACHe6KCboKn7VBUVG64YF6t14NB8TXva9dhS5sAGP16Z+8/qsJywqlbby F5WmzTkU6uxQYuAyHwo7ZsEmVWmnQt26nm8JNZ376Pe93OPnDk0R9wR4BEcItRxmnz5j cGX76H0oQR35CzkQd6ElwyEnetb+4gyaZnRsLAi+ky1sV+Eus1T5kdkXbJBOHODWCGDs l0voK8uNnMaY0YaAvQqzF0UA8oq5XA7CuwN6O5WS/dB7aWr33YSX9gG5s4hFgWDZj6wj mlNw== X-Gm-Message-State: ALoCoQkA2RzBeju/gCvSRFFlnmCxnoGKrYK66Lt4W4wir6DnO9Oha/0MFO1IVXegMYq0D+CmF3bvcHIxJLho057NhN8BEVis5J4TMkl0H+cFm/UgvqVpmB0Eul6Vz3FIM3D6Ulkz/p+/ MIME-Version: 1.0 X-Received: by 10.50.176.202 with SMTP id ck10mr21074410igc.2.1409042176481; Tue, 26 Aug 2014 01:36:16 -0700 (PDT) Received: by 10.107.12.193 with HTTP; Tue, 26 Aug 2014 01:36:16 -0700 (PDT) In-Reply-To: References: Date: Tue, 26 Aug 2014 09:36:16 +0100 Message-ID: Subject: Re: Updates on migration to git From: Steve Loughran To: "common-dev@hadoop.apache.org" Content-Type: multipart/alternative; boundary=089e0111d758672c480501843254 X-Virus-Checked: Checked by ClamAV on apache.org --089e0111d758672c480501843254 Content-Type: text/plain; charset=UTF-8 On 25 August 2014 23:45, Karthik Kambatla wrote: > Thanks for bringing these points up, Zhijie. > > By the way, a revised How-to-commit wiki is at: > https://wiki.apache.org/hadoop/HowToCommitWithGit . Please feel free to > make changes and improve it. > > looks good so far I suspect we'll evolve it rapidly in use. > On Mon, Aug 25, 2014 at 11:00 AM, Zhijie Shen > wrote: > > > Do we have any convention about "user.name" and "user.email"? For > example, > > we'd like to use @apache.org for the email. > > > > May be, we can ask people to use project-specific configs here and use > their real name and @apache.org address. > > Is there any downside to letting people use their global values for these > configs? > > I don't see any > > > > > > Moreover, do we want to use "--author="Author Name " > > when committing on behalf of a particular contributor? > > > > Fetching the email-address is complicated here. Should we use the > contributor's email from JIRA? What if that is not their @apache address? > > > I see aw's point, and as he notes, it just increases work. But if we accept "git am" (squashed) patches, that comes for free. Maybe we should recommend that as the format for future patches. Some other post-migration thoughts 1. This would be a good time to clean up dead branches ... I promise to tag then delete my old work 2. What's our policy of in-asf-git branch dev? Single committer/few committers: ----------------------------------------------- Say allen's 9902 work, which was a single committer's project, possibly with many little commits? I think people should be allowed to work on feature branches (naming policy? "minor/$JIRA(+text)" ?. At merge time we'd squash these down to a single patch -this could be the one reviewed. Large feature dev (par with today's feature branch/feature committer) ----------------------------------------------- we could retain the current policy of JIRA per commit, or we could allow feature-off-feature dev, where people can work on a JIRA in a branch, which is then merged (squashed) back in to the main feature branch. This'd give more visibility of dev work and still isolate the big feature from individual work. At the end of the feature, it could be merged in directly, without any squashing. we could call these something like "feature/$JIRA(+text)" to highlight they are big works & differentiate from the minor projects. we also need to plan for the promotion of minor -> feature, which could be done with something like -1 create new feature branch off trunk -2 merge squashed minor branch into new feature Finally, we've all be very lax about working on that pending patch list. Much work, especially those very minor things, have been neglected. If this git migrate eases committing, it's time to go through the backlist and apply them. -steve -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You. --089e0111d758672c480501843254--