mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: "Enrico Weigelt, metux IT consult" <info@metux.net>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scripts: helper for mailing patches from git to the maintainers
Date: Thu, 27 Jun 2019 08:43:42 -0700	[thread overview]
Message-ID: <d28bb3dce55ade3024109d8e808b58cdd4441181.camel@perches.com> (raw)
In-Reply-To: <1561647544-12685-1-git-send-email-info@metux.net>

On Thu, 2019-06-27 at 16:59 +0200, Enrico Weigelt, metux IT consult
wrote:
> This is a little helper script for mailing patches out of a git
> branch to the corresponding maintainers.
> 
> Essentially, it scans the touched files, asks get_maintainer.pl
> for their maintainers and calls git-send-email for mailing out
> the patches.
[]
> +get_maintainers() {
> +    $KERNELSRC/scripts/get_maintainer.pl --m --l --remove-duplicates `get_files` |

--noroles --norolestats

It's also useful to separate the --to and --cc lines
where the --to goes only to direct maintainers and
--cc goes to others.

> +        grep -v "$LKML" | \
> +        grep -E "(maintainer|reviewer|open list)" | \
> +        grep -o '[[:alnum:]+\.\_\-]*@[[:alnum:]+\.\_\-]*'



  reply	other threads:[~2019-06-27 15:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-27 14:59 Enrico Weigelt, metux IT consult
2019-06-27 15:43 ` Joe Perches [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-11-21 13:35 Enrico Weigelt, metux IT consult
2019-03-06 18:06 Enrico Weigelt, metux IT consult

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=d28bb3dce55ade3024109d8e808b58cdd4441181.camel@perches.com \
    --to=joe@perches.com \
    --cc=info@metux.net \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®