]> git.dujemihanovic.xyz Git - u-boot.git/commit
patman: Support parsing of review snippets
authorSimon Glass <sjg@chromium.org>
Fri, 30 Oct 2020 03:46:37 +0000 (21:46 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 5 Nov 2020 16:11:31 +0000 (09:11 -0700)
commit6b3252e230a1b8ba763883a79906d69b9aa50415
tree48c08b03ee11e2417c29c7dadac6f6a298728039
parent8f9ba3ab56c49880fb13fc483493b635f787627c
patman: Support parsing of review snippets

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@chromium.org>
tools/patman/func_test.py
tools/patman/patchstream.py