开源代码审查工具? (蒙德里安)

我已经阅读了一些关于Google的Mondrian,我看到了Atlassian的Crucible演示 – 我相信这些工具有价值。是否有开源代码审查工具?它将用于专有代码库,因此不能是公共站点或服务(例如:Google代码的功能包括Crucible的某些功能)。我们已经发布了一些我们的图书馆作为开源,但总的来说,我的雇主的代码库仍然关闭。
查看Review Board(见here为了更好的审查,我可以给)。

在回答中包括评论:

After having tried and failed to have useful code reviews at several
different companies, and after feeling deep envy for Mondrian,
Google’s web-based code review tool, I’d been looking for some tool
that would help make code reviews more painless. I think I’ve found
what I was looking for in Review Board.

Code reviews usually amount to infrequent lunchtime sessions where
some poor engineer’s code gets put on a projector and strip-searched
by the whole engineering group at once. It’s not a fun experience for
anyone, and post-traumatic stress or severe empathy often result in
the next session mysteriously taking several weeks or months to make
it onto the calendar. Public humiliation has its place, perhaps, but
as a last resort — attempts to make it regular, good sport usually
fail on the launchpad.

Yet good code reviews — as hard as they are to find — can produce
great effects. There’s no better way to learn how to improve your code
than to have someone look over it carefully and make suggestions line
by line. I’ve been impressed by the results that teams using careful
code review report: that making changes and fixing bugs in the code is
relatively easy, since everything is fairly clean and accessible.
Great code review makes bugs more shallow.

There are a few web-based tools for code reviews. Mondrian isn’t
available outside of Google, but Codestriker (Perl-based) has been
around for a while, and Crucible from Atlassian has a nice UI and good
features — but a US$2,400.00 starting price point, including the
required FishEye server.

I spent a ton of time getting Crucible set up, but before taking the
plunge I decided to take one more look for alternatives, and stumbled
on Review Board. It’s a Django/Python-based open source project, and
it seems to have an active and responsive community. The documentation
for getting it set up is a little thin, but it still took far less
time than Crucible to get going. The UI isn’t quite as nice, but it’s
serviceable, and the iPhone/JSON API/Git & Mercurial & SVN & Perforce
& CVS support all turned my eye. Also, I like that Review Board allows
pre-commit reviews, which Crucible as yet does not.

You can immediately see why Review Board is going to be a great open
source project when you submit a patch. All patches are, of course,
code reviewed using Review Board, and nobody working on the project is
going to let a minor glitch go by. My first patch got an immediate “no
way”; later patches (such as this one) were up to snuff. I’ve learned
a couple of tricks already from the review comments, and I definitely
am spending more time getting things right before submitting.

Take a look through the project launch post and you’ll see what the
authors are going for. I have Review Board set up at our office, and
I’m psyched to give it a try and see how it goes. It’s great to see
such a healthy project in this area, and I hope it continues to grow
and go well.

http://stackoverflow.com/questions/131153/open-source-code-review-tools-mondrian

本站文章除注明转载外,均为本站原创或编译
转载请明显位置注明出处:开源代码审查工具? (蒙德里安)