Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-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 674EA112FB for ; Fri, 20 Jun 2014 20:05:41 +0000 (UTC) Received: (qmail 8014 invoked by uid 500); 20 Jun 2014 20:05:41 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 7950 invoked by uid 500); 20 Jun 2014 20:05:41 -0000 Mailing-List: contact dev-help@flink.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.incubator.apache.org Delivered-To: mailing list dev@flink.incubator.apache.org Received: (qmail 7928 invoked by uid 99); 20 Jun 2014 20:05:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jun 2014 20:05:40 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of henry.saputra@gmail.com designates 209.85.212.173 as permitted sender) Received: from [209.85.212.173] (HELO mail-wi0-f173.google.com) (209.85.212.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jun 2014 20:05:37 +0000 Received: by mail-wi0-f173.google.com with SMTP id cc10so1356695wib.12 for ; Fri, 20 Jun 2014 13:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=CzQe5uyDczk2mJrRSdHDOv35Dw5jy3gJS8o1lndaa68=; b=b7AuHsRlX6YAyOHNx6aX4BJaZleRmbYeHzmGvm4rheLhB7XdMiedvxnqtslwIBqads 2/E29bgMDXg2jo+Zmj3HX9dHEyc7Ym7quOvagTo3r9AYcZfngaVxNoE5PkhpyCRJm8Yz Rm7SnYhlPeeIUVa0DbUfinTdrcnbmYSGeon664t1Nu9x02x7i2NB7U5QzcRe4HDvAuBw r6fvfet9eNX1YH9Zf+5XRU9PGqVJRjB4mwcJ4BubpatPEqvv3bC+2jkD51OAunQv6BHm SF0PGmaKUgufxA2g9pC6OQnYZvsLEW1yFo5sIN7ow1XaagcknJZ4ruQwDubL/8ot3O83 NuLw== MIME-Version: 1.0 X-Received: by 10.194.142.205 with SMTP id ry13mr6846410wjb.69.1403294715300; Fri, 20 Jun 2014 13:05:15 -0700 (PDT) Received: by 10.216.165.71 with HTTP; Fri, 20 Jun 2014 13:05:15 -0700 (PDT) In-Reply-To: References: Date: Fri, 20 Jun 2014 13:05:15 -0700 Message-ID: Subject: Re: Add customized "merge_spark_pr.py" script to Flink repo? From: Henry Saputra To: "dev@flink.incubator.apache.org" Content-Type: multipart/alternative; boundary=089e0122f1b605530904fc4a036f X-Virus-Checked: Checked by ClamAV on apache.org --089e0122f1b605530904fc4a036f Content-Type: text/plain; charset=UTF-8 Ah yes, my bad :) I forgot that Apache Spark uses the same script to merge the PRs :P On Friday, June 20, 2014, Robert Metzger wrote: > The script includes this into the commit message. > > > On Fri, Jun 20, 2014 at 9:52 PM, Henry Saputra > > wrote: > > > +1 > > > > Seems like good script. We may need to check for commit message if it has > > "This closes ..." To make asfgit bot to auto close Github PRs. > > > > - Henry > > > > On Friday, June 20, 2014, Robert Metzger > wrote: > > > > > Hi, > > > > > > during our discussion on how to close the Github pull requests, Henry > > > suggested to create a script for merging pull requests ( > > > > > > > > > http://apache-flink-incubator-mailing-list-archive.1008284.n3.nabble.com/Admin-access-to-github-com-apache-incubator-flink-tp160p246.html > > > ). > > > > > > I found a nice python script in the Spark repository that does exactly > > > this. It assumes exactly our setup with the GitHub integration and can > > even > > > automatically close the JIRA if its ID is contained in the pull request > > > title. > > > > > > This shows how the tool works: > > > https://gist.github.com/rmetzger/cf4d2eba940483d704a2 > > > So committers have to basically enter the pull request ID, press "y" > > three > > > times and everything is done. (You can still check if everything is > > correct > > > in another window). > > > > > > What do you think? Should I merge it into the "tools" directory? > > > > > > Robert > > > > > > --089e0122f1b605530904fc4a036f--