summaryrefslogtreecommitdiff
path: root/update-authors.pl
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-26 10:07:04 +0100
committerraveit65 <[email protected]>2020-02-29 18:42:01 +0100
commitd169cfe62e9925a1d8f3d79756004a567027cf30 (patch)
tree805da3a7d541009a5968e6c109140bdb9c97da6b /update-authors.pl
parent0960168ed01873622ddf4606082417030e28cc1e (diff)
downloadpluma-d169cfe62e9925a1d8f3d79756004a567027cf30.tar.bz2
pluma-d169cfe62e9925a1d8f3d79756004a567027cf30.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 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) . ';';