Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D8AE1200CB7 for ; Fri, 16 Jun 2017 02:07:40 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D5AE7160BF2; Fri, 16 Jun 2017 00:07:40 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F2F31160BED for ; Fri, 16 Jun 2017 02:07:39 +0200 (CEST) Received: (qmail 58269 invoked by uid 500); 16 Jun 2017 00:07:37 -0000 Mailing-List: contact dev-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list dev@asterixdb.apache.org Received: (qmail 58226 invoked by uid 99); 16 Jun 2017 00:07:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jun 2017 00:07:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id B8E51188A60 for ; Fri, 16 Jun 2017 00:07:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.897 X-Spam-Level: X-Spam-Status: No, score=-0.897 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id nieSYBZ10ZHk for ; Fri, 16 Jun 2017 00:07:34 +0000 (UTC) Received: from mail-pf0-f181.google.com (mail-pf0-f181.google.com [209.85.192.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 782565FAC9 for ; Fri, 16 Jun 2017 00:07:33 +0000 (UTC) Received: by mail-pf0-f181.google.com with SMTP id x63so14445535pff.3 for ; Thu, 15 Jun 2017 17:07:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=RmyBK0IMP8qk7ndTmSZ8UfK7ycTJalQcuX7fCKiZ3UQ=; b=j9HVoBpal/bAsye7r3b7TG848ZeLdiYm0DaQXSmV7IEae5x9UKaHl0kfQg8ycr2ddw pz/tgAJ0HF7C2QmNWHsBqIJqkd2eLJmdvfpm8XdM0gx9oY9zQq/wGBcCxUtfjRJjYHTy 979njUDxCj1m2H21XCcNhgLm9yEPjX8Psv54B7JEc7aI6dvM2szSgt6DCZWDT0LfQ/7q DO/yizGt7LHrDiNkquxMfRMz7xVHMiSYRPNXFWnULhfdeRXPeyZoyrPOwpHShSkdtea/ Ka5sguSWfjcCAWuLIE3B8ea4TUVn2TVsp+qOMSj+W23Pg9LP/0VBA1CPA0JZz7cjPdiM E+sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=RmyBK0IMP8qk7ndTmSZ8UfK7ycTJalQcuX7fCKiZ3UQ=; b=j2jVaFZil01B+TRmVctK7nlM1IQAnsE2Jd1sN7HD5BQ+bTo3Uf7FahSY0hPq8pvwr+ cHJo7QdJ3okkyymNwnGZAmJALhdqokaVCzxsys1N9WndiRM4QBKA44lpMWamkVewvTZJ 6WKfAEqxMdGC4Ox+WW9jpV209DKHtnu2y4jibnxBYIPhqyrRho02ibGyRaIurbJiFqm1 YT82YNaaLgYI9NSHZ1FutwaU4h2hV9acpQN8Xl8+TSmSSek/P8hrzTBjbSPMmHMiLp4Y 8uhlEud3jt1EVZv2PAxtD5WRfDuzyumw2nfs85+VM8s70nFlH48hjMcvBtDoI80pd2Gp MwrA== X-Gm-Message-State: AKS2vOz0ziUUG0m+kNIgLHSEtbdsAtgPjf2N46s6tXuvZe9TRfahv00K c4xTHKF4h9LdgwQh X-Received: by 10.84.233.141 with SMTP id l13mr9375324plk.298.1497571646355; Thu, 15 Jun 2017 17:07:26 -0700 (PDT) Received: from dhcp-053198.ics.uci.edu (dhcp-053198.ics.uci.edu. [128.195.53.198]) by smtp.googlemail.com with ESMTPSA id t9sm692713pfj.77.2017.06.15.17.07.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jun 2017 17:07:25 -0700 (PDT) Subject: Re: Commit messages To: dev@asterixdb.apache.org References: <6DB13094-338D-4C68-B4D8-D14E06E1BEED@apache.org> <96b581ce-8650-9ef3-a7d1-db78b9acf73d@gmail.com> <83B6B7CC-FB92-40CB-ADB8-97CA87F8F45E@apache.org> <914E8150-2905-4C6B-9D1C-430AEC1CBCDA@apache.org> From: Mike Carey Message-ID: Date: Thu, 15 Jun 2017 17:07:25 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------3992BF545CBF51487317F65F" Content-Language: en-US archived-at: Fri, 16 Jun 2017 00:07:41 -0000 --------------3992BF545CBF51487317F65F Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit +1 :-) On 6/15/17 3:46 PM, Yingyi Bu wrote: > How about ING? > > Best, > Yingyi > > On Thu, Jun 15, 2017 at 3:45 PM, Till Westmann wrote: > >> Ok, we could also do "TXN" -> "TX" and "RTM" -> "RT" as I think that >> those 2-letter acronyms are quite common. >> The one that confuses me (but I don’t have a good alternative) is "IGS". >> Any other alternatives that come to mind? >> >> Cheers, >> Till >> >> >> On 15 Jun 2017, at 15:27, Yingyi Bu wrote: >> >> +1 for short acronyms: >>> Here is a list of acronyms: >>> - API >>> - AQL >>> - CLUS (cluster management) >>> - COMP (compiler) >>> - CONF (configuration parameters/mgmt) >>> - DOC >>> - FAIL (failure handling) >>> - EXT (external) >>> - IDX >>> - IGS (ingestion) >>> - FUN (function) >>> - LIC >>> - MVN >>> - MTD (metadata) >>> - PERF (performance monitoring etc.) >>> - REPL >>> - RPC (cc/nc message) >>> - RTM (runtime) >>> - STAT (statistics etc.) >>> - SITE >>> - STR >>> - SQL >>> - TEST >>> - TXN (transaction) >>> - TYPE (data model) >>> - UDF (user defined function) >>> - UI >>> >>> >>> On Thu, Jun 15, 2017 at 3:23 PM, Till Westmann wrote: >>> >>> But the first line should also be below 50 characters [1]. That might >>>> become tricky with a single component and it becomes more difficult, if >>>> a change touches more than one component (the ellipsis in [2] show the >>>> reason). >>>> >>>> To include components into the commit message it might be better to do >>>> that in the body instead of the subject (and we might want to use the >>>> same name that we use in JIRA). >>>> Also, it does seem redundant to have the components that are available >>>> in the referenced JIRA issue again in the message, but then it’s not >>>> exactly trivial to join the log messages with the components in JIRA >>>> (unless both are available in AsterixDB ;) ) >>>> >>>> Alternatively, we could think about really short acronyms for the >>>> components to make them fit. >>>> >>>> Thoughts? >>>> Till >>>> >>>> [1] https://cwiki.apache.org/confluence/display/ASTERIXDB/Formatting >>>> [2] https://github.com/apache/spark/commits/master >>>> >>>> >>>> On 15 Jun 2017, at 14:55, Mike Carey wrote: >>>> >>>> +1 >>>> >>>>> >>>>> On 6/15/17 1:19 PM, Yingyi Bu wrote: >>>>> >>>>> Each commit message should >>>>>>> 1) reference 1 or more JIRA issues (that hopefully provide a rationale >>>>>>>> for >>>>>> the change). >>>>>>>> 2) contain a description of changes to the user model (language >>>>>>>> syntax, >>>>>>>> configuration parameters, ..) >>>>>>>> 3) contain a description of storage format changes (that would >>>>>>>> require >>>>>>>> reloading or upgrading) >>>>>>>> 4) contain a description of interface changes (for source code >>>>>>>> consumers) >>>>>>>> >>>>>>>> I wonder if we could put component name(s) into the headline of >>>>>>> commit >>>>>>> >>>>>> message. >>>>>> >>>>>> So the headline will be sth. like: >>>>>> [ASTERIXDB-2000][TXN] Fix a deadlock in LogManager >>>>>> [ASTERIXDB-2001][STORAGE] Clean up file handling in BufferCache >>>>>> .... >>>>>> >>>>>> It makes change localization easier. >>>>>> >>>>>> Examples: >>>>>> Spark: https://github.com/apache/spark/commits/master >>>>>> Flink: https://github.com/apache/flink/commits/master >>>>>> >>>>>> Here is a list of component names: >>>>>> - API >>>>>> - AQL >>>>>> - CLUSTER (cluster management) >>>>>> - COMPILER >>>>>> - CONFIGURATION (configuration parameters/mgmt) >>>>>> - DOC >>>>>> - FAILURE (failure handling) >>>>>> - EXTERNAL >>>>>> - INDEX >>>>>> - INGESTION >>>>>> - FUNC (function) >>>>>> - LICENSE >>>>>> - MAVEN >>>>>> - METADATA >>>>>> - PERF (performance monitoring etc.) >>>>>> - REPLICATION >>>>>> - RPC (cc/nc message) >>>>>> - RUNTIME >>>>>> - STATS (statistics etc.) >>>>>> - SITE >>>>>> - STORAGE >>>>>> - SQL++ >>>>>> - TEST >>>>>> - TXN (transaction) >>>>>> - TYPE (data model) >>>>>> - UDF (user defined function) >>>>>> - UI >>>>>> >>>>>> Best, >>>>>> Yingyi >>>>>> >>>>>> >>>>>> On Thu, Jun 15, 2017 at 1:09 AM, Yingyi Bu wrote: >>>>>> >>>>>> +1! >>>>>> >>>>>>> Best, >>>>>>> Yingyi >>>>>>> >>>>>>> On Wed, Jun 14, 2017 at 10:43 PM, Mike Carey >>>>>>> wrote: >>>>>>> >>>>>>> +1 !!! >>>>>>> >>>>>>>> I think this is a GREAT proposal, and we can also then hopefully do >>>>>>>> the >>>>>>>> equivalent of grep'ing the commits to identify things that we might >>>>>>>> want to >>>>>>>> incorporate in a high-level set of release notes. I also really like >>>>>>>> the >>>>>>>> "no" requirement. Also, storage changes should really NOT be taken >>>>>>>> lightly >>>>>>>> - they seriously inconvenience our customers and will hopefully cause >>>>>>>> the >>>>>>>> tests to fail (the ones that check for backward-compat) - I would >>>>>>>> like >>>>>>>> to >>>>>>>> set storage changes actually be voted on, ideally, if we could make >>>>>>>> that >>>>>>>> part of our operating procedure somehow? >>>>>>>> >>>>>>>> Cheers, >>>>>>>> >>>>>>>> Mike >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On 6/14/17 9:15 AM, Till Westmann wrote: >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>>> some of us had a discussion with an SDSC team last week that is >>>>>>>>> running >>>>>>>>> an >>>>>>>>> AsterixDB instance. Their customer perspective on AsterixDB >>>>>>>>> highlighted a >>>>>>>>> few areas of improvement to ease the consumption of AsterixDB. >>>>>>>>> >>>>>>>>> One thing that I’d like to follow up on are release notes. So far we >>>>>>>>> didn’t >>>>>>>>> provide them and so changes to the system came as a surprise to >>>>>>>>> everybody >>>>>>>>> who is not monitoring commits closely. >>>>>>>>> >>>>>>>>> As I think that it’s not easy to provide good release notes I’d like >>>>>>>>> to >>>>>>>>> propose some additions to our commit messages to ease the creation >>>>>>>>> of >>>>>>>>> release messages: >>>>>>>>> >>>>>>>>> Each commit message should >>>>>>>>> 1) reference 1 or more JIRA issues (that hopefully provide a >>>>>>>>> rationale >>>>>>>>> for >>>>>>>>> the change). >>>>>>>>> 2) contain a description of changes to the user model (language >>>>>>>>> syntax, >>>>>>>>> configuration parameters, ..) >>>>>>>>> 3) contain a description of storage format changes (that would >>>>>>>>> require >>>>>>>>> reloading or upgrading) >>>>>>>>> 4) contain a description of interface changes (for source code >>>>>>>>> consumers) >>>>>>>>> >>>>>>>>> and all reviewers should check that these are mentioned in the >>>>>>>>> commit >>>>>>>>> message. To increase the probability to we won’t forget to mention >>>>>>>>> the >>>>>>>>> changes in 2-4, I think that we should should explicitly mention the >>>>>>>>> absence >>>>>>>>> of such changes, i.e.: >>>>>>>>> >>>>>>>>> user model changes: no >>>>>>>>> storage format changes: no >>>>>>>>> interface changes: no >>>>>>>>> >>>>>>>>> Thoughts/concerns about this? >>>>>>>>> Is this manageable? >>>>>>>>> Are there other kinds of changes that have a high impact on >>>>>>>>> consumers >>>>>>>>> that >>>>>>>>> we should call out? >>>>>>>>> >>>>>>>>> Cheers, >>>>>>>>> Till´ >>>>>>>>> >>>>>>>>> >>>>>>>>> --------------3992BF545CBF51487317F65F--