Learning Gerrit Code Review

Leverage the power of Gerrit Code Review to make software development more cooperative and social

Learning Gerrit Code Review

Learning
Luca Milanesio

Leverage the power of Gerrit Code Review to make software development more cooperative and social
$20.99
$34.99
RRP $20.99
RRP $34.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
Code Files
+ Collection
Free Sample

Book Details

ISBN 139781783289479
Paperback144 pages

About This Book

  • Understand the concepts of collective code review using Gerrit through a set of simple examples
  • Integrate code review functionality into Continuous Integration with Jenkins
  • Experiment with the code review lifecycle in real-life scenarios

Who This Book Is For

This book is written for team leaders and developers who wish to reap the benefit of Gerrit and improve collaboration by introducing code review practices.

Table of Contents

Chapter 1: Introducing Code Review
Benefits of Code Review
Code Review roles
Review terms and workflow
Summary
Chapter 2: Setting Up and Quick-start
Pre-requisites
Gerrit download
Running Gerrit initial setup
Log in and create user profile
Generate HTTP password for Git
Create and clone your first project
Summary
Chapter 3: User Authentication
How Gerrit user authentication works
Authenticating over the Internet through OpenID
OpenID SSO
Using in-house private Gerrit authentication (LDAP)
LDAP configuration steps
Active Directory
Third-party authentication options
Summary
Chapter 4: SSH and HTTPS Access
Enabling strong security on Gerrit
Installing Bouncy Castle Security
Using SSH with Gerrit
Enabling HTTPS
Summary
Chapter 5: Editing Your Project Permissions
Understanding the Gerrit permission scheme
Configuring project permissions
Managing groups
Using group hierarchy effectively
Organizing project security templates
Summary
Chapter 6: Changes and Code Review Workflow
Gerrit Code Review roles and workflow
Gerrit branch namespace for code review
Setting topics
Adding reviewers
Review labels
Commenting and scoring changes
Amending code under review
Summary
Chapter 7: Submit Types and Concurrency
Submit types
Concurrent code reviews
Summary

What You Will Learn

  • Set up Gerrit in a default standalone configuration
  • Understand how to leverage the benefits of code review in your development team
  • Integrate Gerrit with popular LDAP registries such as Active Directory
  • Configure OpenID authentication over the Internet
  • Understand Gerrit project security and how to set up defaults, roles, and permissions

In Detail

Developing software is now more than ever before a globally distributed activity: agile methodologies that worked well enough with co-located teams now need to be empowered with additional tools such as Gerrit code review to allow the developers to share, discuss, and cooperate in a more social way, even with GitHub.

Learning Gerrit Code Review is a practical guide that provides you with step-by-step instructions for the installation, configuration, and use of Gerrit code review. Using this book speeds up your adoption of Gerrit through the use of a unique, consolidated set of recipes ready to be used for LDAP authentication and to integrate Gerrit with Jenkins and GitHub.

Learning Gerrit Code Review looks at the workflow benefits of code review in an agile development team, breaks it down into simple steps, and puts it into action without any hassle. It will guide you through the installation steps of Gerrit by showing you the most typical setup and configuration schemes used in private networks.

You will also learn how to effectively use Gerrit with GitHub in order to provide the ability to add more consistent code review functionality to the social collaboration tools provided by the GitHub platform. Using the two tools together, you will be able to reuse your existing accounts and integrate your GitHub community into the development lifecycle while keeping in touch with external contributors.

Authors

Table of Contents

Chapter 1: Introducing Code Review
Benefits of Code Review
Code Review roles
Review terms and workflow
Summary
Chapter 2: Setting Up and Quick-start
Pre-requisites
Gerrit download
Running Gerrit initial setup
Log in and create user profile
Generate HTTP password for Git
Create and clone your first project
Summary
Chapter 3: User Authentication
How Gerrit user authentication works
Authenticating over the Internet through OpenID
OpenID SSO
Using in-house private Gerrit authentication (LDAP)
LDAP configuration steps
Active Directory
Third-party authentication options
Summary
Chapter 4: SSH and HTTPS Access
Enabling strong security on Gerrit
Installing Bouncy Castle Security
Using SSH with Gerrit
Enabling HTTPS
Summary
Chapter 5: Editing Your Project Permissions
Understanding the Gerrit permission scheme
Configuring project permissions
Managing groups
Using group hierarchy effectively
Organizing project security templates
Summary
Chapter 6: Changes and Code Review Workflow
Gerrit Code Review roles and workflow
Gerrit branch namespace for code review
Setting topics
Adding reviewers
Review labels
Commenting and scoring changes
Amending code under review
Summary
Chapter 7: Submit Types and Concurrency
Submit types
Concurrent code reviews
Summary

Book Details

ISBN 139781783289479
Paperback144 pages
Read More

Recommended for You

BlackBerry Enterprise Server 5 Implementation Guide
$ 26.99
BlackBerry Enterprise Server for Microsoft® Exchange
$ 16.50
Building Responsive Data Visualizations with D3.js [Video]
$ 72.25