maintainers/scripts/feature-freeze-teams.pl: Output result to stdout

This commit is contained in:
Silvan Mosberger
2025-10-20 17:19:00 +02:00
parent 264ca12397
commit e4a1af0847

View File

@@ -52,11 +52,11 @@ while (my ($team_nix_key, $team_config) = each %{$data}) {
next; next;
} }
# Team name # Team name
print {*STDERR} "$team_config->{shortName}:"; print {*STDOUT} "$team_config->{shortName}:";
# GitHub Teams # GitHub Teams
my @github_members; my @github_members;
if (defined $team_config->{github}) { if (defined $team_config->{github}) {
print {*STDERR} " \@NixOS/$team_config->{github}"; print {*STDOUT} " \@NixOS/$team_config->{github}";
push @github_members, @{github_team_members($team_config->{github})}; push @github_members, @{github_team_members($team_config->{github})};
} }
my %github_members = map { $_ => 1 } @github_members; my %github_members = map { $_ => 1 } @github_members;
@@ -69,9 +69,9 @@ while (my ($team_nix_key, $team_config) = each %{$data}) {
if (defined $github_members{$github_handle}) { if (defined $github_members{$github_handle}) {
next; next;
} }
print {*STDERR} " \@$github_handle"; print {*STDOUT} " \@$github_handle";
} }
} }
print {*STDERR} "\n"; print {*STDOUT} "\n";
} }