···1314my $ua = LWP::UserAgent->new();
15000016keys %$maintainers_json; # reset the internal iterator so a prior each() doesn't affect the loop
17while(my($k, $v) = each %$maintainers_json) {
18 my $current_user = %$v{'github'};
19 if (!defined $current_user) {
20 print "$k has no github handle\n";
21- next;
22 }
23 my $github_id = %$v{'githubId'};
24 if (!defined $github_id) {
···37 sleep($ratelimit_reset - time() + 5);
38 }
39 if ($resp->code != 200) {
40- print $current_user . " likely deleted their github account\n";
41 next;
42 }
43 my $resp_json = from_json($resp->content);
44 my $api_user = %$resp_json{"login"};
45- if (lc($current_user) ne lc($api_user)) {
46- print $current_user . " is now known on github as " . $api_user . ". Editing maintainer-list.nix…\n";
00047 my $file = path($maintainers_list_nix);
48 my $data = $file->slurp_utf8;
49 $data =~ s/github = "$current_user";$/github = "$api_user";/m;
···1314my $ua = LWP::UserAgent->new();
1516+if (!defined $ENV{GH_TOKEN}) {
17+ die "Set GH_TOKEN before running this script";
18+}
19+20keys %$maintainers_json; # reset the internal iterator so a prior each() doesn't affect the loop
21while(my($k, $v) = each %$maintainers_json) {
22 my $current_user = %$v{'github'};
23 if (!defined $current_user) {
24 print "$k has no github handle\n";
025 }
26 my $github_id = %$v{'githubId'};
27 if (!defined $github_id) {
···40 sleep($ratelimit_reset - time() + 5);
41 }
42 if ($resp->code != 200) {
43+ print "$k likely deleted their github account\n";
44 next;
45 }
46 my $resp_json = from_json($resp->content);
47 my $api_user = %$resp_json{"login"};
48+ if (!defined $current_user) {
49+ print "$k is known on github as $api_user.\n";
50+ }
51+ elsif (lc($current_user) ne lc($api_user)) {
52+ print "$k is now known on github as $api_user. Editing maintainer-list.nix…\n";
53 my $file = path($maintainers_list_nix);
54 my $data = $file->slurp_utf8;
55 $data =~ s/github = "$current_user";$/github = "$api_user";/m;
+1-1
pkgs/applications/misc/nhentai/default.nix
···21 homepage = "https://github.com/RicterZ/nhentai";
22 description = "nHentai is a CLI tool for downloading doujinshi from <http://nhentai.net>";
23 license = licenses.mit;
24- maintainers = with maintainers; [ travisdavis-ops ];
25 };
26}
···21 homepage = "https://github.com/RicterZ/nhentai";
22 description = "nHentai is a CLI tool for downloading doujinshi from <http://nhentai.net>";
23 license = licenses.mit;
24+ maintainers = with maintainers; [ ];
25 };
26}
+1-1
pkgs/by-name/cl/clzip/package.nix
···16 homepage = "https://www.nongnu.org/lzip/clzip.html";
17 description = "C language version of lzip";
18 license = licenses.gpl2Plus;
19- maintainers = with maintainers; [ rs0vere ];
20 platforms = platforms.all;
21 };
22})
···16 homepage = "https://www.nongnu.org/lzip/clzip.html";
17 description = "C language version of lzip";
18 license = licenses.gpl2Plus;
19+ maintainers = with maintainers; [ ];
20 platforms = platforms.all;
21 };
22})
+1-1
pkgs/by-name/re/replxx/package.nix
···24 homepage = "https://github.com/AmokHuginnsson/replxx";
25 description = "A readline and libedit replacement that supports UTF-8, syntax highlighting, hints and Windows and is BSD licensed";
26 license = licenses.bsd3;
27- maintainers = with maintainers; [ rs0vere ];
28 platforms = platforms.all;
29 };
30})
···24 homepage = "https://github.com/AmokHuginnsson/replxx";
25 description = "A readline and libedit replacement that supports UTF-8, syntax highlighting, hints and Windows and is BSD licensed";
26 license = licenses.bsd3;
27+ maintainers = with maintainers; [ ];
28 platforms = platforms.all;
29 };
30})
+1-1
pkgs/development/libraries/kcp/default.nix
···21 description = "A Fast and Reliable ARQ Protocol";
22 homepage = "https://github.com/skywind3000/kcp";
23 license = licenses.mit;
24- maintainers = with maintainers; [ rs0vere ];
25 platforms = platforms.all;
26 };
27}
···21 description = "A Fast and Reliable ARQ Protocol";
22 homepage = "https://github.com/skywind3000/kcp";
23 license = licenses.mit;
24+ maintainers = with maintainers; [ ];
25 platforms = platforms.all;
26 };
27}
···32 description = "A set of cli tools for the conventional commit and semver specifications";
33 homepage = "https://github.com/oknozor/cocogitto";
34 license = licenses.mit;
35- maintainers = with maintainers; [ travisdavis-ops ];
36 };
37}
···32 description = "A set of cli tools for the conventional commit and semver specifications";
33 homepage = "https://github.com/oknozor/cocogitto";
34 license = licenses.mit;
35+ maintainers = with maintainers; [ ];
36 };
37}
+1-1
pkgs/games/hmcl/default.nix
···91 description = "A Minecraft Launcher which is multi-functional, cross-platform and popular";
92 sourceProvenance = with sourceTypes; [ binaryBytecode ];
93 license = licenses.gpl3Only;
94- maintainers = with maintainers; [ rs0vere ];
95 inherit (jre.meta) platforms;
96 };
97})
···91 description = "A Minecraft Launcher which is multi-functional, cross-platform and popular";
92 sourceProvenance = with sourceTypes; [ binaryBytecode ];
93 license = licenses.gpl3Only;
94+ maintainers = with maintainers; [ ];
95 inherit (jre.meta) platforms;
96 };
97})
+1-1
pkgs/tools/wayland/sov/default.nix
···26 description = "An overlay that shows schemas for all workspaces to make navigation in sway easier.";
27 homepage = "https://github.com/milgra/sov";
28 license = with licenses; [ mit ];
29- maintainers = with maintainers; [ travisdavis-ops ];
30 platforms = platforms.linux;
31 };
32}
···26 description = "An overlay that shows schemas for all workspaces to make navigation in sway easier.";
27 homepage = "https://github.com/milgra/sov";
28 license = with licenses; [ mit ];
29+ maintainers = with maintainers; [ ];
30 platforms = platforms.linux;
31 };
32}