diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2013-05-07 02:07:36 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2013-05-07 02:07:36 +0200 |
commit | 9e2d94d149d2dc1440361606de4075b93ef997a7 (patch) | |
tree | f42fddcb9f0ef41e5038e27aa5cab58a98461f90 | |
parent | Map zhllg to r0bertz (diff) | |
download | userinfo-scripts-9e2d94d149d2dc1440361606de4075b93ef997a7.tar.gz userinfo-scripts-9e2d94d149d2dc1440361606de4075b93ef997a7.tar.bz2 userinfo-scripts-9e2d94d149d2dc1440361606de4075b93ef997a7.zip |
Add some mail address harvester protection (.. for the future)
-rwxr-xr-x | git-identity-map.py | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/git-identity-map.py b/git-identity-map.py index ec44adb..e39dd2b 100755 --- a/git-identity-map.py +++ b/git-identity-map.py @@ -27,16 +27,22 @@ _past_nicknames_for = { } -_external_contributors = { - 'caratorn': ('Charles Clément', 'caratorn@gmail.com'), - 'frquadrat': ('Frank-Ralph Reiser', 'frank.ralph.reiser@gmail.com'), - 'hey_neken': ('Mikel Olasgasti', 'hey_neken@mundurat.net'), - 'mellen': ('Tais M. Hansen', 'mellen@osd.dk'), - 'tacvbo': ('Octavio Ruiz', 'tacvbo@tacvbo.net'), - 'rambaldi': ('Rambaldi', 'rambaldi@xs4all.nl'), - 'svoop': ('Sven Schwyn', 'gentoo@bitcetera.com'), +_external_contributors_spam_protected = { + 'caratorn': ('Charles Clément', 'caratorn', 'gmail.com'), + 'frquadrat': ('Frank-Ralph Reiser', 'frank.ralph.reiser', 'gmail.com'), + 'hey_neken': ('Mikel Olasgasti', 'hey_neken', 'mundurat.net'), + 'mellen': ('Tais M. Hansen', 'mellen', 'osd.dk'), + 'tacvbo': ('Octavio Ruiz', 'tacvbo', 'tacvbo.net'), + 'rambaldi': ('Rambaldi', 'rambaldi', 'xs4all.nl'), + 'svoop': ('Sven Schwyn', 'gentoo', 'bitcetera.com'), } +_external_contributors = dict([ + (nick, (name, '%s@%s' % (user, host))) \ + for (nick, (name, user, host)) \ + in _external_contributors_spam_protected.items() + ]) + def _produce_line(svn_nick, realname, address): line = '%s = %s <%s>' % (svn_nick, realname, address) |