转载

Gerrit 2.11.1 发布下载,代码评审工具

Gerrit 2.11.1 发布下载,此版本主要是 Gerrit 2.10.4 和 Gerrit 2.10.5 的 bug 修复,更新内容如下:

新特性

  • Issue 321 : Use in-memory Lucene index for a better reviewer suggestion.

    Instead of a linear full text search through a list of accounts, use an in-memory Lucene index.

Bug 修复

性能

  • Issue 3363 : Fix performance degrade in background mergeability checks.

    When neither index.batchThreads nor changeMerge.threadPoolSize was defined, the background mergeability check fell back to using an interactive executor.

    This led to a severe performance degradation during git push operations because the ref-update listener was reindexing all open changes on the target branch interactively. The degradation increased linearly with number of open changes on the target branch.

    Now, instead of indexing interactively, it falls back to a batch thread pool with the number of available logical CPUs.

  • Reduce unnecessary database access when querying changes.

    Searching for changes was retrieving more information than necessary from the database. This has been optimized to reduce database access and make better use of the secondary index.

  • Remove unnecessary REST API call when opening the Patch Sets drop down.

    The change edit information was being loaded twice.

索引

  • Fix PatchLineCommentsUtil.draftByChangeAuthor .

    There is not a native index for this, and the ReviewDb case was not properly filtering a result by change.

  • Don’t show stack trace when failing to build BloomFilter during reindex.

Permissions

  • Require View Plugins capability to list plugins through SSH.

  • Fix project creation with plugin config if user is not project owner.

    On project creation it is possible to specify plugin configuration values that should be stored in the project.config file.

Change Screen / Diff / Inline Edit

  • Issue 3191 : Always show Not Current as state when looking at old patch set.

    For merged changes it was confusing for users to see the status as Merged when they look at an old patch set.

  • Issue 3337 : Reenable Revert button when revert is cancelled.

  • Issue 3378 : Improve the cursor style in side-by-side diff and inline editor.

    The cursor style is changed from an underscore to a solid vertical bar.

    In the side-by-side diff, the cursor is placed on the first column of the diff, rather than at the end.

Web Container

  • Fix gc_log when running in a web container.

    All logs supposed to be in the gc_log file were ending up in the main log instead when deploying Gerrit in a web container.

  • Fix binding of SecureStore modules.

    The SecureStore modules were not correctly added when Gerrit was deployed in a web container with the site path configured using the gerrit.site_path property.

插件

  • Issue 3310 : Fix disabling plugins when Gerrit is running on Windows.

  • Replication

    • Fix creation of missing repositories.

      Missing projects were not being created on the destination.

    • Emit replication status events after initial full sync.

      When replicateOnStartup is enabled, the plugin was not emitting the status events after the initial sync.

Miscellaneous

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

  • Issue 3323 : Fix internal server error when cloning from a slave while hiding some refs.

  • Issue 3342 : Log IOException on failure to update project configuration.

  • Remove temporary GitWeb config on Gerrit exit.

    A temporary directory was being created but not removed.

  • Issue 2791 : Fix email validation for new TLDs such as .systems .

  • Assume change kind is rework if LargeObjectException occurs.

文档

  • Issue 3325 : Add missing --newrev parameter to the change-merged hook documentation .

  • Issue 3346 : Fix typo in the Apache 2 configuration documentation .

  • Fix incorrect documentatation of auth types .

更新

  • Update CodeMirror to 5.0.

  • Update commons-validator to 1.4.1.

更多改进内容请看 发行说明 ,下载: https://www.gerritcodereview.com/download/gerrit-2.11.1.war 。

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

评审问题列表页面:

Gerrit 2.11.1 发布下载,代码评审工具

正文到此结束
Loading...