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:44:29 +0100
commit6847212da35d85a302038d969480b7031a91645d (patch)
tree0ae53600d4deaefdba29f05c6e96b1688db70725 /update-authors.pl
parentfd53a374d981a3ef5b958d210566e140eb42d8c7 (diff)
downloadeom-6847212da35d85a302038d969480b7031a91645d.tar.bz2
eom-6847212da35d85a302038d969480b7031a91645d.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) . ';';