summaryrefslogtreecommitdiff
path: root/update-authors.pl
diff options
context:
space:
mode:
Diffstat (limited to 'update-authors.pl')
-rwxr-xr-xupdate-authors.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/update-authors.pl b/update-authors.pl
index 9441cd89..c590b059 100755
--- a/update-authors.pl
+++ b/update-authors.pl
@@ -44,6 +44,8 @@ sub ReplaceAuthors {
$_ eq 'rbuj <robert.buj%gmail.com>' and $_ = 'Robert Buj <robert.buj%gmail.com>' for @authors;
$_ eq 'Scott Balneaves <sbalneav%ltsp.org>' and $_ = 'Scott Balneaves <sbalneav%mate-desktop.org>' for @authors;
$_ eq 'Wolfgang Ulbrich <chat-to-me%raveit.de>' and $_ = 'Wolfgang Ulbrich <mate%raveit.de>' for @authors;
+ $_ eq 'Wu Xiaotian <yetist%gmail.com>' and $_ = 'Wu Xiaotian <xiaotian.wu%i-soft.com.cn>' for @authors;
+ $_ eq 'ZenWalker <scow%riseup.net>' and $_ = 'Pablo Barciela <scow%riseup.net>' for @authors;
return @authors;
}
@@ -67,5 +69,9 @@ sub GetNewAuthors {
my @A = GetCurrentAuthors;
my @B = GetNewAuthors;
+for (@B) {
+ s/<\d+\+(.+?)%users\.noreply\.github\.com>/<$1%users\.noreply\.github\.com>/;
+ s/<(.+?)%users\.noreply\.github\.com>/https:\/\/github.com\/$1/;
+}
my @merged = sort { $a cmp $b } keys %{{map {($_ => 1)} (@A, @B)}};
print join(';',@merged) . ';';