public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/userinfo-scripts:master commit in: /
Date: Tue,  7 May 2013 00:41:48 +0000 (UTC)	[thread overview]
Message-ID: <1367885256.9e2d94d149d2dc1440361606de4075b93ef997a7.sping@gentoo> (raw)

commit:     9e2d94d149d2dc1440361606de4075b93ef997a7
Author:     Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Tue May  7 00:07:36 2013 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Tue May  7 00:07:36 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=9e2d94d1

Add some mail address harvester protection (.. for the future)

---
 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)


             reply	other threads:[~2013-05-07  0:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-07  0:41 Sebastian Pipping [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-07-12 18:22 [gentoo-commits] proj/userinfo-scripts:master commit in: / Sebastian Pipping
2014-07-12 18:22 Sebastian Pipping
2014-06-22 23:26 Sebastian Pipping
2014-06-22 22:14 Sebastian Pipping
2014-06-15 19:00 Sebastian Pipping
2013-05-23 23:41 Sebastian Pipping
2013-05-07  0:41 Sebastian Pipping
2012-11-11 20:59 Sebastian Pipping
2012-11-11 17:55 Sebastian Pipping
2012-11-11 17:55 Sebastian Pipping
2012-05-06 16:17 Sebastian Pipping
2012-05-06 16:02 Sebastian Pipping
2012-05-06 15:32 Sebastian Pipping
2012-05-06 15:32 Sebastian Pipping
2012-03-25  0:47 Sebastian Pipping

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1367885256.9e2d94d149d2dc1440361606de4075b93ef997a7.sping@gentoo \
    --to=sping@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox