Is there anything for subversion as gerrit for git?

Alvin Cao picture Alvin Cao · Nov 15, 2012 · Viewed 18.5k times · Source

Gerrit is useful but it's only for git. I want to setup something like it, but for subversion. Is there any software doing this job?

Answer

uncletall picture uncletall · Apr 15, 2013

You can try using phabricator. It can be used for SVN and Git. It does a lot more but it does provide code review (before) and code audit (after).

I have been evaluating Gerrit, Reviewboard and Phabricator myself and have not yet decided which way to go.

A quick summary

Gerrit

  1. Used by Android for example, so can't be bad

  2. Supports only Git

  3. Review is created by pushing to a special branch

  4. Two methods of voting, verified (by Jenkins for example) and code review

  5. After review the change can be pushed directly to the master branch by Gerrit

  6. Comprehensive access control mechanism to protect the repository

  7. UI not so attractive but fast, shows one file at the time

  8. As it only shows one file at the time it has a nice tick box next to the files you have reviewed

  9. Able to trigger Jenkins for verification of the patch

  10. Written in Java (.war)

  11. Very active development

Reviewboard

  1. Used by Apache for example, so can't be bad

  2. Supports any modern SCM

  3. Pre commit and post commits reviews are created using a Python script

  4. After pre commit review you can commit your code to the repository, however this is difficult to verify and can be by passed

  5. No access control mechanism for repository as it is not under its control

  6. UI is nice, but very slow when loading diffs. It can take a fair bit of time on my test system to load the file differences while Gerrit and Phabricator are much faster

  7. Written in Python

  8. Active development

Phabricator

  1. For example used by Facebook and Dropbox, so can't be bad

  2. Supports Git, Subversion and Mercurial

  3. Pre-commit review by using php scripts

  4. Post-commit reviews (audit) can be created by making rules that will trigger an audit (nice!)

  5. Is more like a complete eco system which includes a bug tracker, repo browser, wiki and more

  6. They call it light hearted, heavy duty. This means you need to put up with terms like "Clowncopterize" or "Avast" instead of "OK" and you can close tasks "Out of Spite"

  7. Written in php

  8. Very active development

My general impression is that Gerrit is favored by new open source projects, Reviewboard by older projects and Phabricator by new startups.