Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to add comments on Gerrit. It rather gets added as Draft. What am I doing wrong?

Tags:

gerrit

People also ask

How do I resolve a comment on Gerrit?

Comments can be unresolved (something should be changed) or resolved (informational). If you have addressed an unresolved comment in a next patchset, you can quickly resolve the comment by clicking "Done" (if it was resolved in a next patchset) or "Ack" (if you acknowledge the comment, but don't want to make changes).


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.)


Click on the Reply button in the header. Then Post it.


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

UPDATE

In newer version I got 3.2.3 - it's been improved, the button is not greyish and looks normal and in the right bottom corner together with other buttons: | CANCEL | SAVE | SEND AND START REVIEW |


And since I am not able to add a comment :

When you want to add comments to a specific revision(Patch Set), switch to that revision and then click on reply. This "Patch Sets" option is found on the upper right corner next to "Download".

screenshot : Switch to a Patch Set

Had to learn the Hard Way today. :-/