Gerrit (software)

from Wikipedia, the free encyclopedia
Gerrit

logo
Screenshot
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 pushwritten 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:

literature

Web links

Individual evidence

  1. Gerrit Code Review Releases. In: gerritcodereview.com. Retrieved November 30, 2018 .
  2. Information on the license used. In: storage.googleapis.com. Accessed August 17, 2017 .
  3. Gerrit Trigger for Jenkins
  4. Information on the history of Gerrit Code Review (accessed June 1, 2011)
  5. code.google.com
  6. Schematic representation of the workflow with Git and Gerrit based on the Android project (accessed on June 1, 2011)
  7. ^ Android-review Code Review. Retrieved June 24, 2012 .
  8. Introducing Gerrit - a scalable code review system. (No longer available online.) February 23, 2011, archived from the original .;
  9. Gerrit in the TYPO3 project (accessed June 1, 2011)
  10. Community section of the official homepage
  11. Gerrit Server of the Eclipse Foundation
  12. Gerrit Forge. Retrieved February 11, 2018 .
  13. GWT Review Gerrit homepage. Retrieved January 26, 2014 .
  14. ^ Introducing Gerrit - Code Review and Community Contributions. Retrieved July 23, 2011 .
  15. ^ Announcement of archiving the ITK gerrit code review. Retrieved May 6, 2020 .
  16. Gerrit for LibreOffice. June 16, 2012, accessed June 24, 2012 .
  17. gerrit.libreoffice Code Review. Retrieved June 24, 2012 .
  18. Wikimedia engineering moving from Subversion to Git - Wikimedia blog. Blog.wikimedia.org, February 15, 2012, accessed June 21, 2012 .
  19. Gerrit. MediaWiki, June 12, 2012, accessed June 21, 2012 .
  20. Gerrit Code Review OpenAFS. Retrieved May 4, 2020 .
  21. Gerrit Code Review OpenDev including OpenStack projects. Retrieved May 6, 2020 .
  22. heise.de
  23. codereview.scilab.org