3
0
Fork 0
forked from mirrors/nixpkgs

maintainers/fix-maintainers.pl: ignore case

as this script would otherwise create a bunch of somewhat unnecessary/noisy renames that aren't "actual" renames
This commit is contained in:
emilylange 2023-06-04 16:26:25 +02:00
parent 7c0f98bba5
commit 756e89e6ef
No known key found for this signature in database
GPG key ID: 0AD773CE46FD0F87

View file

@ -42,7 +42,7 @@ while(my($k, $v) = each %$maintainers_json) {
}
my $resp_json = from_json($resp->content);
my $api_user = %$resp_json{"login"};
if ($current_user ne $api_user) {
if (lc($current_user) ne lc($api_user)) {
print $current_user . " is now known on github as " . $api_user . ". Editing maintainer-list.nix…\n";
my $file = path($maintainers_list_nix);
my $data = $file->slurp_utf8;