lkml.org 
[lkml]   [2012]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] get_maintainer.pl: Add support for moderated lists
From
Date
On Wed, 2012-02-29 at 20:49 +0100, Richard Weinberger wrote:
> 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>

> diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
[]
> @@ -1027,8 +1027,13 @@ sub add_categories {
> if ($email_list) {
> if (!$hash_list_to{lc($list_address)}) {
> $hash_list_to{lc($list_address)} = 1;
> - push(@list_to, [$list_address,
> - "open list${list_role}"]);
> + if ($list_additional =~ m/moderated/) {
> + push(@list_to, [$list_address,
> + "moderated list${list_role}"]);
> + } else {
> + push(@list_to, [$list_address,
> + "open list${list_role}"]);
> + }





\
 
 \ /
  Last update: 2012-03-02 18:15    [W:0.067 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site