diff options
author | 2012-10-14 17:58:09 -0700 | |
---|---|---|
committer | 2012-10-16 13:28:49 -0700 | |
commit | db61e0d2a3b58dc87b1be5593927930093bc6e7c (patch) | |
tree | 6cfcdc1ed87a498de25288d6af519b168087328b | |
parent | add manual mapping for uid* commits (diff) | |
download | git-conversion-tools-db61e0d2a3b58dc87b1be5593927930093bc6e7c.tar.gz git-conversion-tools-db61e0d2a3b58dc87b1be5593927930093bc6e7c.tar.bz2 git-conversion-tools-db61e0d2a3b58dc87b1be5593927930093bc6e7c.zip |
Suppress known missing names, leaving just the email address.
-rwxr-xr-x | create-mailmap.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/create-mailmap.py b/create-mailmap.py index 290b0fd..ac1fb85 100755 --- a/create-mailmap.py +++ b/create-mailmap.py @@ -5,8 +5,14 @@ def main(source): root = etree.parse(source).getroot() for user in root.findall('user'): fullname = user.findall('realname')[0].get('fullname') + # note we don't actually know jerrym's name; thus just leave + # it empty. + if fullname.lower() == 'unknown': + fullname = '' # Compute email ourselves... username = user.get('username') + if username in ('luke-jr',): + fullname = '' assert username email = '%s@gentoo.org' % username yield username, (fullname, email) |