Gerrit (software)
Gerrit
|
|
---|---|
Web interface from Gerrit 2.2.1 on Chromium (browser) / OS X |
|
Basic data
|
|
developer | Google Inc. |
Current version | 2.16 (November 2018) |
operating system | Java EE |
programming language | Java , Servlet , GWT |
category | Code review |
License | Apache 2.0 |
German speaking | No |
www.gerritcodereview.com |
Gerrit is a collaborative review system for Git . Changes to software can be discussed with Gerrit and ultimately integrated into it.
The open source project Gerrit allows all changes to be confirmed by one or more users before they are integrated into the official source code . An automatic build process , such as that provided by Jenkins / Hudson , can also be used as support.
history
Gerrit's development began when a source code control system was needed for the development of the Android operating system . Since numerous Google developers were involved in the development of Android , this system should have a similar scope to the Mondrian review system previously used by Google . The Rietveld software was initially used for this purpose. When it became apparent that the development of this software was not going fast enough, Rietveld was forked ; Gerrit 1.0 was created. The name Gerrit is intended to remind of the Dutch architect Gerrit Rietveld .
The entire code of the fork has been rewritten for Gerrit 2.0. While Gerrit was originally programmed in Python , from version 2 it is written in Java EE ( Java Platform, Enterprise Edition , Java Servlet with SQL ).
Workflow
The Gerrit review system is used together with a Git repository .
The Git repository contains the source code of software. Changes that are to be made to this source code can generally be git push
written directly to the repository by users with the appropriate rights using the Git command .
Instead, a Gerrit installation can also be connected upstream in such a way that the desired changes cannot be sent directly to the repository, but instead have to be sent to the Gerrit installation. Gerrit provides a web interface where the changes can be discussed and improved versions of the changes can be uploaded. It is possible to compare changes as a diff view. Reviewers can attach their comments to specific lines and thus easily create a direct reference to a specific line of code. Every change set (called patch set) can be voted on. After a patch set has received the required votes, users who have the necessary rights can write the changes to the repository via the web interface.
use
The following list contains examples of some well-known companies and projects that use or have used Gerrit:
- Android , Qualcomm Innovation Center, MeeGo , Sony Ericsson
- Assembla
- Intel , Red Hat , SAP
- Couchbase, WebM , TYPO3
- CyanogenMod / LineageOS
- Pixel Experience ROM
- Eclipse Software Foundation (e.g. for the EGit / JGIT project)
- Gerrit Forge
- GWT
- Kitware (e.g. CMake )
- LibreOffice
- MediaWiki
- OpenAFS
- OpenStack
- Qt framework
- Sandia National Laboratories
- Scilab
literature
- Luca Milanesio: Learning Gerrit Code Review Packt Publishing, 2013, ISBN 978-1-78328-947-9 .
- Jon Loeliger: Version Control with Git O'Reilly, 2009, ISBN 978-3-89721-945-8 .
Web links
- Official website (English)
- Alex Blewitt: Video demonstration by Gerrit . In: AlBlue's blog. 2011.
- Chris Aniszczyk: Slides: Effective Development with Eclipse Mylyn, Git, Gerrit and Hudson . In: slideshare.net , 2011 (English).
- Gerrit on wikibook (English)
- Gerrit for Wikimedia code review and contributions
- Gerrit for Pixel Experience ROM
Individual evidence
- ↑ Gerrit Code Review Releases. In: gerritcodereview.com. Retrieved November 30, 2018 .
- ↑ Information on the license used. In: storage.googleapis.com. Accessed August 17, 2017 .
- ↑ Gerrit Trigger for Jenkins
- ↑ Information on the history of Gerrit Code Review (accessed June 1, 2011)
- ↑ code.google.com
- ↑ Schematic representation of the workflow with Git and Gerrit based on the Android project (accessed on June 1, 2011)
- ^ Android-review Code Review. Retrieved June 24, 2012 .
- ↑ Introducing Gerrit - a scalable code review system. (No longer available online.) February 23, 2011, archived from the original .
- ↑ Gerrit in the TYPO3 project (accessed June 1, 2011)
- ↑ Community section of the official homepage
- ↑ Gerrit Server of the Eclipse Foundation
- ↑ Gerrit Forge. Retrieved February 11, 2018 .
- ↑ GWT Review Gerrit homepage. Retrieved January 26, 2014 .
- ^ Introducing Gerrit - Code Review and Community Contributions. Retrieved July 23, 2011 .
- ^ Announcement of archiving the ITK gerrit code review. Retrieved May 6, 2020 .
- ↑ Gerrit for LibreOffice. June 16, 2012, accessed June 24, 2012 .
- ↑ gerrit.libreoffice Code Review. Retrieved June 24, 2012 .
- ↑ Wikimedia engineering moving from Subversion to Git - Wikimedia blog. Blog.wikimedia.org, February 15, 2012, accessed June 21, 2012 .
- ↑ Gerrit. MediaWiki, June 12, 2012, accessed June 21, 2012 .
- ↑ Gerrit Code Review OpenAFS. Retrieved May 4, 2020 .
- ↑ Gerrit Code Review OpenDev including OpenStack projects. Retrieved May 6, 2020 .
- ↑ heise.de
- ↑ codereview.scilab.org