[PATCH v3 28/29] patman: Support parsing of review snippets

Simon Glass sjg at chromium.org
Wed Nov 4 00:02:46 CET 2020


Add support for parsing the contents of a patchwork 'patch' web page
containing comments received from reviewers. This allows patman to show
these comments in a simple 'snippets' format.

A snippet is some quoted code plus some unquoted comments below it. Each
review is from a unique person/email and can produce multiple snippets,
one for each part of the code that attracts a comment.

Show the file and line-number info at the top of each snippet if
available.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 tools/patman/func_test.py   | 83 ++++++++++++++++++++++++++++++++++++
 tools/patman/patchstream.py | 85 +++++++++++++++++++++++++++++++++++++
 2 files changed, 168 insertions(+)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list