Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-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 1D458E172 for ; Mon, 27 May 2013 16:06:28 +0000 (UTC) Received: (qmail 83326 invoked by uid 500); 27 May 2013 16:06:27 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 82929 invoked by uid 500); 27 May 2013 16:06:27 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 82896 invoked by uid 99); 27 May 2013 16:06:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 May 2013 16:06:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of djc.ochtman@gmail.com designates 209.85.160.53 as permitted sender) Received: from [209.85.160.53] (HELO mail-pb0-f53.google.com) (209.85.160.53) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 May 2013 16:06:22 +0000 Received: by mail-pb0-f53.google.com with SMTP id un4so6863180pbc.40 for ; Mon, 27 May 2013 09:06:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=Fa5Htic6wB1j6l68vmjKYNKAgh84BHdgIp3hqPY110I=; b=cqWNQIy7RW9Mjq84qdWAoxyL9QeqCc+cYqXrilvj9keg3UgTsGBc6uiDBgy1d9dOto Eeb9hZCvWaafW0sRT/i8P9hSzPd6r3uF0UWZUBddMOpzF0gEhZY2uYnjK27VjFXi1Ixp skpHVTeSVsCx2MXGQ5zdkM0petPTUK1VcUMHNzHn4pDE+sFfWad5hP8Z51SkwVET236T SVWF8iskWrXWAdx/X1TxFK5WZY0+tM3ofquDpSkOlE5vALGa5GgB+9XTXWJI4e5YQKOp nSDiVTJTLMr9rszt4r91DcciDKseVCPWkLk4CeBiqoQQRUqAH6oNaUrYr2fVvPvA4ECO /nMg== X-Received: by 10.66.144.5 with SMTP id si5mr30804328pab.6.1369670762413; Mon, 27 May 2013 09:06:02 -0700 (PDT) MIME-Version: 1.0 Sender: djc.ochtman@gmail.com Received: by 10.70.22.237 with HTTP; Mon, 27 May 2013 09:05:42 -0700 (PDT) In-Reply-To: References: From: Dirkjan Ochtman Date: Mon, 27 May 2013 18:05:42 +0200 X-Google-Sender-Auth: hkHC5F2R6yQ-OiYSyxBql0-5hvE Message-ID: Subject: Re: [VOTE] Git Commit Messages To: "dev@couchdb.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, May 27, 2013 at 5:42 PM, Robert Newson wrote: > Rather than manually maintaining the NEWS and CHANGES files I'd like > to save us time by using the output of git log as our release notes > after 1.3.1. > > To make this work we'll need to be better at commit messages. The de > facto standard for git commit messages is described at > http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html > and I would like us all to commit to using these guidelines, with some > clarifications: > > 1) The last line of the commit should mention the JIRA ticket. > 2) The first line does *not* end with punctuation. > > Here's a good, albeit sarcastic, example; > > -- > Report name of rejected attachment > > Some users make requests from inside a black box with a blindfold on > and their eyes closed and are thus sometimes unaware of the names of > their own attachments. Let's help these people. > > BugzID: 17669 > -- > > The first line of each log between releases will form the release notes. Hmm, I don't fully agree. Most importantly, commit messages are a means to communicate to developers (both other developers and ourselves in the future). Change logs are used to communicate with users. Therefore, tone and contents for those two pieces of text should often be different. Therefore, I don't think we should rely on commit messages to generate change logs, although they are definitely a good starting point and adding extra stuff after the first line in the commit message is still very useful while writing the change logs. I would also like to slightly change the proposed structure of the commit messages, to include the ticket number in the first line and a mandatory tag to indicate a subsystem that the commit is most relevant to. E.g.: "Attachments: report name of rejected attachment (#17669)" > I'd like to vote on two questions; > > 1) That we adopt the git commit message guidelines above. > 2) That we delete NEWS/CHANGES from master before the next release after 1.3.1. > > The voting rules are lazy consensus with a 72 hour waiting period. You > do not have to vote if you agree, though you are welcome to do so. If > you do vote against I encourage you to include a constructive reason > or suggest an alternative. I vote +1 on deleting NEWS/CHANGES, but rather than generating these from commit messages, we add change logs to the Sphinx-based docs. I vote -1 on your git commit message guidelines, and propose my suggested alternative instead. Cheers, Dirkjan