[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1255087406.16347.108.camel@Joe-Laptop.home>
Date: Fri, 09 Oct 2009 04:23:26 -0700
From: Joe Perches <joe@...ches.com>
To: Wolfram Sang <w.sang@...gutronix.de>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...abs.org,
devicetree-discuss@...abs.org,
Grant Likely <grant.likely@...retlab.ca>,
Anton Vorontsov <avorontsov@...mvista.com>
Subject: Re: [RFC] scripts/get_maintainer: add emails based on keywords in
the patch
On Fri, 2009-10-09 at 12:32 +0200, Wolfram Sang wrote:
> +my %keywords_to_mail = (
> + 'of_get_property' => 'L: devicetree-discuss@...ts.ozlabs.org',
maybe: '\bof_get_property\b'
> + # Check the lines which a patch modifies for keywords; add mail if found.
> + } elsif (m/^[+-].*($keywords_to_mail_match)/o) {
> + (my $keyword_mail = $keywords_to_mail{$1}) =~ s/^([LM]): //;
> + push( @{ ($1 eq 'L') ? \@list_to : \@email_to }, $keyword_mail );
> + }
If this facility is desired by many others, it might be
better to have a separate file of 'regex generates email'
read at initialization.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists