Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-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 966B9D48B for ; Sun, 17 Jun 2012 20:06:45 +0000 (UTC) Received: (qmail 8418 invoked by uid 500); 17 Jun 2012 20:06:44 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 8388 invoked by uid 500); 17 Jun 2012 20:06:44 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 8379 invoked by uid 99); 17 Jun 2012 20:06:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jun 2012 20:06:44 +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 paul.joseph.davis@gmail.com designates 209.85.220.180 as permitted sender) Received: from [209.85.220.180] (HELO mail-vc0-f180.google.com) (209.85.220.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jun 2012 20:06:37 +0000 Received: by vcbfk26 with SMTP id fk26so2805152vcb.11 for ; Sun, 17 Jun 2012 13:06:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=FMlU7Ks83BJdEpyN0OC0xZbcrPZ5RGrAx+gg7by0ilA=; b=hEdlY7xZQ+rKEkslNrS3ozhzjPhEWH159zk96wjbHY5g6HI4qKSgVbsU1qfV5qAbYZ P4FsGRXmz2bmawltkrf8u/ZAq058jFMqXXcJAjMBkmCJzeeUsncm9phf7lqKxpE9BlXz mkI22lGBkeyQIy7yRXdVe8fPbYRsom5hIRpptfSq3j6Wq6ki8VFuGk5rgvdugEZZpI1J ArklrVN3yHia7gtZjL+vxoHdAV4czmktekWy3S8XRkeqYZnJizN08MV+V23KBhkhssgc I3tqJk2s9xNrC2+bDj8FuAIacDyQGuBw5vb8w1zvjDWqjE8CFnsDgUsnT7lUdYe91Mcl TLrQ== Received: by 10.220.119.147 with SMTP id z19mr6587177vcq.15.1339963576150; Sun, 17 Jun 2012 13:06:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.157.7 with HTTP; Sun, 17 Jun 2012 13:05:35 -0700 (PDT) In-Reply-To: <95997D68-0407-4C9E-A7A6-1C9FF79D5374@apache.org> References: <20120617182914.2F9E811F6E@tyr.zones.apache.org> <4B807C66-3C26-48E1-B3C4-A7C86DCD5C5B@apache.org> <95997D68-0407-4C9E-A7A6-1C9FF79D5374@apache.org> From: Paul Davis Date: Sun, 17 Jun 2012 15:05:35 -0500 Message-ID: Subject: Re: git commit: Automate maintenance of the THANKS file To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Sun, Jun 17, 2012 at 3:02 PM, Jan Lehnardt wrote: > > On Jun 17, 2012, at 21:56 , Paul Davis wrote: > >> On Sun, Jun 17, 2012 at 2:44 PM, Jan Lehnardt wrote: >>> >>> On Jun 17, 2012, at 21:29 , Paul Davis wrote: >>> >>>> I'm not sure I like this so much. Playing around with it, its a bit >>>> prone to screw ups. >>> >>> I just don't want to maintain this file manually any more. It is >>> error-prone and makes merging user-contributions a pain. I'm happy >>> to have this implemented in any other way, but I think we should >>> try to remove any mechanical steps from maintaining our source if >>> we can. I hope you agree! :) >>> >> >> Its an extra step but not one that I find to be particularly onerous. >> Given that we're already working on codifying merge practices I don't >> see why we don't just add a check box for "includes commit adding >> yourself to the THANKS file if this is your first contribution" that >> we look for. > > That's a fair point, but this has annoyed me forever. > >>>> It also breaks if AUTHORS.gz exists before you >>>> pull in new commits. We could solve that by forcing it to build every >>>> time but that's a bit of a hack for not much gain. >>> >>> Can you explain how it breaks if AUTHORS.gz exists before the merge? >>> If you mean THANKS.gz, my idea was that this is only relevant on >>> packaging time (make distcheck) where THANKS.gz by definition does >>> not exist. >>> >> >> I'm not sure its a good idea to have a file that is only built >> correctly in special circumstances. > > I'm happy to add an rm -f $< to the target. > > >>>> Its also got Benoit in there twice since he made commits with slightly >>>> different author/committer names which also seems awkward. >>> >>> The subsequent .mailmap commit fixes the dupes. The push emails seem >>> to be delayed atm, I reported this to danielsh on #asfinfra. >>> >> >> I'm confused. You've removed one manually curated file only to add a >> new one that just modifies the build of the first? Seems like a lot of >> gymnastics. > > .mailmap solves more than just this. > > >> In a perfect world I would be all in with you on this but >> unfortunately a large number of people don't spend time checking their >> user settings before pushing commits around. Instead of just adding >> people to a file the first time they make a commit this means I have >> to go and check that the THANKS file is generated properly and then >> maybe update .mailmap if not and recheck that I got it correct. > > Fair enough, wanna revert? > > Cheers > Jan > -- > > Playing with it a bit to see if I can make it build correctly and also just build the AUTHORS file. I'll leave it around for a bit but won't promise that the first time I spend more than 30s screwing with mailmap that I revert it.