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

倾然丶 夕夏残阳落幕 提交于 2019-12-03 10:45:40

问题


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?


回答1:


For which part: code review or hosting or both?

For code reviews, Review Board works well. It's not perfect, but I've used it to great success on a couple of projects. It doesn't deal at all with hosting or access controls though.

For hosting, you might try usvn, SVNManager, or svn-access-manager. I've not really used any of these tools, so I can't really comment on their usefulness.




回答2:


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.



来源:https://stackoverflow.com/questions/13395854/is-there-anything-for-subversion-as-gerrit-for-git

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!