From: Joe Perches <joe@perches.com>
To: Wolfram Sang <w.sang@pengutronix.de>
Cc: linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org,
devicetree-discuss@ozlabs.org,
Grant Likely <grant.likely@secretlab.ca>,
Anton Vorontsov <avorontsov@ru.mvista.com>
Subject: Re: [RFC] scripts/get_maintainer: add emails based on keywords in the patch
Date: Fri, 09 Oct 2009 04:23:26 -0700 [thread overview]
Message-ID: <1255087406.16347.108.camel@Joe-Laptop.home> (raw)
In-Reply-To: <1255084379-12954-1-git-send-email-w.sang@pengutronix.de>
On Fri, 2009-10-09 at 12:32 +0200, Wolfram Sang wrote:
> +my %keywords_to_mail = (
> + 'of_get_property' => 'L: devicetree-discuss@lists.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.
next prev parent reply other threads:[~2009-10-09 11:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-09 10:32 [RFC] scripts/get_maintainer: add emails based on keywords in the patch Wolfram Sang
2009-10-09 11:23 ` Joe Perches [this message]
2009-10-09 19:01 ` Joe Perches
2009-10-10 9:03 ` Wolfram Sang
2009-10-09 15:46 ` Grant Likely
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=1255087406.16347.108.camel@Joe-Laptop.home \
--to=joe@perches.com \
--cc=avorontsov@ru.mvista.com \
--cc=devicetree-discuss@ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=w.sang@pengutronix.de \
/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