Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there anything for subversion as gerrit for git? [closed]

Tags:

git

svn

gerrit

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?

like image 599
Alvin Cao Avatar asked Nov 15 '12 10:11

Alvin Cao


People also ask

Is Subversion better than Git?

SVN is better than Git for architecture performance, binary files, and usability. And it may be better for access control and auditability, based on your needs.

Is Subversion still used?

It's is still in extremely wide use, and it's not going anywhere anytime soon. SVN is much simpler to use than distributed version control, especially if you're not actually running a distributed project that needs distributed version control.

Can I use Git and SVN at the same time?

No interaction between them. Just ignore the . git folder for SVN and the . svn folder for Git and you should be fine.

Is SVN easier than Git?

SVN has one central repository – which makes it easier for managers to have more of a top down approach to control, security, permissions, mirrors and dumps. Additionally, many say SVN is easier to use than Git. For example, it is easier to create a new feature. With Git, it takes an extra step to create a new feature.


1 Answers

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.

like image 77
uncletall Avatar answered Sep 20 '22 05:09

uncletall