Gerrit Code Review: one-day training

Gerrit is the code review and Git hosting layer behind many embedded and open-source workflows. This one-day, hands-on training is available in two tracks: one for developers and reviewers who work with changes every day, and one for administrators who configure projects, permissions and CI integration.

Gerrit Code Review integration with a CI workflow

Selected slides from the course deck.

Duration

1 day per track

Trainer

Michael Trimarchi

Tracks

Users and administrators

Price

On request

Download the course preview (PDF)

Request a quotation

Contact us

Training tracks

Gerrit for users

Developers, reviewers and maintainers

  • Duration: 1 day

  • Minimum: 3 participants

  • Price: On request

Gerrit for administrators

Gerrit administrators, DevOps and CI owners

  • Duration: 1 day

  • Minimum: 1 participant

  • Price: On request

Gerrit for users

A practical day for developers and reviewers who push changes, review code and work with patch sets. The track follows the complete lifecycle of a change, from the first commit to submission, with hands-on exercises in the Gerrit web UI and on the command line.

Minimum participants: 3

What you will learn

  • Explain what Gerrit is and how it fits into a Git and CI workflow

  • Work with projects, changes, patch sets, Change-Id, topics, reviewers and review labels

  • Push changes for review, including work-in-progress and private changes

  • Review code in the web UI: inspect diffs, comment, vote and compare patch sets

  • Amend a change, resolve review comments and submit when the conditions are met

  • Use the optional ReviewAI module when AI-assisted review is available in your Gerrit instance

Agenda

Morning
  • What Gerrit is and where it fits in a CI workflow

  • Core concepts: projects, changes, patch sets, Change-Id, topics, reviewers and labels

  • The daily workflow: clone, commit, push to refs/for/, WIP and private changes

Afternoon
  • Reviewing in the web UI: diffs, file navigation, comments, votes and patch-set comparison

  • Updating a change: amend, resolve comments and submit

  • Optional ReviewAI module: roles, /review, /suggest, moderator controls and review guidelines

Prerequisites

  • Basic Git skills: clone, commit and push

  • Familiarity with code review concepts

  • A laptop with Git and an SSH client for the hands-on exercises

Gerrit for administrators

A focused day for the people who run Gerrit: project structure, access control, review configuration and replication. The track is built around administrator tasks and the consequences of each setting on developers and CI.

Minimum participants: 1

What you will learn

  • Create and structure projects using parent projects

  • Create user groups and manage membership

  • Configure access rights for branches, tags and special Gerrit references

  • Set up default reviewers and custom review labels

  • Configure replication to another Git server and reload the replication plugin

  • Verify and troubleshoot permissions, review workflow and replication

Agenda

Morning
  • Gerrit architecture and the administrator’s surface

  • Projects, parent projects and user groups

  • Access control: permissions, Git references and special Gerrit references such as refs/for/, refs/changes/ and refs/meta/config

Afternoon
  • Review labels and default reviewer configuration

  • Replication configuration, plugin reload and verification

  • Troubleshooting, operational practices and Q&A

Prerequisites

  • Linux command line and SSH basics

  • Git fundamentals

  • A basic understanding of CI and code review workflows

  • A laptop with Git and an SSH client for the hands-on exercises

Optional ReviewAI module

When ReviewAI is deployed in your Gerrit instance, the user track adds a hands-on module on AI-assisted review:

  • The roles of developer, reviewer, moderator and administrator

  • Starting reviews with /review and requesting edits with /suggest

  • Working with AI concerns, replies and patch sets

  • Moderator controls: dismiss a concern, skip a category or restart the conversation

  • Guidelines for reviewing with AI as a peer, not as an oracle

Course preview

The downloadable preview includes the course overview, both one-day track outlines and selected slides from the Gerrit course decks.

Download the course preview (PDF)

Your trainer

Michael Trimarchi

Michael Trimarchi is co-founder and CEO of Amarula Solutions and a Linux software engineer working on embedded and real-time systems. Michael holds a Master’s degree in Software Engineering from the University of Pisa and is co-author of the first version of the EDF patches submitted to mainline Linux.

Michael teaches this training from the perspective of teams that run Gerrit in production: the workflows developers use every day, and the administrator decisions that make those workflows reliable.

Read Michael’s profile.

Booking and logistics

  • Gerrit for users: 1 day, minimum 3 participants, price on request.

  • Gerrit for administrators: 1 day, minimum 1 participant, price on request.

  • Trainer: Michael Trimarchi.

  • Format: Instructor-led and hands-on, with live demonstrations and exercises.

Sessions are arranged on request. To reserve a track, request a quotation or contact us.