发布于 2014-07-22 12:00:53 | 211 次阅读 | 评论: 0 | 来源: 网友投递
Review Board 开源Code Review平台
Review Board是一套成熟的开源code review平台,目前已在业内得到广泛的使用。基本可以用于review任何代码和文件。codereview 属于代码配置管理范畴。codereview需要配合SVNClient来使用,因为当post diff代码时会调用SVN相关命令。
Review Board 2.0.4 发布了,该版本改进记录包括:
值得关注的有:
Fixed a vulnerability where a URL to a diff fragment could be crafted that would inject custom HTML into the page. An attacker could send such a URL to another user and execute code in their browser session.
This was reported by Uchida. A CVE number is pending.
The Original File and Patched File resources could be used to access files on a private review request that the user did not have access to, if they knew the approciate database IDs.
A CVE number is pending.
Added support for parent diffs in the New Review Request page.
When uploading a diff, Review Board will now detect if a parent diff is needed for the patch to apply. If so, the user will be shown an appropriate error and then shown fields for uploading a parent diff.
Updated the Italian translations.
Fixed the URL to the Recaptcha registration page. (Bug #3471)
Fixed the command line used for update_index in the example crontab.
Fixed the display of errors when failing to publish a draft review request.
Patch by Mark Côté.
When uploading file attachments, malformed mimetypes provided by the browser will be ignored, and a proper mimetype will be guessed. (Bug #3427)
Long strings in the right-hand review request fields no longer cause fields to overlap. (Bug #3371)
Fixed the display of errors in the Upload Diff and Add File dialogs. (Bug #3413)
Fixed a Unicode compatibility issue when fetching files using PySVN.
同时发布的还有 1.7.27 版本。
代码审查(Code Review)不但可以提高质量,而且还是一个知识共享和指导的极好的手段。不幸的是,准备工作的辛苦和工具支持的缺乏让代码审查很容易被延至“稍后再议”。Review Board的目标便是改变这一现状,它所提供的应用程序可以支持代码审查流程。