Return-Path: X-Original-To: apmail-calcite-dev-archive@www.apache.org Delivered-To: apmail-calcite-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 6300018424 for ; Fri, 31 Jul 2015 02:50:43 +0000 (UTC) Received: (qmail 82976 invoked by uid 500); 31 Jul 2015 02:50:43 -0000 Delivered-To: apmail-calcite-dev-archive@calcite.apache.org Received: (qmail 82909 invoked by uid 500); 31 Jul 2015 02:50:43 -0000 Mailing-List: contact dev-help@calcite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@calcite.incubator.apache.org Delivered-To: mailing list dev@calcite.incubator.apache.org Received: (qmail 82890 invoked by uid 99); 31 Jul 2015 02:50:42 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2015 02:50:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 8144BD90E7 for ; Fri, 31 Jul 2015 02:50:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id VBE3CvHugN67 for ; Fri, 31 Jul 2015 02:50:34 +0000 (UTC) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 00F2A2142E for ; Fri, 31 Jul 2015 02:50:34 +0000 (UTC) Received: by pacan13 with SMTP id an13so33450534pac.1 for ; Thu, 30 Jul 2015 19:48:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=iHX8wmp8/6tsIXXZUMizcRF+yT8jZ0wyNHG8EVafAT0=; b=fAEpVxuQcZTYs22VyJOfBAnexfdt3y27vCXp3I0H5sRHjPtoYZFDKYRLpQABL0axB6 vVclHSkZ12tnaWdVJ9y1ApGcVqv7cpGvSEmg5cOafgWWq4h47pGXoz39DyVJoIrxv5xs 92ucOEiYZlt11hvCOA/XvBqRUbcxFdIPDNGIAO2wpsCYSIk36rXV7qm5RzmIoJs5xmtC UYH42d6jpT/L32wHBonFqXXRCbt/iZ4/RMpsRXzLVjsk/80sxCdXh4ae53L2lIiKQses gE82o7LhbSP3AoP/Kq4Lr7t5PNv5kwHZfr0TplvMu/MsbGdDd6cE29X0FYtdecyZn7bJ FeHg== X-Received: by 10.66.119.201 with SMTP id kw9mr1285145pab.49.1438310936397; Thu, 30 Jul 2015 19:48:56 -0700 (PDT) Received: from [10.10.9.208] ([192.175.27.21]) by smtp.gmail.com with ESMTPSA id ns14sm4554367pdb.17.2015.07.30.19.48.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Jul 2015 19:48:55 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: The art of the commit comment From: Julian Hyde In-Reply-To: Date: Thu, 30 Jul 2015 19:49:03 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <37859C12-1D22-4FA0-B408-A938865AFDA7@apache.org> References: To: dev@calcite.incubator.apache.org X-Mailer: Apple Mail (2.2102) The committer has to edit the commit already, to add the =E2=80=9CClose = apache/incubator-calcite#=E2=80=A6=E2=80=9D line. And quite often to = rebase. > On Jul 30, 2015, at 7:40 PM, Jacques Nadeau = wrote: >=20 > My goal is to avoid the expectation that a committer should be = manually > editing every commit. Ideally we should get to a point where that is > unnecessary. Proposed patches/pull requests should be mergeable as = is. >=20 > Looking at both git log and github [1], an author is given clear = credit > when different than committer. I think the best type of credit. It = is the > way people's github profiles get associated with their work. We = should > require commits to have author tags to provide maximum recognition to > contributors. >=20 > [1] > = https://github.com/apache/drill/commit/a219f8784c55ce3bc15b9bb3a19d7b33e40= 21c00 >=20 > (note how Hsuan is given credit even though Parth is committer) >=20 > On Thu, Jul 30, 2015 at 7:31 PM, Julian Hyde wrote: >=20 >> Not necessary, but where=E2=80=99s the harm in giving contributors = obvious credit? >>=20 >> (The change history in >> http://calcite.incubator.apache.org/docs/history.html < >> http://calcite.incubator.apache.org/docs/history.html> is culled from = the >> git log, with just a little massaging to convert jira case numbers = into >> links, so contributors get called out there too.) >>=20 >>> On Jul 30, 2015, at 6:13 PM, Jacques Nadeau = wrote: >>>=20 >>> I don't follow. If the author tag in the commit is correct, why is = it >>> necessary to also add it in parentheses? >>>=20 >>> On Thu, Jul 30, 2015 at 11:35 AM, Julian Hyde = wrote: >>>=20 >>>> I agree with what Vladimir and Jinfeng have said. >>>>=20 >>>> We should make it clear that we prefer contributions via pull = request >> over >>>> patches. Then the authorship is already in the contribution. >>>>=20 >>>> But if the contribution comes via a patch, I like Vladimir=E2=80=99s = suggestion >> to >>>> use use =E2=80=9Cgit =E2=80=94amend =E2=80=94author=E2=80=9D. >>>>=20 >>>> We had a similar discussion a few months back. James Taylor = suggested[1] >>>> adding the author=E2=80=99s name in parentheses, which is what they = do in >> Phoenix >>>> and HBase. I still think that is the right policy. Even though it = is >>>> redundant, it gives people credit, and that helps to build = community. >>>>=20 >>>> Julian >>>>=20 >>>> [1] >>>>=20 >> = http://mail-archives.apache.org/mod_mbox/calcite-dev/201412.mbox/%3CCAAF1J= djW2psSPLEGyM3YA_bCTVcNWTvNiwLHpL-CJ4-CFy-mbA@mail.gmail.com%3E >>>> < >>>>=20 >> = http://mail-archives.apache.org/mod_mbox/calcite-dev/201412.mbox/%3CCAAF1J= djW2psSPLEGyM3YA_bCTVcNWTvNiwLHpL-CJ4-CFy-mbA@mail.gmail.com%3E >>>>>=20 >>>>=20 >>>>=20 >>=20 >>=20