Last Updated Nov 10, 2015 — Enterprise Agile Planning expert
Enterprise Agile Planning

We often get requests from the TeamForge users who’re using Git Integration for the one very common use case:  “How can I add a default reviewer to the code review request ? ”

Well, answer became much simpler with Gerrit’s  Reviewer plugin  and Gerrit 2.11 with which plugin can be configured per project with the comfort of Gerrit webUI.

Installation

The verified version of the plugin can be downloaded or install directly.

Download and install

wget https://s3-ap-southeast-1.amazonaws.com/ctf-dev-environment-vagrant/reviewers.jar
ssh -p 29418 @  gerrit plugin install -n reviewers.jar  -< reviewers.jar

Direct install

ssh -p 29418 @  gerrit plugin install -n reviewers.jar  - https://s3-ap-southeast-1.amazonaws.com/ctf-dev-environment-vagrant/reviewers.jar

Replace USERNAME with the user with administrators user and GERRIT_HOST  with the hostname of your Git integration server. In the future release of Gerrit 2.11, this plugin will be bundled so going forward it will not require to install it separately.

Usage

Plugin allows to configure default reviewer(s) per repository.

Go to Gerrit WebUI->project menu bar-> List-> Select project (repository name in TeamForge)

Click on the Reviewers tab

 Here you can specify filter and the default reviewer.

 reviewer can be added by name or email address.

filter can be of multiple types:

  1. *  (wildcard)  for any code review request  for this repository
  2. branch:master   for any code review request for the branch
  3. branch:release file:^lib/.* for any code review request for the release branch which involves change in lib directory

 

 Now with this configuration in place, any new change will have reviewer added as per configuration.

That’s it. Very easy. isn’t it?  Add your peers as a default reviewer and get their attention easily !

Are you ready to scale your enterprise?

Explore

What's New In The World of Digital.ai

May 19, 2023

What is SAFe PI Planning?

PI Planning aims to bring together all the people doing the work and empower them to plan, estimate, innovate, and commit to work that aligns with the business’s high-level goals, vision, and strategy.

Learn More
July 5, 2022

How to bring external data to Digital.ai Agility

Silvia Davis, Sr. Product Marketing Manager at Digital.ai, tells her story of how a positive app experience led to the realization that proper data integration is essential to the entire application lifecycle.

Learn More
April 19, 2022

Happy Anniversary Digital.ai!

This year, Digital.ai turns two! Continue reading for insight on Digital.ai’s journey and what plans we have for the future.

Learn More