Not able to add comments on Gerrit. It rather gets added as Draft. What am I doing wrong?
-
26-10-2019 - |
Question
Not able to add comments on Gerrit. It rather gets added as Draft. What am I doing wrong? Others in my team are able to add comments though.
Solution
Comments are published when you make them part of a review. Post a review and the comments will be published with it. (You can score the commit as +0 if you don't have any opinion either way.)
OTHER TIPS
Click on the Reply button in the header. Then Post it.
At least on Qt's Gerrit system:
After saving the comment draft, yse the keyboard shortcut 'r' to publish a "review" which publishes the comment.
For those who has happened to be stumbled (like me) with how to post comments for work-in-progress (WIP) review without starting review (e.g. leaving in work-in-progress state), Gerrit version 2.16. Here's counter-intuitive answer:
- Press "START REVIEW" button - don't afraid, it will not start review immediately (at least on above mentioned version)
- Press "SAVE" (greyish! not quite noticeable) in opened window in left bottom corner