mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: joe@perches.com
Cc: akpm@linux-foundation.org, Ian.Campbell@citrix.com,
	florian@mickler.org, linux-kernel@vger.kernel.org,
	Richard Weinberger <richard@nod.at>
Subject: [PATCH] get_maintainer.pl: Add support for moderated lists
Date: Wed, 29 Feb 2012 20:49:22 +0100	[thread overview]
Message-ID: <1330544962-995-1-git-send-email-richard@nod.at> (raw)

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


             reply	other threads:[~2012-02-29 19:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-29 19:49 Richard Weinberger [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1330544962-995-1-git-send-email-richard@nod.at \
    --to=richard@nod.at \
    --cc=Ian.Campbell@citrix.com \
    --cc=akpm@linux-foundation.org \
    --cc=florian@mickler.org \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®