From a4f8d785f4c7e0fcec212e5ea4d90fc919ed3efc Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 15 Feb 2020 15:54:30 -0500 Subject: Update authors --- update-authors.pl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'update-authors.pl') diff --git a/update-authors.pl b/update-authors.pl index 9441cd89..c590b059 100755 --- a/update-authors.pl +++ b/update-authors.pl @@ -44,6 +44,8 @@ sub ReplaceAuthors { $_ eq 'rbuj ' and $_ = 'Robert Buj ' for @authors; $_ eq 'Scott Balneaves ' and $_ = 'Scott Balneaves ' for @authors; $_ eq 'Wolfgang Ulbrich ' and $_ = 'Wolfgang Ulbrich ' for @authors; + $_ eq 'Wu Xiaotian ' and $_ = 'Wu Xiaotian ' for @authors; + $_ eq 'ZenWalker ' and $_ = 'Pablo Barciela ' for @authors; return @authors; } @@ -67,5 +69,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