Return-Path: X-Original-To: apmail-brooklyn-dev-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 917E617D19 for ; Mon, 2 Feb 2015 10:32:04 +0000 (UTC) Received: (qmail 35181 invoked by uid 500); 2 Feb 2015 10:25:03 -0000 Delivered-To: apmail-brooklyn-dev-archive@brooklyn.apache.org Received: (qmail 35145 invoked by uid 500); 2 Feb 2015 10:25:03 -0000 Mailing-List: contact dev-help@brooklyn.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.incubator.apache.org Delivered-To: mailing list dev@brooklyn.incubator.apache.org Received: (qmail 35134 invoked by uid 99); 2 Feb 2015 10:25:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 10:25:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 02 Feb 2015 10:24:41 +0000 Received: (qmail 34984 invoked by uid 99); 2 Feb 2015 10:24:39 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 10:24:39 +0000 Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id A93221A0237 for ; Mon, 2 Feb 2015 10:24:38 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id w62so38055834wes.7 for ; Mon, 02 Feb 2015 02:24:36 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.180.73.84 with SMTP id j20mr22364253wiv.43.1422872676740; Mon, 02 Feb 2015 02:24:36 -0800 (PST) Received: by 10.194.242.10 with HTTP; Mon, 2 Feb 2015 02:24:36 -0800 (PST) Date: Mon, 2 Feb 2015 10:24:36 +0000 Message-ID: Subject: [PROPOSAL] Guidelines for commit messages From: Richard Downer To: Brooklyn dev Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org A recent discussion in a PR[1] covered commit messages. During this discussion it was discovered that at least two of the committers follow Tim Pope's guidelines for Git commit messages[2] and recommend them. I recommend you read the article, but the short form is that commit messages look like this: - Line 1 is a short summary of up to approx 50 characters - Line 2 is blank - Lines 3 onwards are a longer description of the change, word-wrapped at 72 characters Tim's article lists several advantages relating to the Git command line tool, but it is also true that GitHub assumes some of these conventions; in particular, using more text in line 1 wraps in an ugly way when viewed on GitHub. I would like to propose that we adopt these as the preferred style for Brooklyn commits, and that a page is added to the "developers" section of the website with a precis of, and link to Tim's article. Any comments for or against this? Any other things we should consider for commit messages? Richard. [1]https://github.com/apache/incubator-brooklyn/pull/481 [2]http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html