你好,游客 登录 注册 搜索
背景:
阅读新闻

Gerrit 2.11.4 发布,代码评审工具

[日期:2015-10-26] 来源:oschina.net  作者:Linux [字体: ]

Gerrit 2.11.4 发布下载,此版本主要是 bug 修复:

Bug 修复

  • Fix NullPointerException in ls-project command with --has-acl-for option.

    Using the --has-acl-for option for external groups (e.g. LDAP groups) was causing a NullPointerException.

  • Issue 3328: Allow to push a tag that points to a non-commit object.

    When pushing a tag that points to a non-commit object, likev2.6.11 on linux-stable which points to a tree, orspearce-gpg-pub on jgit which points to a blob, Gerrit rejected the push with the error message missing object(s).

    Note: This was previously fixed in Gerrit version 2.11.1, but was inadvertently reverted in 2.11.2 and 2.11.3.

  • Issue 2817: Insert Change-Id footer into access right changes.

    When modifications of access rights were saved for review, the change did not have a Change-Id footer in the commit message.

  • Fix duplicated log lines after reloading a plugin.

    If a plugin was reloaded, logs emitted from the plugin were duplicated.

  • Remove --recheck-mergeable option from reindex command documentation.

    The --recheck-mergeable option was removed in Gerrit version 2.11.

  • Use the correct validation policy for commits created by Gerrit.

    Commits created by Gerrit were being validated in the same way as commits received from users.

  • Issue 3557: Disallow invalid reference patterns in project configuration.

    When editing a project configuration by using the UI or by submitting a change to refs/meta/config, it was possible to add a permission to an invalid reference pattern. This caused the project to be unavailable and the ls-projectscommand to fail whenever this project was encountered.

  • Issue 3574: Fix review labels with AnyWithBlock function.

    The review labels with AnyWithBlock with 0 and +1 values blocked submit when reviewers were added.

  • Fix ref in tag list for signed/annotated tags.

    The tag name from the header was used, rather than the ref name. In some cases this resulted in the wrong tag ref being listed.

  • Prevent user from bypassing ref-update hook through gerrit-created commits.

    If the user used the cherry-pick ability in the UI or via the REST API, they could put a commit on a branch that bypassed the requirements of the ref-updatehook (such as that certain branches require QA-tickets to be referenced in the commit message).

  • Allow InternalUsers to see drafts.

    According to the documentation, InternalUsers should have full read access. This was not true, since InternalUsers could not see drafts.

  • Issue 2683: Fix non-ASCII password authentication failure under tomcat (LDAP).

    The authentication with LDAP failed when the password contained non-ASCII characters such as ä, ö, Ä, and Ö.

  • Do not double decode the login URL token.

    The login URL token used to redirect from the login servlet to the target page is already decoded and should not be decoded again.

  • Issue 3020: Include approvals specified on push in change message.

    When using the %l option to apply a review label on uploaded changes or patch sets, the applied label was not mentioned in the change message.

  • Fire the comment-added hook for approvals specified on push.

    When using the %l option to apply a review label on uploaded changes or patch sets, the comment-added hook was not being fired.

  • Issue 3602: Use uploader for approvals specified on push, not the committer.

    When using the %l option to apply a review label on uploaded changes or patch sets, the review label was in some cases applied as the committer rather than the uploader.

  • Issue 3531: Fix internal server error on unified diff screen for anonymous users.

  • Issue 2414: Improve detection of requiring sign-in.

    Some queries, such as the has:* operators, require the user to be signed in.

    Also, when handling a REST API failure, detect Invalid authentication responses as also requiring a new session.

  • Issue 3052: Fix Conflicts With list for merge commits.

    The Conflicts List was not being populated correctly if the change being viewed was a merge commit, or if the change being viewed conflicted with an open merge commit.

插件修复

  • singleusergroup: Allow to add a user to a project’s ACL using user/username.

    A user could not be added to a project’s ACL unless the user already had READ permission in the project’s ACL.

  • replication: Add waiting time and number of retries to replication log.

    Only the replication execution time was printed in the replication completedlog statement. The waiting time and retry count is added, to help debug replication delays.

下载:https://gerrit-releases.storage.googleapis.com/gerrit-2.11.4.war

Gerrit 是一个免费、开放源代码的代码审查软件,使用网页界面。利用网页浏览器,同一个团队的软件程序员,可以相互审阅彼此修改后的程序代码,决定是否能够提交,退回或者继续修改。它使用 Git 作为底层版本控制系统。它分支自Rietveld, 作者为Google公司的Shawn Pearce,原先是为了管理Android计划而产生。这个软件的名称,来自于荷兰设计师赫里特·里特费尔德(Gerrit Rietveld)。最早它是由Python写成,在第二版后,改成用Java与SQL。使用Google Web Toolkit来产生前端的JavaScript。

评审问题列表页面:

Gerrit 在Ubuntu 11.04上的安装与配置  http://www.linuxidc.com/Linux/2011-08/41318.htm

Gerrit 在Fedora上的安装配置 http://www.linuxidc.com/Linux/2011-08/41709.htm

Ubuntu 12.04 Server安装Gerrit  http://www.linuxidc.com/Linux/2012-05/60753.htm

Gerrit审核服务器搭建简易教程(Ubuntu 12.10) http://www.linuxidc.com/Linux/2013-02/79999.htm

Gerrit 的详细介绍请点这里 
Gerrit 的下载地址请点这里

本文永久更新链接地址http://www.linuxidc.com/Linux/2015-10/124538.htm

linux
相关资讯       Gerrit 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款