public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] get_maintainer.pl: Add support for moderated lists
@ 2012-02-29 19:49 Richard Weinberger
  2012-02-29 19:58 ` Joe Perches
  2012-03-02 17:13 ` Joe Perches
  0 siblings, 2 replies; 10+ messages in thread
From: Richard Weinberger @ 2012-02-29 19:49 UTC (permalink / raw)
  To: joe; +Cc: akpm, Ian.Campbell, florian, linux-kernel, Richard Weinberger

Currently get_maintainer.pl reports moderated lists as open,
which is just wrong.

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 scripts/get_maintainer.pl |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index f32a04c..b9bcfb6 100755
--- 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}"]);
+			    }
 			}
 		    }
 		}
-- 
1.7.7.3


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-03-02 21:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-29 19:49 [PATCH] get_maintainer.pl: Add support for moderated lists Richard Weinberger
2012-02-29 19:58 ` Joe Perches
2012-02-29 20:06   ` Richard Weinberger
2012-02-29 20:16     ` Joe Perches
2012-03-01  0:02     ` Andrew Morton
2012-03-01  0:27       ` Richard Weinberger
2012-03-01  1:17       ` Joe Perches
2012-03-02 15:02         ` Richard Weinberger
2012-03-02 21:18           ` Jonas Bonn
2012-03-02 17:13 ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox