summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'git-identity-map.py')
-rwxr-xr-xgit-identity-map.py22
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)