[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANZNk82c8=Ypw_DXDpLZkuvOvjOevccCk70inXOpeKD3h9fnrQ@mail.gmail.com>
Date: Fri, 18 Jul 2014 18:24:15 +0300
From: Andrey Utkin <andrey.krieger.utkin@...il.com>
To: Benoit Taine <benoit.taine@...6.fr>
Cc: kernelnewbies@...nelnewbies.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org, adobriyan@...il.com
Subject: Re: How to automate checkpatch && get_maintainers && git send-email
of commits range?
2014-07-18 17:46 GMT+03:00 Benoit Taine <benoit.taine@...6.fr>:
> On 18/07/2014 17:38, Andrey Utkin wrote:
>> Is there script for automated checkpatch.pl && get_maintainers.pl &&
>> git send-email for range of commits? I see none. Would it be welcome
>> to submit such one to kernel tree?
> You can use `splitpatch` to split a patch into multiple mails with the
> correct mailing list and maintainers. It generates a script to
> chain-send these emails using `cocci-send-email` (a modified version of
> `git-send-email`).
>
> Both are available in the `tools/` directory of coccinelle's
> distribution <http://coccinelle.lip6.fr/>.
Thank you for this info, but it doesn't match exactly what i seek for.
I'd like to automate checking and sending exactly of range of git
commits, or of a set of files generated by git-format-patch.
I also cannot use cocci-send-email because it doesn't pick To: and Cc:
lines which i inject into git-format-patch-formatted files. And i
don't know tools to format the patches in "The original format used by
Greg Kroah-Hartman's send_lots_of_email.pl script".
My target should be to
- check all patches,
- find set of email addresses to Cc for each patch,
- send them at once to correct sets of addresses, entering SMTP
password only once if it is not stored in git-config.
2014-07-18 17:55 GMT+03:00 Alexey Dobriyan <adobriyan@...il.com>:
>> Is there script for automated checkpatch.pl && get_maintainers.pl &&
>> git send-email for range of commits? I see none. Would it be welcome
>> to submit such one to kernel tree?
>
> Spurious checkpatch.pl changes increasing number of git-blame
> "false positives" are more than enough.
Alexey, sorry, I completely don't get you, could you please elaborate
your reply?
--
Andrey Utkin
--
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