Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DevOps: Continuous Delivery, Integration, and Deployment with DevOps

You're reading from   DevOps: Continuous Delivery, Integration, and Deployment with DevOps Dive into the core DevOps strategies

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781789132991
Length 134 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Sricharan Vadapalli Sricharan Vadapalli
Author Profile Icon Sricharan Vadapalli
Sricharan Vadapalli
Arrow right icon
View More author details
Toc

Source Code Review – Gerrit


Code review is an important function in the software development framework. Having a good collaborative tool like Gerrit for a code review process is very appropriate and needed. Gerrit initiates a pull-based workflow to initiate change requests, wherein comments are included even for source code to allow the change to be merged into the code repository through the workflow process. Gerrit maintains a local repository of the mirrored Git project repositories with reference repositories. Gerrit creates another maintenance branch from master branch to track reviews to the code; it creates a change-id identifier for the commit message to keep track of each change in a code review.

Gerrit allows for code change comparisons and a reviewer can give one of five ratings:

  • +2: Looks good, approved

  • +1: Looks good, but needs additional approval

  • 0: No comments

  • -1: Suggest not submit this

  • -2: Block the submit

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime