Add 'patman' patch generation, checking and submission script
authorSimon Glass <sjg@chromium.org>
Sat, 14 Jan 2012 15:12:45 +0000 (15:12 +0000)
committerWolfgang Denk <wd@denx.de>
Sat, 21 Apr 2012 15:26:17 +0000 (17:26 +0200)
commit0d24de9d558209fa525f350d1320c343f241c3f5
treeb61bdc9f35c4df46234ba70cb23e96e51e1ad6cd
parent0d62032e5b6274686f736a040c4c8667a532b142
Add 'patman' patch generation, checking and submission script

What is this?

=============

This tool is a Python script which:
- Creates patch directly from your branch
- Cleans them up by removing unwanted tags
- Inserts a cover letter with change lists
- Runs the patches through checkpatch.pl and its own checks
- Optionally emails them out to selected people

It is intended to automate patch creation and make it a less
error-prone process. It is useful for U-Boot and Linux work so far,
since it uses the checkpatch.pl script.

It is configured almost entirely by tags it finds in your commits.
This means that you can work on a number of different branches at
once, and keep the settings with each branch rather than having to
git format-patch, git send-email, etc. with the correct parameters
each time. So for example if you put:

in one of your commits, the series will be sent there.

See the README file for full details.
END

Signed-off-by: Simon Glass <sjg@chromium.org>
13 files changed:
tools/patman/.gitignore [new file with mode: 0644]
tools/patman/README [new file with mode: 0644]
tools/patman/checkpatch.py [new file with mode: 0644]
tools/patman/command.py [new file with mode: 0644]
tools/patman/commit.py [new file with mode: 0644]
tools/patman/gitutil.py [new file with mode: 0644]
tools/patman/patchstream.py [new file with mode: 0644]
tools/patman/patman [new symlink]
tools/patman/patman.py [new file with mode: 0755]
tools/patman/series.py [new file with mode: 0644]
tools/patman/settings.py [new file with mode: 0644]
tools/patman/terminal.py [new file with mode: 0644]
tools/patman/test.py [new file with mode: 0644]