summaryrefslogtreecommitdiff
path: root/update-authors.pl
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-26 09:54:03 +0100
committerraveit65 <[email protected]>2020-02-27 13:43:26 +0100
commit7e94e3a78128733d43ef7a2cf44b0b65d220f339 (patch)
tree46dc453c8b4ca253bee3657e91af98c9bce07df1 /update-authors.pl
parentc2d59d9296c2447bca14674b3010e9f6c835df79 (diff)
downloadeom-7e94e3a78128733d43ef7a2cf44b0b65d220f339.tar.bz2
eom-7e94e3a78128733d43ef7a2cf44b0b65d220f339.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 cd52f18..0b9d64e 100755
--- a/update-authors.pl
+++ b/update-authors.pl
@@ -58,5 +58,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) . ';';