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 C344F200B6B for ; Fri, 9 Sep 2016 21:27:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C1C56160ACA; Fri, 9 Sep 2016 19:27:49 +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 15D7A160AA3 for ; Fri, 9 Sep 2016 21:27:48 +0200 (CEST) Received: (qmail 70088 invoked by uid 500); 9 Sep 2016 19:27:48 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 70072 invoked by uid 99); 9 Sep 2016 19:27:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2016 19:27:47 +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 6D6C2C0361 for ; Fri, 9 Sep 2016 19:27:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.72 X-Spam-Level: X-Spam-Status: No, score=-0.72 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id jnvs_Di2OlvY for ; Fri, 9 Sep 2016 19:27:45 +0000 (UTC) Received: from mail-it0-f45.google.com (mail-it0-f45.google.com [209.85.214.45]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 1BDFD5FACE for ; Fri, 9 Sep 2016 19:27:45 +0000 (UTC) Received: by mail-it0-f45.google.com with SMTP id w189so3409172ith.1 for ; Fri, 09 Sep 2016 12:27:45 -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:message-id :subject:to; bh=V3iUf5MLAIgxi0fvFoLLMgGecNU5nEbcVHy7fcLKfI8=; b=ejCANLu8Yb0XKOBYYApUbYm/HiQaHsj3FpB1K3bLfuycfPQg2Ten8Ny2luYlZ25n2a r0WzU+zEmf7SYdHG7Wi382V6CfcNyHo3VXSFFE+eWTYSBA/qkvPbL93CkuWxMEqePYgl D8N5jMkwrp3o+SSLGAUM5nvuodS0Vdm2LH4N4v9oDNpIO/Qq0VGp3DZkYm+Bjit6FWwb De/yojd+Ry7BDGvmUVfe6vdNqTOXYxmAHpaYdSOHv94tXPzeBF3mqhjNECcE6fNJk/Wh tEa6j3KczI8U/lth/1nUmLWv1veFhnxCrAqxjlKqy6SOP1FN9qdJAl8twX+DojdpZYAL IplQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=V3iUf5MLAIgxi0fvFoLLMgGecNU5nEbcVHy7fcLKfI8=; b=I9Zloivy/CT23puECzgsB/GMNMP5irhYcRrPQFRSs6xwTNiDH9DVvNChA0dl9hlrfG n7i8/ucVrd+7jVYIrDd/OZpyR/fZMNvV8HCRfhk/JjpkQSJCPZ98BWeejmGWTlH8sJsQ EQMLeo5E8UhAPptbdo4tJhNNlZPRp1mbIagVmRSa7JWu37x3F5SjdWrxlRsZWYjtFxMk VKvRwOFt9mcLsUOaMt9KyOV4SmrUfno1xtqOTOv4sgFBjB3kd0PBffEXCBxZ02Y44rMq 2ApsoEQFk/SP2f4RJilj0m9Yq5CVIaL2EUFDrW6DksMMz5DwCa1VyVGQCwTFhdu339vT QLfw== X-Gm-Message-State: AE9vXwMLrvmFr0Ppsnk5CJXHGQ0HBV5FBolvCgfGQoWi5OhXTZfdE+bM72kXWkeOa3oDab2+B/vXCc+JSyz+Ag== X-Received: by 10.157.49.3 with SMTP id e3mr6483760otc.127.1473449257389; Fri, 09 Sep 2016 12:27:37 -0700 (PDT) MIME-Version: 1.0 Sender: shaposhnik@gmail.com Received: by 10.182.10.36 with HTTP; Fri, 9 Sep 2016 12:27:36 -0700 (PDT) In-Reply-To: References: From: Roman Shaposhnik Date: Fri, 9 Sep 2016 12:27:36 -0700 X-Google-Sender-Auth: Ow8dvk7t2dJ7eQcW1DXx8FmclzA Message-ID: Subject: Re: Please append 'close #PR_id' to commit message when you merge other's pull request To: dev@hawq.incubator.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Fri, 09 Sep 2016 19:27:49 -0000 E.g. $ git commit -m 'HAWQ-XXX. This is a commit log line closes #YYY' Note that once you type ' on the command line you can type a new line character and keep typing until you hit ' again. Thanks, Roman. On Fri, Sep 9, 2016 at 1:19 AM, Ming Li wrote: > Yes, I wonder how to add to the body. It seems there is only message > without title/body. > Could you share me the shell command? > > Thanks Lei. > > On Fri, Sep 9, 2016 at 4:13 PM, Lei Chang wrote: > >> ming, I think Roman has already suggested a solution. Add "close #" in the >> commit message body instead of message title. Does it solve your concerns? >> >> Cheers >> Lei >> >> >> >> >> On Fri, Sep 9, 2016 at 1:09 PM +0800, "Ming Li" wrote: >> >> >> >> >> >> >> >> >> >> >> I think we should offer a solution for this problem, even if the solution >> is not good enough. If you find a better solution for it, we can enhance >> it afterward. >> >> On Thu, Sep 8, 2016 at 3:16 PM, Ming Li wrote: >> >> > Hi Roman, >> > >> > The problem is still have someone forget to close PR, and we can't >> contact >> > him only using email notification. >> > >> > As for your suggestion, could you please share with us the exact steps >> how >> > to do it? Thanks. >> > >> > On Thu, Sep 8, 2016 at 2:13 PM, Roman Shaposhnik >> > wrote: >> > >> >> On Wed, Sep 7, 2016 at 11:08 PM, Lei Chang wrote: >> >> > @ming, there is a discussion on this mailing list before about what >> >> should >> >> > be included in the commit message. >> >> > >> >> > Appending "close #" makes the commit message very messy. >> >> > >> >> > So the conclusion at that time is to not append "close #" to a commit >> >> > message. >> >> > >> >> > If someone forgets closing a pull request, looks better to add a >> >> reminder >> >> > to the pull request. >> >> >> >> Not to reopen that old discussion, but have you guys considered adding >> >> it to the body of the commit? That way it won't mess up git log and such >> >> but will still have the desired effect. >> >> >> >> Thanks, >> >> Roman. >> >> >> > >> > >> >> >> >> >> >>