Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 C8EC29B42 for ; Thu, 5 Apr 2012 01:14:26 +0000 (UTC) Received: (qmail 12949 invoked by uid 500); 5 Apr 2012 01:14:25 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 12857 invoked by uid 500); 5 Apr 2012 01:14:25 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 12842 invoked by uid 99); 5 Apr 2012 01:14:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 01:14:24 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of todd@cloudera.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 01:14:18 +0000 Received: by obbuo19 with SMTP id uo19so1527426obb.35 for ; Wed, 04 Apr 2012 18:13:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=YJdxGMN1p1ouwSBbuX4H7AldUUidw3cowyDpOgNrZWg=; b=XP6V/hMNOieqR5ILDUqbrwUBdhOvsvpFxBjdekhmwFEBgRyKfDZPLDFHBexAXIeBmw 7nJXKu2zhzpfp/WLrvhfmhcveDZp405tYR3YNxEppihNNUJXfB9mqMOhgXkR5sPNA8pq h8vAPrOf0vdV7QXNOiHy1ntvuPF5P83ZmLRN0DQE5Ku7mjcJ9rBlWOVmGIQoyzAEo/9O BlDu/TDBhRXEPWbaMPL7lQVwFg6yVLBtC81e2sHrUHhWCEBvWLRXVMAlmCKP89Wy54Hk jJ5YcDeVZ0NTakBAIoaDaW5vggArvM5LxHbZPIJmjoQsaqlloRxPGJ9zZzLXhX9KgeO/ cfIw== Received: by 10.182.136.41 with SMTP id px9mr858072obb.21.1333588437534; Wed, 04 Apr 2012 18:13:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.114.72 with HTTP; Wed, 4 Apr 2012 18:13:37 -0700 (PDT) In-Reply-To: References: From: Todd Lipcon Date: Wed, 4 Apr 2012 18:13:37 -0700 Message-ID: Subject: Re: Requirements for patch review To: common-dev@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQmm6hSCnFqE6WWmKFqGBhkc1z8hCrY2vwMzWM/XNNSl+sw+qAVa9kWwx/mUwjExNDUdyian I filed HADOOP-8248 with a diff to the bylaws. Thanks -Todd On Wed, Apr 4, 2012 at 3:26 PM, Eli Collins wrote: > On Wed, Apr 4, 2012 at 2:12 PM, Todd Lipcon wrote: >> Hi folks, >> >> Some discussion between Nicholas, Aaron, and me started in the >> comments of HDFS-3168 which I think is better exposed on the mailing >> list instead of trailing an already-committed JIRA. >> >> The question at hand is what the policy is with regarding our >> review-then-commit policies. The bylaws state: >> >>>>> >> *Code Change* >> A change made to a codebase of the project and committed by a >> committer. This includes source code, documentation, website content, >> etc. Lazy consensus of active committers, but with a minimum of one >> +1. The code can be committed after the first +1, unless the code >> change represents a merge from a branch, in which case three +1s are >> required. >> <<< >> >> The wording here is ambiguous, though, whether the committer who >> provides the minimum one +1 may also be the author of the code change. >> If so, that would seem to imply that committers may always make code >> changes by merely +1ing their own patches, which seems counter to the >> whole point of "review-then-commit". So, I'm pretty sure that's not >> what it means. >> >> The question that came up, however, was whether a non-committer >> contributor may provide a binding +1 for a patch written by a >> committer. So, if I write a patch as a committer, and then a community >> member reviews it, am I free to commit it without another committer >> looking at it? My understanding has always been that this is not the >> case, but we should clarify the by-laws if there is some ambiguity. >> >> I would propose the following amendments: >> A committer may not provide a binding +1 for his or her own patch. >> However, in the case of trivial patches only, a committer may use a +1 >> from the problem reporter or other contributor in lieu of another >> committer's +1. The definition of a trivial patch is subject to the >> committer's best judgment, but in general should consist of things >> such as: documentation fixes, spelling mistakes, log message changes, >> or additional test cases. >> >> I think the above strikes a reasonable balance between pragmatism for >> quick changes, and keeping a rigorous review process for patches that >> should have multiple experienced folks look over. >> >> Thoughts? >> > > Sounds reasonable to me. > > Maybe file a jira with the proposed diff to the bylaws xml =A0and we can > have quick vote on it here. > > Thanks, > Eli --=20 Todd Lipcon Software Engineer, Cloudera