Return-Path: X-Original-To: apmail-infrastructure-dev-archive@minotaur.apache.org Delivered-To: apmail-infrastructure-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 321779F02 for ; Wed, 14 Dec 2011 13:20:42 +0000 (UTC) Received: (qmail 86279 invoked by uid 500); 14 Dec 2011 13:20:41 -0000 Delivered-To: apmail-infrastructure-dev-archive@apache.org Received: (qmail 86077 invoked by uid 500); 14 Dec 2011 13:20:40 -0000 Mailing-List: contact infrastructure-dev-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: infrastructure-dev@apache.org Delivered-To: mailing list infrastructure-dev@apache.org Received: (qmail 86069 invoked by uid 99); 14 Dec 2011 13:20:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2011 13:20:40 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jukka.zitting@gmail.com designates 74.125.83.50 as permitted sender) Received: from [74.125.83.50] (HELO mail-ee0-f50.google.com) (74.125.83.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2011 13:20:34 +0000 Received: by eeke53 with SMTP id e53so800240eek.23 for ; Wed, 14 Dec 2011 05:20:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=MU50gpwAbvlaTHliRoxqWf8kKSY+oJRgY7Nt5PmB+AY=; b=ATj8DB8ylskMGmNuKeEaARabZko+Xfz6hsmdLm9Q2sVIARQq7tlNHzSN1ZnnrcWxDU XDH8RrWqzu9j+GS82+GR4Qb3/uh4yH+Hz8mG8ZLnqICey/Fulan03OiNOSTnt8WBq7vp u+1cSsR3guBW1m2ogobA3ELcVzievm5YkSmxY= Received: by 10.180.107.229 with SMTP id hf5mr4615637wib.35.1323868813090; Wed, 14 Dec 2011 05:20:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.99.65 with HTTP; Wed, 14 Dec 2011 05:19:52 -0800 (PST) From: Jukka Zitting Date: Wed, 14 Dec 2011 14:19:52 +0100 Message-ID: Subject: @apache.org commit address requirement (Was: Git hosting is go) To: infrastructure-dev@apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi, The asfgit pre_receive hook currently checks that each commit being pushed has its committer email (%ce) set to the @apache.org address of one of committers of the respective project. This seems too strict and makes it quite cumbersome to handle things like pull requests where you'd want to take in incoming commits as-is and just merge them to the main branch instead of rebasing or rewriting the commits. We can't even rely on the %ce information being correct since it's set on the client side. Instead of this %ce check I'd leave the commit messages as-is and rather augment the ref-updates.log with information about who pushed each individual commit. That gives us a more reliable record for tying individual changes to ICLAs than the %ce addresses in commit messages. Alternatively, if we do want to include explicit and properly verified ICLA references in the actual Git commit messages (instead of an out-of-band mechanism like ref-updates.log), then I'd rather use separate Signed-Off-By labels that the committer who pushes a set of commits needs to add to each commit being pushed. WDYT? I can make the changes if we can reach consensus on this. [See below for the relevant context from callback-dev@] BR, Jukka Zitting ---------- Forwarded message ---------- From: Jukka Zitting Date: Wed, Dec 14, 2011 at 1:58 PM Subject: Re: Git hosting is go To: callback-dev@incubator.apache.org Hi, On Wed, Dec 14, 2011 at 12:05 PM, Jukka Zitting wrote: > I'm not sure how strict the backend is about commits pulled from > elsewhere. Ideally it should only record the currently authenticated > user or at most require a Signed-Off-By entry from the committer who's > pushing the commits. I'll see what I can find out. The backend check that the committer (not author) address of each commit being pushed is an @apache.org address of one of the committers authorized to push to the repository. Checking the committer address seems way too strict as it would require breaking history on all pull requests from outside the core development group. I'll bring this up on infra-dev@ [1], to see how we could best address the issue. [1] http://mail-archives.apache.org/mod_mbox/www-infrastructure-dev/ BR, Jukka Zitting