mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-13 10:44:59 +00:00
tools/general_assembly: add a mechanism for excluding people from GA list
To be used at their own request, when they do not wish to receive vote emails.
This commit is contained in:
parent
a786dd4889
commit
9cb8928d69
@ -25,6 +25,10 @@ my @extra_members = (
|
||||
['Shiyou Yin', 'yinshiyou-hf@loongson.cn', DateTime->new(year => 2023, month => 11, day => 28)],
|
||||
);
|
||||
|
||||
# list of names of people who asked to be excluded from GA emails
|
||||
my %excluded_members = (
|
||||
);
|
||||
|
||||
sub trim { my $s = shift; $s =~ s/^\s+|\s+$//g; return $s };
|
||||
|
||||
sub print_help {
|
||||
@ -103,6 +107,11 @@ foreach my $line (@shortlog) {
|
||||
}
|
||||
|
||||
$name = trim $name;
|
||||
|
||||
if (exists $excluded_members{$name}) {
|
||||
next;
|
||||
}
|
||||
|
||||
if ($count < 50) {
|
||||
my $true = 0;
|
||||
my @commits = split /(^|\n)commit [a-z0-9]{40}(\n|$)/,
|
||||
|
Loading…
Reference in New Issue
Block a user