Gerrit (software)

Gerrit
Original author(s) Google
Stable release
2.14.2 / July 18, 2017 (2017-07-18)
Repository gerrit.googlesource.com/gerrit
Written in Java, Servlet, GWT, Polymer
Operating system Java Platform, Enterprise Edition
Available in English
Type Code review
License Apache License v2
Website www.gerritcodereview.com

Gerrit is a free, web-based team code collaboration tool. Software developers in a team can review each other's modifications on their source code using a Web browser and approve or reject those changes. It integrates closely with Git, a distributed version control system.

Gerrit is a fork of Rietveld, another code review tool. Its namesake is Dutch designer Gerrit Rietveld.[1]

History

Google Mondrian

Google developed Mondrian, a Perforce based code review tool to facilitate peer-review of changes prior to submission to the central code repository. Mondrian is not open source, as it is tied to the use of Perforce and to many Google-only services, such as Bigtable. Google employees have often described how useful Mondrian and its peer-review process is to their day-to-day work.

Rietveld

Guido van Rossum open sourced portions of Mondrian within Rietveld, a similar code review tool running on Google App Engine, but for use with Subversion rather than Perforce. Rietveld is in common use by many open source projects, facilitating their peer reviews much as Mondrian does for Google employees. Unlike Mondrian and the Google Perforce triggers, Rietveld is strictly advisory and does not enforce peer-review prior to submission.

Gitosis and Gitolite

Git is a distributed version control system, wherein each repository is assumed to be owned/maintained by a single user. There are no inherent security controls built into Git, so the ability to read from or write to a repository is controlled entirely by the host's filesystem access controls. When multiple maintainers collaborate on a single shared repository a high degree of trust is required, as any collaborator with write access can alter the repository.

Gitosis and Gitolite provide tools to secure centralized Git repositories, permitting multiple maintainers to manage the same project at once, by restricting the access to only over a secure network protocol, much like Perforce secures a repository by only permitting access over its network port.

Android

The Android Open Source Project (AOSP) was founded by Google by the open source releasing of the Android operating system. AOSP has selected Git as its primary version control tool. As many of the engineers have a background of working with Mondrian at Google, there is a strong desire to have the same (or better) feature set available for Git and AOSP.

The Rietveld fork

Gerrit Code Review started as a simple set of patches to Rietveld, and was originally built to service AOSP. This quickly turned into a fork as access control features were added that Guido van Rossum did not want to see complicating the Rietveld code base. As the functionality and code were starting to become drastically different, a different name was needed. Gerrit calls back to the original namesake of Rietveld, Gerrit Rietveld, a Dutch architect.

Gerrit 2.x rewrite

Gerrit 2.x is a complete rewrite of the Gerrit fork, changing the implementation from Python on Google App Engine, to Java on a J2EE servlet container and a SQL database.

Design

Originally written in Python like Rietveld, it is now written in Java (Java EE Servlet) with SQL since version 2. Gerrit uses Google Web Toolkit to generate front-end JavaScript code from Java source.[2]

Notable users

See also

References

  1. "An Open Source App: Rietveld Code Review Tool". Archived from the original on 17 October 2015.
  2. "Gerrit: Google-style code review meets git". LWN. Retrieved 13 Jul 2012.
  3. "People and Roles".
  4. "Chromium OS Developer Guide".
  5. "Gerrit Code Reviews".
  6. "Community powered|CyanogenMod".
  7. "Update and Build Prep | Lineage OS Android Distribution".
  8. "Too Smart for Git". Archived from the original on 2011-06-07.
  9. "Gerrit on eclipsepedia". Eclipse foundation. Retrieved 2013-06-01.
  10. "Using Gerrit Code Review in an Open Source Project".
  11. "The gem5 Simulator".
  12. "Managers Become the Flywheel".
  13. "We're moving to GitHub".
  14. "Google Web Toolkit Blog". Retrieved 2013-07-13.
  15. "Introducing Gerrit - Code Review and Community Contributions".
  16. "Gerrit for LibreOffice". 2012-06-16. Retrieved 2012-06-24.
  17. "gerrit.libreoffice Code Review". Retrieved 2012-06-24.
  18. "Wikimedia engineering moving from Subversion to Git — Wikimedia blog". Blog.wikimedia.org. 2012-02-15. Retrieved 2012-06-21.
  19. "Gerrit". MediaWiki. 2012-06-12. Retrieved 2012-06-21.
  20. "Gerrit Workflow". OpenStack Wiki. Retrieved 2013-02-21.
  21. "Workflow with Github and Gerrit". 2015-06-05.
  22. "OpenSwitch Gerrit Integration". OpenSwitch Wiki. Retrieved 2015-12-09.
  23. "Gerrit Introduction". Qt Project. 2012-04-24. Retrieved 2015-07-23.
  24. "Gerrit at SAP". 2014-03-11.
  25. "Gerrit Code Review". Codereview.scilab.org. Retrieved 2012-06-21.
  26. "Gerrit - Tizen Developers".
  27. "TYPO3 Core repository migrated to Git". 2011-03-11. Retrieved 2013-01-26.
  28. "TYPO3's Gerrit Code Review". Retrieved 2013-01-26.
  29. "Improving Operations Efficiency with Puppet". 2015-04-17.
  30. "Puppet Camp Paris: Improving Operations Efficiency With Puppet". shell-tips.com. 2015-04-20.
  31. "Gerrit at Vaadin". 2015-07-21.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.