[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f73f7ab80807302120h44e17babp17fd876788dddc37@mail.gmail.com>
Date: Thu, 31 Jul 2008 00:20:31 -0400
From: "Kyle Moffett" <kyle@...fetthome.net>
To: davids@...master.com
Cc: alan@...rguk.ukuu.org.uk,
"Stefan Richter" <stefanr@...6.in-berlin.de>,
"Linux-Kernel@...r. Kernel. Org" <linux-kernel@...r.kernel.org>
Subject: Re: 463 kernel developers missing!
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 <kyle@...fetthome.net>
[...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
"<jranodmuser@...typod-domian.cmo>" 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";' <mailmap >mailhash
Once you have the mailhash file, to convert from a "Name <email>" to
the actual desired representation you can run:
value="Name <email>"
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists