<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/tools/patman/checkpatch.py, branch v2020.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/tools/patman/checkpatch.py?h=v2020.10</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/tools/patman/checkpatch.py?h=v2020.10'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2020-07-25T01:25:15Z</updated>
<entry>
<title>patman: Move main code out to a control module</title>
<updated>2020-07-25T01:25:15Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-07-06T03:41:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7d5b04e8a533402799c39468ac880a22f67ffbc9'/>
<id>urn:sha1:7d5b04e8a533402799c39468ac880a22f67ffbc9</id>
<content type='text'>
To make testing easier, move the code out from main into a separate
'control' module and split it into four parts: setup, preparing patches,
checking patches and emailing patches.

Add comments and fix a few code-style issues while we are here.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm"</title>
<updated>2020-07-24T12:42:06Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2020-07-24T12:42:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7208396bbf1df1c7a85d263b7ff054e6b45d8240'/>
<id>urn:sha1:7208396bbf1df1c7a85d263b7ff054e6b45d8240</id>
<content type='text'>
This reverts commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7, reversing
changes made to 56d37f1c564107e27d873181d838571b7d7860e7.

Unfortunately this is causing CI failures:
https://travis-ci.org/github/trini/u-boot/jobs/711313649

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>patman: Move main code out to a control module</title>
<updated>2020-07-20T17:37:46Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-07-06T03:41:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f36537597583a75f357b3927b1e5d816822c90db'/>
<id>urn:sha1:f36537597583a75f357b3927b1e5d816822c90db</id>
<content type='text'>
To make testing easier, move the code out from main into a separate
'control' module and split it into four parts: setup, preparing patches,
checking patches and emailing patches.

Add comments and fix a few code-style issues while we are here.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Decode output from the '--show-types' option</title>
<updated>2020-07-10T00:57:22Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-06-14T16:54:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=89fb8b75bce61c53867f80392cdef9cfc5dbc9cd'/>
<id>urn:sha1:89fb8b75bce61c53867f80392cdef9cfc5dbc9cd</id>
<content type='text'>
Collect the 'checkpatch type' from each error, warning and check. Provide
this to patman and update the uclass test to use it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Complain if a checkpatch line is not understood</title>
<updated>2020-06-12T02:52:11Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-05-06T22:29:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=96daa41aab97f87f1a7b2d8bf00ee546db2ca156'/>
<id>urn:sha1:96daa41aab97f87f1a7b2d8bf00ee546db2ca156</id>
<content type='text'>
Rather than suffering in silence, output a warning if something about the
checkpatch output cannot be understood.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Support warnings in the patch subject</title>
<updated>2020-06-12T02:52:11Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-05-06T22:29:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=37f3bb53b78d13f15634a976ebbfa36499d74290'/>
<id>urn:sha1:37f3bb53b78d13f15634a976ebbfa36499d74290</id>
<content type='text'>
Sometimes checkpatch outputs problems in the patch subject. Add support
for parsing this output and reporting it correctly.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Handle checkpatch output with notes and code</title>
<updated>2020-06-12T02:52:11Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-05-06T22:29:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=666eb15e923e93872dbca1b834ce123a327fc9b3'/>
<id>urn:sha1:666eb15e923e93872dbca1b834ce123a327fc9b3</id>
<content type='text'>
If checkpatch is configured to output code we should ignore it. Similarly,
notes should be ignored.

Update the logic to handle these situations.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Don't try to process checkpatch lines twice</title>
<updated>2020-06-12T02:52:10Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-05-06T22:29:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7175b085e1213c99fbc237483b33cd52ff00f891'/>
<id>urn:sha1:7175b085e1213c99fbc237483b33cd52ff00f891</id>
<content type='text'>
Once we have determined what the line refers to there is no point in
processing it further. Update the logic to continue to the next line in
these cases.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Support emacs mode with checkpatch</title>
<updated>2020-06-12T02:52:10Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-05-06T22:29:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7d5b5e8965b3f0bdf91665cf654b9eaeb9b30e52'/>
<id>urn:sha1:7d5b5e8965b3f0bdf91665cf654b9eaeb9b30e52</id>
<content type='text'>
If checkpatch is run in 'emacs' mode it shows the filename at the
start of each line. Add support for this so that the warnings and errors
are correctly detected.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Fix 'warning' typo</title>
<updated>2020-06-12T02:52:10Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-05-06T22:29:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=870bd567994b4455c9f68c3bc30fea6499fe5f54'/>
<id>urn:sha1:870bd567994b4455c9f68c3bc30fea6499fe5f54</id>
<content type='text'>
If no warnings are detected due to checkpatch having unexpected options,
patman currently shows an error:

   TypeError: unsupported operand type(s) for +=: 'int' and 'property'

Fix this by initing the variable correctly.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
