summaryrefslogtreecommitdiff
path: root/update-authors.pl
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-26 10:20:00 +0100
committerraveit65 <[email protected]>2020-02-27 22:18:31 +0100
commita437c151bbe6e78771eadea3537d1219f28fb758 (patch)
treee31eb0d27b5b0e73d9db4b056543a842158507cf /update-authors.pl
parent0de6468b070d5a719752d8fe6f07b3681713f2cd (diff)
downloadmate-terminal-a437c151bbe6e78771eadea3537d1219f28fb758.tar.bz2
mate-terminal-a437c151bbe6e78771eadea3537d1219f28fb758.tar.xz
Use user page on github when user email is private
Diffstat (limited to 'update-authors.pl')
-rwxr-xr-xupdate-authors.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/update-authors.pl b/update-authors.pl
index e844196..81a2f57 100755
--- a/update-authors.pl
+++ b/update-authors.pl
@@ -60,5 +60,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) . ';';