Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753998AbYGaEUm (ORCPT ); Thu, 31 Jul 2008 00:20:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751051AbYGaEUd (ORCPT ); Thu, 31 Jul 2008 00:20:33 -0400 Received: from rv-out-0506.google.com ([209.85.198.232]:49232 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750861AbYGaEUc (ORCPT ); Thu, 31 Jul 2008 00:20:32 -0400 Message-ID: Date: Thu, 31 Jul 2008 00:20:31 -0400 From: "Kyle Moffett" To: davids@webmaster.com Subject: Re: 463 kernel developers missing! Cc: alan@lxorguk.ukuu.org.uk, "Stefan Richter" , "Linux-Kernel@Vger. Kernel. Org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080730233229.5ebe4465@lxorguk.ukuu.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1843 Lines: 47 STOP!!! This is seriously just getting silly... If people *really* care about the privacy of information they placed in publicly accessible databases via agreement with the DCO, then there is a workaround: Instead of a "mailmap" file, use a "mailhash" file like this: [...lines...] 4db83f457ca750b3ed0bb7db2375cfd41846fb43 Kyle Moffett [...more lines...] That SHA1 checksum is of the name-and-email you are mapping *from* and the value on the right is the string to replace it with. For all the people who don't like their emails being displayed when somebody looks at logs, you can just get your entries in that file changed to "anonymous". Then the people who want useful statistics will ignore your commits and people who want to look at logs will just use the newly-added --no-mailhash option to see the "" that you happened to put in the Signed-off-by. Alternatively people could realize it's not worth it and just go write real code or something. PS. Just to show how easy it was, I converted the mailmap file that was sent out into the above mailhash file with a perl one-liner (WARNING: probably linewrapped): perl -MDigest::SHA1=sha1_hex -n -e 'chomp; s/\s+/ /g; s/^ //; s/ $//; print sha1_hex($_)." $_\n";' mailhash Once you have the mailhash file, to convert from a "Name " to the actual desired representation you can run: value="Name " sha1="$(echo -n "${value}" | sha1sum - | awk '{print $1}')" line="$(sed -ne "/^${sha1} /{ s/^${sha1} //; p }" mailhash | head -n 1)" Cheers, Kyle Moffett -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/