Gerrit for Gmail

#5 / 1 rate

Gerrit for Gmail

90 users

2019-10-11

Chung Wu

Extension Information

5 star
0%
4 star
0%
3 star
0%
2 star
0%
1 star
0%

Supported Languages

Permissions

Description

Extension for adding Gerrit integration to Gmail.

Gerrit is great, and its review-per-commit model really encourages numerous small, logical, easy-to-digest code reviews over a few monstrous ones -- just the way we prefer it. However, that also means we end up doing a lot of small code reviews that are so simple and straightforward, that often we'd rather just read and approve the change right when we receive the code review notification in Gmail. That's what this Chrome extension is -- a frictionless UI for performing your common Gerrit actions without leaving Gmail. It is a mini Gerrit client built right into your Gmail. If you use Gerrit, and you use Gmail, this is for you.

This Chrome extension aims to implement a very basic Gerrit workflow into your Gmail, based on the emails Gerrit sends. Specifically,

On new patch set emails,

* Colored diffs will be displayed for the patch set. If this is not the first patch set, we diff it against the last-commented-upon patch set rather than the Base, so you can more easily track the evolution of the change!
* Double-click on a diff line to make a comment.
* Approve and submit changes.

On new comment emails,
* Comments from previous emails are threaded and displayed together, so that discussions on the same line are easier to follow.
* You can reply to comments directly from Gmail.

In the Inbox / threadlist view, status of Gerrit emails are displayed as either "New", "Merged", "Approved", "Needs Review", "Reviewed", "Waiting", "Rejected", or "Failed", so you can at a glance figure out which Gerrit emails to pay attention to.

And some convenient shortcuts: "w" to open change in Gerrit, and "W" to approve the change.