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 94AFB200C72 for ; Fri, 28 Apr 2017 05:11:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 934D1160BB2; Fri, 28 Apr 2017 03:11:43 +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 B291F160BA7 for ; Fri, 28 Apr 2017 05:11:42 +0200 (CEST) Received: (qmail 96876 invoked by uid 500); 28 Apr 2017 03:11:36 -0000 Mailing-List: contact dev-help@apex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.apache.org Delivered-To: mailing list dev@apex.apache.org Received: (qmail 96864 invoked by uid 99); 28 Apr 2017 03:11:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2017 03:11:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1162BC015C for ; Fri, 28 Apr 2017 03:11:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.489 X-Spam-Level: ** X-Spam-Status: No, score=2.489 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=datatorrent-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id itDvafvxFfNL for ; Fri, 28 Apr 2017 03:11:34 +0000 (UTC) Received: from mail-it0-f52.google.com (mail-it0-f52.google.com [209.85.214.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id AA8C85F3BF for ; Fri, 28 Apr 2017 03:11:33 +0000 (UTC) Received: by mail-it0-f52.google.com with SMTP id 70so28076640ita.0 for ; Thu, 27 Apr 2017 20:11:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datatorrent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=D2DYm3zgsk+WQ0lokiQUpPmc1mDVPeJqMfXucuil96g=; b=nXdvXy77rBdTsPWAuaxtAWUC8lmP0ZekY2QsUO4FMfo2IdIdGT7ionfUCUgV3AfzsT Mtiqjfy4HFkkj5htR6DS4jHhF2+Lmn+JExWCv4n+dmlm0OBnVFncg6mPH9/YsgJQYWB+ M89gUljVSCus9bhwOKq9c0bCZrheRT1mM59Zpth3UbM5broF4A8XrPd/M6mLLa9Fg2H+ VTbXX1jP8Pif7gdbPgefvfU0o2ZnmEa7AeghwbZqlDz92xAy/kk4nMlxIekeFZiyKD9/ fiOcZ5dG1pQYlHeb5P/1put4LTGKi5zXVUf6iDogEfB8oRVSg6R1M4g6WBZD26ePrqXd WcOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=D2DYm3zgsk+WQ0lokiQUpPmc1mDVPeJqMfXucuil96g=; b=NxYm6YwiWGWhMlKoeYckjo74Q84+LQApnVepqxf6ZIT7320yn7v/sesqev8qxRWjKO 4Db2zC7Y8JNMCOf6do3Znf3Fcip6HrLSUZAoP9KOVIxERnU8w4qmmKpoaB9ZPmhiyKt+ jxAyTM8iCZ6DzmIYOiLoVcasT2MWUUJQlzHv6+7XoCarioC8W8/ft9UnYGIz+A4f2s1Z UZZRYqsOHBbz6+hdKOylNvMkNAl4MUVvl6tilKyD1KJxH/BWLddXU5y2rxmeR5OkoF7j Ic9x3j1gnhEoCQOuBntTVFMR6v6snUmJlk04F6+BGRhwWDdGqaJgY3yRmbp9BIgiKcdw zZSg== X-Gm-Message-State: AN3rC/5zMsEhLL/dEDVy30d72W90c51UU2c1EcxBGwO0iU+NlcyGmlVq BWJ9Cvv8ukkoK1TLe4B7wAEPBth8OmNg X-Received: by 10.36.74.82 with SMTP id k79mr18675itb.58.1493349087107; Thu, 27 Apr 2017 20:11:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.9.205 with HTTP; Thu, 27 Apr 2017 20:11:26 -0700 (PDT) In-Reply-To: References: <78fa9363-ad2e-63b8-8912-c158808d4796@datatorrent.com> <7e8917b4-e211-632a-a7ba-6e4e902cf0c3@datatorrent.com> From: Munagala Ramanath Date: Thu, 27 Apr 2017 20:11:26 -0700 Message-ID: Subject: Re: PR merge policy To: dev@apex.apache.org Content-Type: multipart/alternative; boundary=001a1144e054dcf126054e316ddc archived-at: Fri, 28 Apr 2017 03:11:43 -0000 --001a1144e054dcf126054e316ddc Content-Type: text/plain; charset=UTF-8 I agree with Pramod that force pushing should be a rare event done only when there is an immediate need to undo something serious. Doing it just for a policy violation should itself be codified in our policies as a policy violation. Why not just commit an improvement on top ? Ram On Thu, Apr 27, 2017 at 7:55 PM, Vlad Rozov wrote: > Violation of the PR merge policy is a sufficient reason to forcibly undo > the commit and such violations affect everyone in the community. > > Thank you, > > Vlad > > On 4/27/17 19:36, Pramod Immaneni wrote: > >> I agree that PRs should not be merged without a chance for others to >> review. I don't agree to force push and altering the commit tree unless it >> is absolutely needed, as it affects everyone. This case doesn't warrant >> this step, one scenario where a force push might be needed is if somebody >> pushed some copyrighted code. >> >> Thanks >> >> On Thu, Apr 27, 2017 at 6:44 PM, Vlad Rozov >> wrote: >> >> I am open to both approaches - two commits or a join commit. Both have >>> pros and cons that we may discuss. What I am strongly against are PRs >>> that >>> are merged without a chance for other contributors/committers to review. >>> There should be a way to forcibly undo such commits. >>> >>> Thank you, >>> >>> Vlad >>> >>> >>> On 4/27/17 12:41, Pramod Immaneni wrote: >>> >>> My comments inline.. >>>> >>>> On Thu, Apr 27, 2017 at 12:01 PM, Thomas Weise wrote: >>>> >>>> I'm -1 on using the author field like this in Apex for the reason stated >>>> >>>>> (it is also odd to see something like this showing up without prior >>>>> discussion). >>>>> >>>>> >>>>> I am not set on this for future commits but would like to say, do we >>>>> >>>> really >>>> verify the author field and treat it with importance. For example, I >>>> don't >>>> think we ever check if the author is the person they say they are, check >>>> name, email etc. If I were to use slightly different variations of my >>>> name >>>> or email (not that I would do that) would reviewers really verify that. >>>> I >>>> also have checked that tools don't fail on reading a commit because >>>> author >>>> needs to be in a certain format. I guess contribution stats are the ones >>>> that will be affected but if used rarely I dont see that being a big >>>> problem. I can understand if we wanted to have strict requirements for >>>> the >>>> committer field. >>>> >>>> Thanks >>>> >>>> >>>> Consider adding the additional author information to the commit message. >>>> >>>>> Thomas >>>>> >>>>> On Thu, Apr 27, 2017 at 11:55 AM, Pramod Immaneni < >>>>> pramod@datatorrent.com> >>>>> wrote: >>>>> >>>>> Agreed it is not regular and should only be used in special >>>>> circumstances. >>>>> >>>>> One example of this is pair programming. It has been done before in >>>>>> other >>>>>> projects and searching on google or stackoverflow you can see how >>>>>> other >>>>>> people have tried to handle it >>>>>> >>>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=375536 >>>>>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451880 >>>>>> http://stackoverflow.com/questions/7442112/attributing- >>>>>> a-single-commit-to-multiple-developers >>>>>> >>>>>> Thanks >>>>>> >>>>>> On Thu, Apr 27, 2017 at 9:57 AM, Thomas Weise wrote: >>>>>> >>>>>> commit 9856080ede62a4529d730bcb6724c757f5010990 >>>>>> >>>>>>> Author: Pramod Immaneni & Vlad Rozov >>>>>> > >>>>>>> Date: Tue Apr 18 09:37:22 2017 -0700 >>>>>>> >>>>>>> Please don't use the author field in such a way, it leads to >>>>>>> incorrect >>>>>>> tracking of contributions. >>>>>>> >>>>>>> Either have separate commits or have one author. >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Thu, Apr 27, 2017 at 9:31 AM, Pramod Immaneni < >>>>>>> >>>>>>> pramod@datatorrent.com >>>>>> wrote: >>>>>> >>>>>>> The issue was two different plugin models were developed, one for >>>>>>> >>>>>>>> pre-launch and other for post-launch. I felt that the one built >>>>>>>> >>>>>>>> latter >>>>>>> >>>>>> was >>>>>> >>>>>>> better and it would be better to have a uniform interface for the >>>>>>>> >>>>>>>> users >>>>>>> >>>>>> and >>>>>> >>>>>>> hence asked for the changes. >>>>>>>> >>>>>>>> On Thu, Apr 27, 2017 at 9:05 AM, Thomas Weise >>>>>>>> >>>>>>>> wrote: >>>>>>> >>>>>> I think the plugins feature could have benefited from better >>>>>> >>>>>>> original >>>>>>>> >>>>>>> review, which would have eliminated much of the back and forth >>>>>> >>>>>>> after >>>>>>>> >>>>>>> the >>>>>> >>>>>>> fact. >>>>>>>> >>>>>>>>> >>>>>>>>> On Thu, Apr 27, 2017 at 8:20 AM, Vlad Rozov < >>>>>>>>> >>>>>>>>> v.rozov@datatorrent.com >>>>>>>> >>>>>>> wrote: >>>>>> >>>>>>> Pramod, >>>>>>>>> >>>>>>>>>> No, it is not a request to update the apex.apache.org (to do >>>>>>>>>> >>>>>>>>>> that >>>>>>>>> >>>>>>>> we >>>>>> >>>>>> need >>>>>>> >>>>>>>> to file JIRA). It is a reminder that it is against Apex policy to >>>>>>>>>> >>>>>>>>>> merge >>>>>>>>> >>>>>>>> PR >>>>>>>> >>>>>>>>> without giving enough time for others to review it (few hours >>>>>>>>>> >>>>>>>>>> after >>>>>>>>> >>>>>>>> PR >>>>>> >>>>>>> was >>>>>>>> >>>>>>>>> open). >>>>>>>>>> >>>>>>>>>> Thank you, >>>>>>>>>> >>>>>>>>>> Vlad >>>>>>>>>> >>>>>>>>>> On 4/27/17 08:05, Pramod Immaneni wrote: >>>>>>>>>> >>>>>>>>>> Vlad, are you asking for a consensus on the policy to make it >>>>>>>>>> official >>>>>>>>>> >>>>>>>>> (publish on website etc). I believe we have one. However, I did >>>>>>>> >>>>>>>>> not >>>>>>>>>> >>>>>>>>> see >>>>>>> >>>>>>>> much difference between what you said on Mar 26th to what I >>>>>>>>> >>>>>>>>>> proposed >>>>>>>>>> >>>>>>>>> on >>>>>>> >>>>>>>> Mar >>>>>>>>> >>>>>>>>>> 24th. Is the main difference any committer can merge (not just >>>>>>>>>>> >>>>>>>>>>> the >>>>>>>>>> >>>>>>>>> main >>>>>> >>>>>>> reviewer) as long as there are no objections from others. In >>>>>>>>> >>>>>>>>>> that >>>>>>>>>> >>>>>>>>> case, >>>>>> >>>>>>> I >>>>>>>>> >>>>>>>>> am fine with it. >>>>>>>>>> >>>>>>>>>>> On Thu, Apr 27, 2017 at 7:44 AM, Vlad Rozov < >>>>>>>>>>> >>>>>>>>>>> v.rozov@datatorrent.com> >>>>>>>>>> >>>>>>>>> wrote: >>>>>>>> >>>>>>>>> This is a friendly reminder regarding PR merge policy. >>>>>>>>>>> >>>>>>>>>>> Thank you, >>>>>>>>>>>> >>>>>>>>>>>> Vlad >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On 3/23/17 12:58, Vlad Rozov wrote: >>>>>>>>>>>> >>>>>>>>>>>> Lately there were few instances where PR open against apex-core >>>>>>>>>>>> >>>>>>>>>>>> and >>>>>>>>>>> >>>>>>>>>> apex-malhar were merged just few hours after it being open and >>>>>>> >>>>>>>> JIRA >>>>>>>>>>>> >>>>>>>>>>> being >>>>>>>> >>>>>>>>> raised without giving chance for other contributors to review >>>>>>>>>>>>> >>>>>>>>>>>>> and >>>>>>>>>>>> >>>>>>>>>>> comment. >>>>>>> >>>>>>>> I'd suggest that we stop such practice no matter how trivial >>>>>>>>>>>>> >>>>>>>>>>>>> those >>>>>>>>>>>> >>>>>>>>>>> changes >>>>>>> >>>>>>>> are. This equally applies to documentation. In a rear cases >>>>>>>>>>>>> >>>>>>>>>>>>> where >>>>>>>>>>>> >>>>>>>>>>> PR >>>>>>> >>>>>>> is >>>>>>>> >>>>>>>>> urgent (for example one that fixes compilation error), I'd >>>>>>>>>> >>>>>>>>>>> suggest >>>>>>>>>>>> >>>>>>>>>>> that >>>>>>> >>>>>>>> a >>>>>>>>>> >>>>>>>>>>> committer who plans to merge the PR sends an explicit >>>>>>>>>>>>> >>>>>>>>>>>>> notification >>>>>>>>>>>> >>>>>>>>>>> to >>>>>>> >>>>>>>> dev@apex and gives others a reasonable time to respond. >>>>>>>>> >>>>>>>>>> Thank you, >>>>>>>>>>>>> >>>>>>>>>>>>> Vlad >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> > -- _______________________________________________________ Munagala V. Ramanath Software Engineer E: ram@datatorrent.com | M: (408) 331-5034 | Twitter: @UnknownRam www.datatorrent.com | apex.apache.org --001a1144e054dcf126054e316ddc--