get_maintainer.pl: add support for moderated lists
Currently get_maintainer.pl reports moderated lists as open, which is just wrong. Signed-off-by: Richard Weinberger <richard@nod.at> Acked-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
0ede274507
commit
728f5a94a1
@@ -1027,11 +1027,16 @@ sub add_categories {
|
|||||||
if ($email_list) {
|
if ($email_list) {
|
||||||
if (!$hash_list_to{lc($list_address)}) {
|
if (!$hash_list_to{lc($list_address)}) {
|
||||||
$hash_list_to{lc($list_address)} = 1;
|
$hash_list_to{lc($list_address)} = 1;
|
||||||
|
if ($list_additional =~ m/moderated/) {
|
||||||
|
push(@list_to, [$list_address,
|
||||||
|
"moderated list${list_role}"]);
|
||||||
|
} else {
|
||||||
push(@list_to, [$list_address,
|
push(@list_to, [$list_address,
|
||||||
"open list${list_role}"]);
|
"open list${list_role}"]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} elsif ($ptype eq "M") {
|
} elsif ($ptype eq "M") {
|
||||||
my ($name, $address) = parse_email($pvalue);
|
my ($name, $address) = parse_email($pvalue);
|
||||||
if ($name eq "") {
|
if ($name eq "") {
|
||||||
|
Reference in New Issue
Block a user