From d169cfe62e9925a1d8f3d79756004a567027cf30 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 26 Feb 2020 10:07:04 +0100 Subject: Use user page on github when user email is private --- update-authors.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'update-authors.pl') diff --git a/update-authors.pl b/update-authors.pl index 683594e0..2756b58a 100755 --- a/update-authors.pl +++ b/update-authors.pl @@ -63,5 +63,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) . ';'; -- cgit v1.2.1