* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2013-05-07 0:41 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2013-05-07 0:41 UTC (permalink / raw
To: gentoo-commits
commit: bd00636d418ac8526a0001ce9decdec9cc5f7d45
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Tue May 7 00:42:00 2013 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Tue May 7 00:42:00 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=bd00636d
Add (supposed) java contributors
---
git-identity-map.py | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/git-identity-map.py b/git-identity-map.py
index e39dd2b..6826834 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -28,13 +28,33 @@ _past_nicknames_for = {
_external_contributors_spam_protected = {
+ 'belanger': ('Mathieu Belanger', 'b747xx', 'gmail.com'),
'caratorn': ('Charles Clément', 'caratorn', 'gmail.com'),
+ 'chewi': ('James Le Cuirot', 'chewi', 'aura-online.co.uk'),
+ 'codestr0m': ('Christopher Bergström', 'codestr0m', 'osunix.org'),
+ 'damkor': ('damkor', 'damkor', 'hotmail.com'),
+ 'fridrik': ('Federico Fissore', 'federico', 'fissore.org'),
'frquadrat': ('Frank-Ralph Reiser', 'frank.ralph.reiser', 'gmail.com'),
+ 'geki': ('Han Meyer-Thurow', 'h.mth', 'web.de'),
+ 'gnu_andrew': (' Andrew John Hughes', 'gnu_andrew', 'member.fsf.org'),
'hey_neken': ('Mikel Olasgasti', 'hey_neken', 'mundurat.net'),
+ 'jieryn': ('Jesse Farinacci', 'jieryn', ' gmail.com'),
+ 'kasun': ('Kasun Gajasinghe', 'kasunbg', 'gmail.com'),
+ 'kiorky': ('Mathieu Pasquet', 'kiorky', 'cryptelium.net'),
+ 'kylepan': ('Jiale Pan', 'kyle.j.pan', 'gmail.com'),
'mellen': ('Tais M. Hansen', 'mellen', 'osd.dk'),
+ 'MvG': ('Martin von Gagern', 'Martin.vGagern', 'gmx.net'),
+ 'obeliks': ('Bernhard Frauendienst', 'gentoo', 'obeliks.de'),
+ 'obsidian': ('William Thomson', 'wlt', 'obsidian-studios.com'),
+ 'otih': ('Fabian Fingerle', 'fabian', 'datensalat.eu'),
'tacvbo': ('Octavio Ruiz', 'tacvbo', 'tacvbo.net'),
'rambaldi': ('Rambaldi', 'rambaldi', 'xs4all.nl'),
+ 'sattvik': ('Solano Gomez', 'gentoo', 'sattvik.com'),
+ 'slonopotamus': ('Marat Radchenko', 'marat', 'slonopotamus.org'),
'svoop': ('Sven Schwyn', 'gentoo', 'bitcetera.com'),
+ 'techgurufloyd': ('Jacob Floyd', 'techgurufloyd', 'gmail.com'),
+ 'unlord': ('Nathan Egge', 'nathanegge', 'yahoo.com'),
+ 'weisso': ('Mike Weissman', 'mike', 'weisso.com'),
}
_external_contributors = dict([
@@ -43,6 +63,15 @@ _external_contributors = dict([
in _external_contributors_spam_protected.items()
])
+_contributor_aliases = {
+ 'MvG': ('mvg', ),
+ 'obsidian': ('wltjr', ),
+}
+
+for source, targets in _contributor_aliases.items():
+ for target in targets:
+ _external_contributors[target] = _external_contributors[source]
+
def _produce_line(svn_nick, realname, address):
line = '%s = %s <%s>' % (svn_nick, realname, address)
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2014-07-12 18:22 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2014-07-12 18:22 UTC (permalink / raw
To: gentoo-commits
commit: 67675a5b84a3e94ad54834daf5977c8b58fb50ff
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sat Jul 12 18:21:25 2014 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sat Jul 12 18:21:31 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=67675a5b
Add SVN conmtributors: Quacks, tioan (proj/vdr)
---
git-identity-map.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/git-identity-map.py b/git-identity-map.py
index 84e920b..014457e 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -54,12 +54,14 @@ _external_contributors_spam_protected = {
'obeliks': ('Bernhard Frauendienst', 'gentoo', 'obeliks.de'),
'obsidian': ('William Thomson', 'wlt', 'obsidian-studios.com'),
'otih': ('Fabian Fingerle', 'fabian', 'datensalat.eu'),
+ 'Quacks': ('Joerg Krause', 'joerg_pb', 'gmx.net'),
'tacvbo': ('Octavio Ruiz', 'tacvbo', 'tacvbo.net'),
'rambaldi': ('Rambaldi', 'rambaldi', 'xs4all.nl'),
'sattvik': ('Solano Gomez', 'gentoo', 'sattvik.com'),
'slonopotamus': ('Marat Radchenko', 'marat', 'slonopotamus.org'),
'svoop': ('Sven Schwyn', 'gentoo', 'bitcetera.com'),
'techgurufloyd': ('Jacob Floyd', 'techgurufloyd', 'gmail.com'),
+ 'tioan': ('Mattheus Happe', 'mail', 'tioan.org'),
'unlord': ('Nathan Egge', 'nathanegge', 'yahoo.com'),
'vcover': ('Michael Vogt', 'vcover', 'gmail.com'),
'weisso': ('Mike Weissman', 'mike', 'weisso.com'),
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2014-07-12 18:22 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2014-07-12 18:22 UTC (permalink / raw
To: gentoo-commits
commit: 94992363f924b80affd180a24522655545029293
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sat Jul 12 18:19:56 2014 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sat Jul 12 18:19:56 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=94992363
Add copy-n-past comment row
---
git-identity-map.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/git-identity-map.py b/git-identity-map.py
index 50dbdfe..84e920b 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -34,6 +34,7 @@ _past_nicknames_for = {
_external_contributors_spam_protected = {
+ # 'SVNNICK': ('REALNAME', 'MAILUSER', 'MAILDOMAIN'),
'belanger': ('Mathieu Belanger', 'b747xx', 'gmail.com'),
'caratorn': ('Charles Clément', 'caratorn', 'gmail.com'),
'chewi': ('James Le Cuirot', 'chewi', 'aura-online.co.uk'),
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2014-06-22 23:26 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2014-06-22 23:26 UTC (permalink / raw
To: gentoo-commits
commit: 619ec580f4c89fb1e46b92d53342e339a32fbab8
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sun Jun 22 23:26:19 2014 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Jun 22 23:26:20 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=619ec580
Map CHTEKK to chtekk
Used in uppercase in SVN overlay "proj/vps"
---
git-identity-map.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/git-identity-map.py b/git-identity-map.py
index abbcb8e..50dbdfe 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -12,6 +12,9 @@ _PAST_GENTOO_ACCOUNT, _CHAT_OR_LOCAL_ONLY = range(2)
_past_nicknames_for = {
+ 'chtekk': (
+ ('CHTEKK', _CHAT_OR_LOCAL_ONLY),
+ ),
'chithanh': (
('chithead', _CHAT_OR_LOCAL_ONLY),
),
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2014-06-22 22:14 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2014-06-22 22:14 UTC (permalink / raw
To: gentoo-commits
commit: 947e5782ea42ffc3bacfde20588c6be59ee42095
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sun Jun 22 22:13:17 2014 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Jun 22 22:13:59 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=947e5782
Add SVN user "vcover"
Revisions 22 to 24 in dev/masterdriverz
Confirmed by e-mail reply
---
git-identity-map.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/git-identity-map.py b/git-identity-map.py
index 38ac404..abbcb8e 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -57,6 +57,7 @@ _external_contributors_spam_protected = {
'svoop': ('Sven Schwyn', 'gentoo', 'bitcetera.com'),
'techgurufloyd': ('Jacob Floyd', 'techgurufloyd', 'gmail.com'),
'unlord': ('Nathan Egge', 'nathanegge', 'yahoo.com'),
+ 'vcover': ('Michael Vogt', 'vcover', 'gmail.com'),
'weisso': ('Mike Weissman', 'mike', 'weisso.com'),
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2014-06-15 19:00 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2014-06-15 19:00 UTC (permalink / raw
To: gentoo-commits
commit: a13a207d8693ff2d02d2efb14d91fcc8813752b2
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sun Jun 15 19:00:40 2014 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Jun 15 19:00:40 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=a13a207d
dirtyepic = rhill
---
git-identity-map.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/git-identity-map.py b/git-identity-map.py
index 2bf1bfb..38ac404 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -15,6 +15,9 @@ _past_nicknames_for = {
'chithanh': (
('chithead', _CHAT_OR_LOCAL_ONLY),
),
+ 'dirtyepic': (
+ ('rhill', _PAST_GENTOO_ACCOUNT),
+ ),
'fauli': (
('opfer', _PAST_GENTOO_ACCOUNT),
),
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2013-05-23 23:41 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2013-05-23 23:41 UTC (permalink / raw
To: gentoo-commits
commit: 3e54c68309bf3fd9dbc24279fcdcdf31bab41394
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Thu May 23 23:42:15 2013 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Thu May 23 23:42:15 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=3e54c683
Remove a stray space in the identity map
---
git-identity-map.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-identity-map.py b/git-identity-map.py
index 6826834..2bf1bfb 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -36,7 +36,7 @@ _external_contributors_spam_protected = {
'fridrik': ('Federico Fissore', 'federico', 'fissore.org'),
'frquadrat': ('Frank-Ralph Reiser', 'frank.ralph.reiser', 'gmail.com'),
'geki': ('Han Meyer-Thurow', 'h.mth', 'web.de'),
- 'gnu_andrew': (' Andrew John Hughes', 'gnu_andrew', 'member.fsf.org'),
+ 'gnu_andrew': ('Andrew John Hughes', 'gnu_andrew', 'member.fsf.org'),
'hey_neken': ('Mikel Olasgasti', 'hey_neken', 'mundurat.net'),
'jieryn': ('Jesse Farinacci', 'jieryn', ' gmail.com'),
'kasun': ('Kasun Gajasinghe', 'kasunbg', 'gmail.com'),
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2013-05-07 0:41 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2013-05-07 0:41 UTC (permalink / raw
To: gentoo-commits
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)
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2012-11-11 20:59 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2012-11-11 20:59 UTC (permalink / raw
To: gentoo-commits
commit: 215d6badc260d36237d309e4b4a6728b4f2eded0
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sun Nov 11 20:58:33 2012 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Nov 11 20:58:33 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=215d6bad
Map zhllg to r0bertz
---
git-identity-map.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/git-identity-map.py b/git-identity-map.py
index 5611a4a..ec44adb 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -21,6 +21,9 @@ _past_nicknames_for = {
'stkn': (
('aura', _CHAT_OR_LOCAL_ONLY),
),
+ 'r0bertz': (
+ ('zhllg', _CHAT_OR_LOCAL_ONLY),
+ )
}
@@ -32,7 +35,6 @@ _external_contributors = {
'tacvbo': ('Octavio Ruiz', 'tacvbo@tacvbo.net'),
'rambaldi': ('Rambaldi', 'rambaldi@xs4all.nl'),
'svoop': ('Sven Schwyn', 'gentoo@bitcetera.com'),
- 'zhllg': ('Zhang Le', 'robert.zhangle@gmail.com'),
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2012-11-11 17:55 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2012-11-11 17:55 UTC (permalink / raw
To: gentoo-commits
commit: 767a080d6f83eddf8a17fc96611c109e6d240b09
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sun Nov 11 17:49:30 2012 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Nov 11 17:51:00 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=767a080d
Add external contributors from voip overlay history
---
git-identity-map.py | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/git-identity-map.py b/git-identity-map.py
index c919a24..5611a4a 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -24,6 +24,18 @@ _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'),
+ 'zhllg': ('Zhang Le', 'robert.zhangle@gmail.com'),
+}
+
+
def _produce_line(svn_nick, realname, address):
line = '%s = %s <%s>' % (svn_nick, realname, address)
print(line.encode('utf-8'))
@@ -61,6 +73,8 @@ def main(args):
assert False, 'Invalid kind %s' % str(kind)
_produce_line(alias, realname, _gentoo_address(gentoo_nick))
+ for svn_nick, (realname, address) in sorted(_external_contributors.items()):
+ _produce_line(svn_nick, realname.decode('utf-8'), address=address)
return 0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2012-11-11 17:55 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2012-11-11 17:55 UTC (permalink / raw
To: gentoo-commits
commit: 466c2c6b34a6a70b4f367c029b072b65b3bbb08e
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sun Nov 11 17:49:01 2012 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Nov 11 17:51:00 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=466c2c6b
Make aliases more flexible, add to aliases
---
git-identity-map.py | 38 +++++++++++++++++++++++++++++++++-----
1 files changed, 33 insertions(+), 5 deletions(-)
diff --git a/git-identity-map.py b/git-identity-map.py
index 05dad60..c919a24 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -8,11 +8,31 @@ import xml.etree.ElementTree as ET # Python 2.5
import sys
-def produce_line(gentoo_nick, realname):
- line = '%s = %s <%s@gentoo.org>' % (gentoo_nick, realname, gentoo_nick)
+_PAST_GENTOO_ACCOUNT, _CHAT_OR_LOCAL_ONLY = range(2)
+
+
+_past_nicknames_for = {
+ 'chithanh': (
+ ('chithead', _CHAT_OR_LOCAL_ONLY),
+ ),
+ 'fauli': (
+ ('opfer', _PAST_GENTOO_ACCOUNT),
+ ),
+ 'stkn': (
+ ('aura', _CHAT_OR_LOCAL_ONLY),
+ ),
+}
+
+
+def _produce_line(svn_nick, realname, address):
+ line = '%s = %s <%s>' % (svn_nick, realname, address)
print(line.encode('utf-8'))
+def _gentoo_address(nick):
+ return '%s@gentoo.org' % nick
+
+
def main(args):
if len(args) != 2:
print('USAGE: %s GENTOO/xml/htdocs/proj/en/devrel/roll-call/userinfo.xml' % args[0])
@@ -29,10 +49,18 @@ def main(args):
location = user.find('location')
realname = user.find('realname').attrib['fullname'].strip()
- produce_line(svn_nick, realname)
+ _produce_line(svn_nick, realname, _gentoo_address(svn_nick))
+
+ past_nicknames = _past_nicknames_for.get(svn_nick, [])
+ for alias, kind in past_nicknames:
+ if kind == _PAST_GENTOO_ACCOUNT:
+ gentoo_nick=alias
+ elif kind == _CHAT_OR_LOCAL_ONLY:
+ gentoo_nick=svn_nick
+ else:
+ assert False, 'Invalid kind %s' % str(kind)
+ _produce_line(alias, realname, _gentoo_address(gentoo_nick))
- if svn_nick == 'fauli':
- produce_line('opfer', realname)
return 0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2012-05-06 16:17 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2012-05-06 16:17 UTC (permalink / raw
To: gentoo-commits
commit: fe823abcce4629f5da6a7e93173548547409653f
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sun May 6 16:15:45 2012 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun May 6 16:15:45 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=fe823abc
Simplify produce_line()
---
git-identity-map.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/git-identity-map.py b/git-identity-map.py
index 2f8aee4..05dad60 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -8,8 +8,8 @@ import xml.etree.ElementTree as ET # Python 2.5
import sys
-def produce_line(svn_nick, realname, gentoo_nick):
- line = '%s = %s <%s@gentoo.org>' % (svn_nick, realname, gentoo_nick)
+def produce_line(gentoo_nick, realname):
+ line = '%s = %s <%s@gentoo.org>' % (gentoo_nick, realname, gentoo_nick)
print(line.encode('utf-8'))
@@ -29,10 +29,10 @@ def main(args):
location = user.find('location')
realname = user.find('realname').attrib['fullname'].strip()
- produce_line(svn_nick, realname, svn_nick)
+ produce_line(svn_nick, realname)
if svn_nick == 'fauli':
- produce_line('opfer', realname, 'opfer')
+ produce_line('opfer', realname)
return 0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2012-05-06 16:02 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2012-05-06 16:02 UTC (permalink / raw
To: gentoo-commits
commit: dc071122068cf445d9e1aeaf78573641f42df8d1
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sun May 6 16:01:11 2012 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun May 6 16:01:11 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=dc071122
Do not re-write the past, requested by ulm
---
git-identity-map.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-identity-map.py b/git-identity-map.py
index 8025097..2f8aee4 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -32,7 +32,7 @@ def main(args):
produce_line(svn_nick, realname, svn_nick)
if svn_nick == 'fauli':
- produce_line('opfer', realname, svn_nick)
+ produce_line('opfer', realname, 'opfer')
return 0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2012-05-06 15:32 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2012-05-06 15:32 UTC (permalink / raw
To: gentoo-commits
commit: 3182aec4221cf3f2a471ecf587c5abfa6ae725af
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sun May 6 15:31:33 2012 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun May 6 15:31:33 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=3182aec4
Add earlier nick "opfer" of fauli
---
git-identity-map.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/git-identity-map.py b/git-identity-map.py
index fd87158..8025097 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -31,6 +31,9 @@ def main(args):
produce_line(svn_nick, realname, svn_nick)
+ if svn_nick == 'fauli':
+ produce_line('opfer', realname, svn_nick)
+
return 0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2012-05-06 15:32 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2012-05-06 15:32 UTC (permalink / raw
To: gentoo-commits
commit: 272ee461a4e7edd3208107242c015360acbd4b3e
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sun May 6 15:30:39 2012 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun May 6 15:30:39 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=272ee461
Extract function produce_line()
---
git-identity-map.py | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/git-identity-map.py b/git-identity-map.py
index c83a744..fd87158 100755
--- a/git-identity-map.py
+++ b/git-identity-map.py
@@ -8,6 +8,11 @@ import xml.etree.ElementTree as ET # Python 2.5
import sys
+def produce_line(svn_nick, realname, gentoo_nick):
+ line = '%s = %s <%s@gentoo.org>' % (svn_nick, realname, gentoo_nick)
+ print(line.encode('utf-8'))
+
+
def main(args):
if len(args) != 2:
print('USAGE: %s GENTOO/xml/htdocs/proj/en/devrel/roll-call/userinfo.xml' % args[0])
@@ -20,12 +25,11 @@ def main(args):
return 1
for user in userlist.findall('user'):
- nick = user.attrib['username']
+ svn_nick = user.attrib['username']
location = user.find('location')
realname = user.find('realname').attrib['fullname'].strip()
- line = '%s = %s <%s@gentoo.org>' % (nick, realname, nick)
- print(line.encode('utf-8'))
+ produce_line(svn_nick, realname, svn_nick)
return 0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/userinfo-scripts:master commit in: /
@ 2012-03-25 0:47 Sebastian Pipping
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Pipping @ 2012-03-25 0:47 UTC (permalink / raw
To: gentoo-commits
commit: 70c164c4cde357a6788c6f368685c16a46600a97
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sun Mar 25 00:46:20 2012 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Mar 25 00:46:20 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/userinfo-scripts.git;a=commit;h=70c164c4
Add script to generate Git identity maps (for git-svn or svn2git)
---
git-identity-map.py | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/git-identity-map.py b/git-identity-map.py
new file mode 100755
index 0000000..c83a744
--- /dev/null
+++ b/git-identity-map.py
@@ -0,0 +1,35 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+# Written by Sebastian Pipping <sebastian@pipping.org>
+# Licensed under GPL v2 or later
+
+from __future__ import print_function
+import xml.etree.ElementTree as ET # Python 2.5
+import sys
+
+
+def main(args):
+ if len(args) != 2:
+ print('USAGE: %s GENTOO/xml/htdocs/proj/en/devrel/roll-call/userinfo.xml' % args[0])
+ return 1
+
+ try:
+ userlist = ET.parse(args[1])
+ except IOError as e:
+ print(str(e), file=sys.stderr)
+ return 1
+
+ for user in userlist.findall('user'):
+ nick = user.attrib['username']
+ location = user.find('location')
+ realname = user.find('realname').attrib['fullname'].strip()
+
+ line = '%s = %s <%s@gentoo.org>' % (nick, realname, nick)
+ print(line.encode('utf-8'))
+
+ return 0
+
+
+if __name__ == '__main__':
+ ret = main(sys.argv)
+ sys.exit(ret)
^ permalink raw reply related [flat|nested] 16+ messages in thread
end of thread, other threads:[~2014-07-12 18:22 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-07 0:41 [gentoo-commits] proj/userinfo-scripts:master commit in: / Sebastian Pipping
-- strict thread matches above, loose matches on Subject: below --
2014-07-12 18:22 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox