summaryrefslogtreecommitdiff
path: root/update-authors.pl
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-15 16:44:06 -0500
committerraveit65 <[email protected]>2020-02-26 00:04:00 +0100
commitd85c711ce7891cf50af6935cbb6c981507c7fc98 (patch)
tree7874c8c908c41e015994aa65992d55f2445391a4 /update-authors.pl
parent1a61e96e9939f9b506b31efb3a039d4b3f0beccd (diff)
downloadengrampa-d85c711ce7891cf50af6935cbb6c981507c7fc98.tar.bz2
engrampa-d85c711ce7891cf50af6935cbb6c981507c7fc98.tar.xz
Update authors
Diffstat (limited to 'update-authors.pl')
-rwxr-xr-xupdate-authors.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/update-authors.pl b/update-authors.pl
index 9d7b44e..b1fe6b2 100755
--- a/update-authors.pl
+++ b/update-authors.pl
@@ -40,6 +40,7 @@ sub ReplaceAuthors {
$_ eq 'rbuj <robert.buj%gmail.com>' and $_ = 'Robert Buj <robert.buj%gmail.com>' for @authors;
$_ eq 'Scott Balneaves <sbalneav%ltsp.org>' and $_ = 'Scott Balneaves <sbalneav%mate-desktop.org>' for @authors;
$_ eq 'sc0w <scow%riseup.net>' and $_ = 'ZenWalker <scow%riseup.net>' for @authors;
+ $_ eq 'Victor Kareh <vkareh%vkareh.net>' and $_ = 'Victor Kareh <vkareh%redhat.com>' for @authors;
$_ eq 'Wolfgang Ulbrich <chat-to-me%raveit.de>' and $_ = 'Wolfgang Ulbrich <mate%raveit.de>' for @authors;
return @authors;
}
@@ -64,5 +65,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) . ';';