Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

I've spent a while this morning looking for the markup for Gerrit comments.

It seems that this isn't a well documented markup, so I'm posting a record of my discovery here!

http://review.whamcloud.com is used to help the code review workflow at Whamcloud. I find this to be an excellent tool. One feature I like is you can make individual in-line comments against specific lines of a change-set.

This is really handy to explain what needs to change - and why I have (reluctantly) given a -1 score.

So, If you find yourself doing similar, you may want to include a formatted comment. Up until now, I didn't know how. That all changed when I found a helpful thread on groups.google.com.

The thread helpfully explains you can (at least) use (undocumented) markup to do the following:

gerrit comment

what is displayed in gerrit over html

Code Block
* item a
* item 1
* item
  • item a
  • item 1
  • item
Code Block
# item a
# item 1
# item
  1. item a
  2. item 1
  3. item
Code Block
 paragraph starting
with a space
 preserves
formatting
No Format
 paragraph starting
with a space
 preserves
formatting