Re: [RFC][PATCH] update SubmittingPatches to clarify attachment policy

From: Domen Puncer
Date: Sat May 14 2005 - 17:11:59 EST


On 04/05/05 12:28 -0700, Randy.Dunlap wrote:
> A couple of days ago, Matt Mackall described/proposed a tool to
> check new patches for acceptable content and format:
> http://www.selenic.com/pipermail/kernel-mentors/2005-May/000072.html
>
> I'm attaching a rudimentary version of such a tool (check-patch.pl).
> It does not attempt to check for line wrapping or lines that are
> > 80 characters.

I made a simpler (it's only regexes :-) ) and uglier version, which
does check for line wrapping.
I probably won't have too much time to work on it, so feel free
to do whatever you want with it.

> It dislikes patches that contain attachments that are base64,
> quoted-printable, or binary (e.g.).
>
> People can run this script locally, but ideally We (royal) will
> have an email address for it so that people can use it to check
> if their mail interface munges the patch for them... :(
> and can try again until it doesn't.

I put mine on patch-tester@xxxxxxxxxxxx ... don't abuse it too
much, it's just an old pentium on adsl there :-)


Domen

Attachment: patch-tester.pl
Description: Perl program