Gerrit Essentials
Clearvision's Gerrit Essentials training course provides an understanding of code within the Gerrit workflow.
Audience:
Prerequisites:
- Basic knowledge of Linux interfaces
- Basic understanding of Git
- Internet connection
- Access to laptop
Course outline:
Module 1: Introduction
- Introduction to Gerrit
- The Gerrit Workflow
- Roles in Gerrit
- Introduction to code reviews
- Code review scores
- Default user permissions
- The Gerrit refspec
- Code review requirements
Demonstrations:
- Explore Gerrit
- Verify the training enviromement
- Clone a Gerrit repository
- Retrieve the commit-msg hook
Module 2: Creating a change
- Cloning from Gerrit
- Making Local changes
- Squashing changes
- Pushing to the Gerrit Refspec
- Viewing your changes in the Gerrit interface
Demonstrations:
- Create a local branch
- Make some changes in Git
- Squash Changes
- Push to Gerrit
Module 3: Setting up a code review
- Verification
- Inviting reviewers to participate
- Monitoring review progress
- Notifications
Demonstrations:
- Invite peers to participate in review
- View existing reviews
- understand a review’s status
Module 4: Reviewing changes:
- Accessing code reviews
- Identifying a review’s status
- Viewing comments
- Patch sets
- Viewing changes in Diff views
- comparing patch sets
- Review preferences
- Commenting on Changes
- Replying to Comments
- Completing the code review
Demonstrations:
- Searching for reviews
- Review changes submitted by another user
- Explore Diff views
- Provide Review comments
- Passing a review
Module 5: Submitting a change
- Submission Requirements
- Submitting changes
- Patch set status
- Dependencies
- Rebasing Changes
- Change ID’s
- Creating additional patchsets
- Recap – squashing changes
- Amending Changes
- Abandoning changes
Demonstrations:
- Rebasing in Gerrit
- Failing a review
- Re-submitting failed reviews
- Resolving conflicts in a Gerrit rebase
- Passing and submitting a review