On Thursday, June 28, 2012 at 15:00 EDT,
Anthony Wong <
won...@gmail.com> wrote:
> I am interested in either putting checkpatch results in the comment
> field or else placing each checkpatch error/warning in-line.
>
> Are either of these possible?
>
> I tried using typical html tags in the comment, but no results (<p>,
> </br>)
Start a line with an asterisk and get a bullet list, or start it with
a space and you get preformatted text (code). This is valid both in
inline comments and in patch set comments. Oh, apart from blank lines
will start new paragraphs.
If this isn't documented is certainly should be.
> For making comments in-line, do I need to use the SQL? Any advice?
You could insert the comments directly into the database, although that
would mean no emails are sent (which might be a good thing, depending on
who you ask). Also, it's of course a fragile interface. Another way
would be to use Gerrit's own JSON-RPC interface.
There is a change to add addition of inline comments to the "review" SSH
command. It's a shame that it's stalled since May 2011.
https://gerrit-review.googlesource.com/22800
--
Magnus Bäck
ba...@google.com