Gerrit (Software)

Gerrit is a collaborative review system for Git with Gerrit Changes can be made on a software comfortably discuss and eventually integrate into this.

The open- source project Gerrit opens the possibility of any changes before they are incorporated into the official source code, to be confirmed by one or more users. In this case, an automatic build process, as it provides about Jenkins / Hudson, are used as support. These processes can only be solved with Git and Gerrit, but not with other version control systems in this form.

History

The development of Gerrit began when a source code control system for the development of the Android operating system was sought. Since the development of numerous Google Android developers were involved, this system should have a similar extent as that previously used by Google review system Mondrian. First of all the software Rietveld was used. When it became clear that the development of this software was not advancing fast enough Rietveld was forked; it was Gerrit 1.0. The name of Gerrit to commemorate the Dutch architect Gerrit Rietveld.

For Gerrit 2.0 of the code of the Forks has been rewritten. While Gerrit was originally written in Python, it is since version 2 in Java (Java Platform Enterprise Edition ( JEE ), Java Servlet with SQL) written.

Workflow

The review system Gerrit is used together with a Git repository.

The Git repository contains the source code of a software. Changes that should be made ​​to this source could in principle be written by the user with the appropriate rights to the git push git command directly in the repository.

Instead, however, a Gerrit installation in the mold can be connected in series such that the desired changes can not be sent directly to the repository, but instead must be sent to the Gerrit installation. Gerrit provides a web interface, in which the changes discussed and improved versions of the changes can be uploaded. It is possible to compare changes as Diff - view. Reviewers can add their comments to specific lines and so easily established a direct reference to a specific line of code. ( Called patch set ) Every rate changes can be tuned. After a patch set has received the required votes, users who have the necessary rights, write the changes via the web interface to the repository can.

Use

The following list contains examples of some well-known companies and projects that use Gerrit:

260987
de