Make get_maintainer.pl scan the modifying lines of a patch for a list of
keywords and add an associated email if found. The first user is the
devicetree-discuss mailing list which should always be cc'ed if a device tree
property is inserted/removed (keyword 'of_get_property'). This patch is the
res
On Fri, Oct 9, 2009 at 4:32 AM, Wolfram Sang wrote:
> Make get_maintainer.pl scan the modifying lines of a patch for a list of
> keywords and add an associated email if found. The first user is the
> devicetree-discuss mailing list which should always be cc'ed if a device tree
> property is insert
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/^
On Fri, 2009-10-09 at 04:23 -0700, Joe Perches wrote:
> If this facility is desired by many others, it might be
> better to have a separate file of 'regex generates email'
> read at initialization.
Perhaps it's better to use the existing MAINTAINERS file
and extend it with a new "K:" for keyword e
> Perhaps it's better to use the existing MAINTAINERS file
> and extend it with a new "K:" for keyword entry.
Yeah, makes sense to have everything in one file.
> + K: Keyword perl regex pattern to match content in patch
> +All patterns are surrounded by "\b"
> +for instance: