From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756049Ab2CBRNG (ORCPT ); Fri, 2 Mar 2012 12:13:06 -0500 Received: from perches-mx.perches.com ([206.117.179.246]:37010 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751919Ab2CBRNF (ORCPT ); Fri, 2 Mar 2012 12:13:05 -0500 Message-ID: <1330708383.7070.5.camel@joe2Laptop> Subject: Re: [PATCH] get_maintainer.pl: Add support for moderated lists From: Joe Perches To: Richard Weinberger Cc: akpm@linux-foundation.org, Ian.Campbell@citrix.com, florian@mickler.org, linux-kernel@vger.kernel.org Date: Fri, 02 Mar 2012 09:13:03 -0800 In-Reply-To: <1330544962-995-1-git-send-email-richard@nod.at> References: <1330544962-995-1-git-send-email-richard@nod.at> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Joe Perches > 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}"]); > + }