Return-Path: X-Original-To: apmail-asterixdb-dev-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-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 12504179D9 for ; Thu, 17 Sep 2015 20:27:00 +0000 (UTC) Received: (qmail 39905 invoked by uid 500); 17 Sep 2015 20:27:00 -0000 Delivered-To: apmail-asterixdb-dev-archive@asterixdb.apache.org Received: (qmail 39834 invoked by uid 500); 17 Sep 2015 20:27:00 -0000 Mailing-List: contact dev-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list dev@asterixdb.incubator.apache.org Received: (qmail 39823 invoked by uid 99); 17 Sep 2015 20:26:59 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2015 20:26:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 30C28C0979 for ; Thu, 17 Sep 2015 20:26:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.006 X-Spam-Level: X-Spam-Status: No, score=-0.006 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.006, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id gUDobB756Zyc for ; Thu, 17 Sep 2015 20:26:48 +0000 (UTC) Received: from mx1.ucr.edu (mx1.ucr.edu [138.23.248.2]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id 64787204C8 for ; Thu, 17 Sep 2015 20:26:46 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2AMAgDLIftVlDbcVdFdgneBAGkBqSsBBpQegXmFeQKBRjoSAQEBAQEBAREBAQEBBwsLCR8lC4QjAQEBAwESKEQLCxguNAEFARwGEyKIBAgBBAipXYEwPjGbYQGEEgEBAQEGAQEBAQEBARsKhiKCVoJuhEgSOoMYgRQFjHsBdYdpB4URiUJGhl4zkCo1gRcnAYRcUYoqAQEB X-IPAS-Result: A2AMAgDLIftVlDbcVdFdgneBAGkBqSsBBpQegXmFeQKBRjoSAQEBAQEBAREBAQEBBwsLCR8lC4QjAQEBAwESKEQLCxguNAEFARwGEyKIBAgBBAipXYEwPjGbYQGEEgEBAQEGAQEBAQEBARsKhiKCVoJuhEgSOoMYgRQFjHsBdYdpB4URiUJGhl4zkCo1gRcnAYRcUYoqAQEB X-IronPort-AV: E=Sophos;i="5.17,548,1437462000"; d="scan'208";a="441336353" Received: from mail-pa0-f54.google.com ([209.85.220.54]) by smtp1.ucr.edu with ESMTP/TLS/RC4-SHA; 17 Sep 2015 13:26:15 -0700 Received: by padhy16 with SMTP id hy16so28599923pad.1 for ; Thu, 17 Sep 2015 13:26:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :mime-version:subject:message-id:date:references:in-reply-to:to; bh=QwEVYkV04RMdRa77K6uRHD3zjvLl2E2NNXPoIZ1Mxhs=; b=OpxUUsD8t6+C2SLLEupEcpfepC4oSio8bRLw56CLxSz3QY6gugjMrPEbiyPI3MidzV hiI+cNCF2S0HZprv7F0nlFRzRgfUTTHDwIkFynr6BDb/weQlTAyqbIZanuPuZ4/Jznjw C+qfGOLxEaz45AN8lJzcptMNLF8P3TTTxBh3OI0WUJ8qvu+KnBhae0ZcYD/GtSMYFTPS i+lPnHjVra8YL+zVVfateZJym+xtj18WJe2EWY0kQbo9EHXQDiQL0e2vOhXjS18xbIHh TLouJCRt0oG5MDItdlSAKtzjqSWxzhCtwaujzUNPwhENU8RdaGAHx0RsDmB/wWnWx1eo Kd4Q== X-Gm-Message-State: ALoCoQnnXWbGvTicMICIXa4wR6eupP4BRwp+XLz38MEKX2MThPU9IJloNynLDAZEl/Wby5Q/jRKwwMxTAFv9ZjKYEuJm8r0LUUpKka0xNvuA1+TrO68CV/oRyCqTqKxx+u807SJ031sVC0VTQKS4kYj8Z2K1oG/tgw== X-Received: by 10.66.246.162 with SMTP id xx2mr2008636pac.144.1442521574609; Thu, 17 Sep 2015 13:26:14 -0700 (PDT) X-Received: by 10.66.246.162 with SMTP id xx2mr2008617pac.144.1442521574462; Thu, 17 Sep 2015 13:26:14 -0700 (PDT) Received: from ?IPv6:2600:1012:b11c:1f0f:fcd4:f08d:61f4:5222? ([2600:1012:b11c:1f0f:fcd4:f08d:61f4:5222]) by smtp.gmail.com with ESMTPSA id hh3sm4991558pbc.8.2015.09.17.13.26.12 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Sep 2015 13:26:13 -0700 (PDT) From: Eldon Carman Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: Commit message proposal Message-Id: <17C634AE-0E60-4171-AEFA-1CE32BD458C2@ucr.edu> Date: Thu, 17 Sep 2015 13:26:11 -0700 References: In-Reply-To: To: "dev@asterixdb.incubator.apache.org" X-Mailer: iPhone Mail (12H321) I like the proposal. This will be helpful when got and Jira are linked.=20 Sent from my iPhone > On Sep 17, 2015, at 1:14 PM, Chris Hillery wrote: >=20 > At Couchbase, we have a commit message standard which has proven useful. > All git commit messages must start with a short one-line summary of no mor= e > than 60 characters or so. Then a blank line, followed by additional > details, specifics, etc. all on lines of no more than 72 characters. If > it's a simple enough change that the one-line summary is all you need, > that's fine too. >=20 > Additionally, if the commit is for a specific ticket, that ticket number > must be at the beginning of the summary line, followed by a colon. FYI our= > tickets in Jira are named eg. ASTERIXDB-1097. So, for example: >=20 > ------ > ASTERIXDB-1097: Fix threading in printers >=20 > Replace static data member with a safe thread-local instance to > avoid data corruption. > ------ >=20 > This really helps in tracking git history - there are several commands > which will only display the first line of a commit message, for instance, > so having it be self-contained makes it much easier to read. You may also > have noticed that Gerrit uses that first line for the subjects of emails i= t > sends out. Also, by including the ticket name, we can easily configure > Gerrit to provide a hyperlink to the ticket to make things easier to revie= w. >=20 > Here's a blog post which goes into excruciating detail about commit > messages: >=20 > http://chris.beams.io/posts/git-commit/ >=20 > Ceej > aka Chris Hillery