| #
8cb3ce64 |
| 10-Jun-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
6e87ae1c |
| 29-May-2017 |
Simon Glass <sjg@chromium.org> |
patman: Add a functional test
The existing test (patman --test) only covers basic checkpatch output. We have had some problems with unicode processing and could use test coverage for the various tag
patman: Add a functional test
The existing test (patman --test) only covers basic checkpatch output. We have had some problems with unicode processing and could use test coverage for the various tags patman supports.
Add a new functional test which runs most of the patman flow on a few test commits and checks that the results are correct.
See the documentation in the test for a description of what it does.
Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
show more ...
|
| #
db116cc8 |
| 29-May-2017 |
Simon Glass <sjg@chromium.org> |
patman: Don't return the series in FixPatches()
There is no need for this function to return the same object that was passed in. Drop the return value.
Signed-off-by: Simon Glass <sjg@chromium.org>
patman: Don't return the series in FixPatches()
There is no need for this function to return the same object that was passed in. Drop the return value.
Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
show more ...
|
| #
04f78706 |
| 29-May-2017 |
Simon Glass <sjg@chromium.org> |
patman: Don't report unicode character
Unicode characters may appear in input patches so we should not warn about them. Drop this warning.
Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: P
patman: Don't report unicode character
Unicode characters may appear in input patches so we should not warn about them. Drop this warning.
Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
show more ...
|
| #
79493609 |
| 13-Oct-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
a920a17b |
| 27-Sep-2016 |
Paul Burton <paul.burton@imgtec.com> |
patman: Make print statements python 3.x safe
In python 3.x, print must be used as a function call. Convert all print statements to the function call style, importing from __future__ where we print
patman: Make print statements python 3.x safe
In python 3.x, print must be used as a function call. Convert all print statements to the function call style, importing from __future__ where we print with no trailing newline or print to a file object.
Signed-off-by: Paul Burton <paul.burton@imgtec.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
94fbd3e3 |
| 27-Jun-2016 |
Bin Meng <bmeng.cn@gmail.com> |
tools: patman: Handle missing 'END' in non-last commit of a series
The following python error:
Traceback (most recent call last): File "./tools/patman/patman", line 144, in <module> series =
tools: patman: Handle missing 'END' in non-last commit of a series
The following python error:
Traceback (most recent call last): File "./tools/patman/patman", line 144, in <module> series = patchstream.FixPatches(series, args) File "./tools/patman/patchstream.py", line 477, in FixPatches commit = series.commits[count] IndexError: list index out of range
is seen when:
- 'END' is missing in those tags - those tags are put in the last part in a commit message - the commit is not the last commit of the series
Add testing logic to see if a new commit starts.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
57b6b190 |
| 27-Jun-2016 |
Bin Meng <bmeng.cn@gmail.com> |
tools: patman: Handle missing blank line for 'Series-changes'
'Series-changes' uses blank line to indicate its end. If that is missing, series internal state variable 'in_change' may be wrong. Corre
tools: patman: Handle missing blank line for 'Series-changes'
'Series-changes' uses blank line to indicate its end. If that is missing, series internal state variable 'in_change' may be wrong. Correct its state.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
0d577187 |
| 27-Jun-2016 |
Bin Meng <bmeng.cn@gmail.com> |
tools: patman: Generate cover letter correctly when 'END' is missing
If 'END' is missing in a 'Cover-letter' section, and that section happens to show up at the very end of the commit message, and t
tools: patman: Generate cover letter correctly when 'END' is missing
If 'END' is missing in a 'Cover-letter' section, and that section happens to show up at the very end of the commit message, and the commit is the last commit of the series, patman fails to generate cover letter for us. Handle this in CloseCommit of patchstream.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
13b98d95 |
| 27-Jun-2016 |
Bin Meng <bmeng.cn@gmail.com> |
tools: patman: Handle tag sections without an 'END'
'Cover-letter', 'Series-notes' and 'Commit-notes' tags require an 'END' to be put at the end of its section. If we forget to put an 'END' in those
tools: patman: Handle tag sections without an 'END'
'Cover-letter', 'Series-notes' and 'Commit-notes' tags require an 'END' to be put at the end of its section. If we forget to put an 'END' in those sections, and these sections are followed by another patman tag, patman generates incorrect patches. This adds codes to handle such scenario.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
e7df218c |
| 27-Jun-2016 |
Bin Meng <bmeng.cn@gmail.com> |
tools: patman: Use cover_match for 'Cover-letter'
Like other patman tags, use a new variable cover_match to indicate a match for 'Cover-letter'.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-b
tools: patman: Use cover_match for 'Cover-letter'
Like other patman tags, use a new variable cover_match to indicate a match for 'Cover-letter'.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
88033d73 |
| 14-Mar-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
9ad96982 |
| 07-Mar-2016 |
Simon Glass <sjg@chromium.org> |
patman: Add a missing space in GetMetaDataForList()
Fix this nit to keep the code consistent.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
|
| #
b939689c |
| 05-May-2015 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
|
| #
b8d7652c |
| 18-Apr-2015 |
Tom Rini <trini@konsulko.com> |
Merge branch 'buildman' of git://git.denx.de/u-boot-x86
|
| #
35ce2dc4 |
| 03-Apr-2015 |
Wu, Josh <Josh.wu@atmel.com> |
patman: cover letter shows like 00/xx if more than 10 patches
Make cover letter shows like 0/x, 00/xx and 000/xxx etc.
Signed-off-by: Josh Wu <josh.wu@atmel.com> Acked-by: Simon Glass <sjg@chromium
patman: cover letter shows like 00/xx if more than 10 patches
Make cover letter shows like 0/x, 00/xx and 000/xxx etc.
Signed-off-by: Josh Wu <josh.wu@atmel.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
e1cc4d31 |
| 24-Feb-2015 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge remote-tracking branch 'u-boot/master' into 'u-boot-arm/master'
|
| #
e72d3443 |
| 13-Feb-2015 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
|
| #
358b8bc2 |
| 31-Jan-2015 |
Tom Rini <trini@ti.com> |
Merge branch 'patman' of git://git.denx.de/u-boot-x86
|
| #
4b89b813 |
| 25-Sep-2014 |
Scott Wood <scottwood@freescale.com> |
patman: Check commit_match before stripping leading whitespace
True commit lines start at column zero. Anything that is indented is part of the commit message instead. I noticed this by trying to
patman: Check commit_match before stripping leading whitespace
True commit lines start at column zero. Anything that is indented is part of the commit message instead. I noticed this by trying to run buildman with commit e3a4facdfc07179ebe017a07b8de6224a935a9f3 as master, which contained a reference to a Linux commit inside the commit message. ProcessLine saw that as a genuite commit line, and thus buildman tried to build it, and died with an exception because that SHA is not present in the U-Boot tree.
Signed-off-by: Scott Wood <scottwood@freescale.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
97cdf640 |
| 04-Dec-2014 |
Tom Rini <trini@ti.com> |
Merge branch 'sandbox' of git://git.denx.de/u-boot-x86
|
| #
0b5b409a |
| 15-Oct-2014 |
Simon Glass <sjg@chromium.org> |
patman: Use the full commit hash for 'git checkout'
Even with the initial 8 characeters of the hash we will sometimes get a collision. Use the full hash.
Signed-off-by: Simon Glass <sjg@chromium.or
patman: Use the full commit hash for 'git checkout'
Even with the initial 8 characeters of the hash we will sometimes get a collision. Use the full hash.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
1ddda1b3 |
| 15-Oct-2014 |
Simon Glass <sjg@chromium.org> |
patman: Use the full commit hash for 'git checkout'
Even with the initial 8 characeters of the hash we will sometimes get a collision. Use the full hash.
Signed-off-by: Simon Glass <sjg@chromium.or
patman: Use the full commit hash for 'git checkout'
Even with the initial 8 characeters of the hash we will sometimes get a collision. Use the full hash.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
42817eb8 |
| 22-Sep-2014 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-arm
|
| #
5935408a |
| 10-Sep-2014 |
Tom Rini <trini@ti.com> |
Merge branch 'buildman' of git://git.denx.de/u-boot-x86
|