public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Richard Weinberger <richard@nod.at>
Cc: akpm@linux-foundation.org, Ian.Campbell@citrix.com,
	florian@mickler.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] get_maintainer.pl: Add support for moderated lists
Date: Fri, 02 Mar 2012 09:13:03 -0800	[thread overview]
Message-ID: <1330708383.7070.5.camel@joe2Laptop> (raw)
In-Reply-To: <1330544962-995-1-git-send-email-richard@nod.at>

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}"]);
> +			    }




      parent reply	other threads:[~2012-03-02 17:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=1330708383.7070.5.camel@joe2Laptop \
    --to=joe@perches.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=akpm@linux-foundation.org \
    --cc=florian@mickler.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richard@nod.at \
    /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