Gerrit version 2.13.14 is now available

Gerrit version 2.13.14 已发布,包含重要的更新和改进。此次更新涉及 Schema 变更,需要进行升级操作,同时HTTPS TLS1.1支持已被废弃。此外,还修复了多个 bugs,并提供了新特性,如 Large File Storage (LFS) 支持和增强的访问控制。
摘要由CSDN通过智能技术生成

Gerrit version 2.13.14 is now available

今天发现2.14版本的又有个个更新了。现在2.14更新到2.14.17版本了。

gerrit.war 历史版本下载

各个版本的 gerrit.war 下载

链接:https://blog.csdn.net/mmh19891113/article/details/81013994

https://gerrit-releases.storage.googleapis.com/index.html

gerrit-releases.storage.googleapis.com

Gerrit Code Review

About
News
Issues
Kudos
Code
Docs
Feedback

Gerrit 2.13 Release

Release Highlights
Important Notes
    Schema Changes
    HTTPS TLS1.1 support discontinued by Maven Central.
    Workaround for deprecated/removed Bower repository.
    Manual Schema Update for Reviewed Flags
    Online Reindexing
    Hooks Plugin
New Features
    Large File Storage (LFS)
    Access control for git submodule subscriptions
    Metrics
    Hooks
    Secondary Index
    User Interface
        Change Screen
        Diff Screens
        User Preferences
    Changes
    REST API
        Accounts
        Changes
        Groups
        Projects
    Plugins
    Misc
Bugfixes
Dependency Updates
Bugfix Releases
    2.13.14
    2.13.13
    2.13.12
    2.13.11
    2.13.10
    2.13.9
    2.13.8
    2.13.7
    2.13.6
    2.13.5
    2.13.4
    2.13.3
    2.13.2
    2.13.1

Download: 2.13.13 | 2.13.12 | 2.13.11 | 2.13.10 | 2.13.9 | 2.13.8 | 2.13.7 | 2.13.6 | 2.13.5 | 2.13.4 | 2.13.3 | 2.13.2 | 2.13.1 | 2.13

Documentation: 2.13.13 | 2.13.12 | 2.13.11 | 2.13.10 | 2.13.9 | 2.13.8 | 2.13.7 | 2.13.6 | 2.13.5 | 2.13.4 | 2.13.3 | 2.13.2 | 2.13.1 | 2.13
Release Highlights

Suport for multiple database backends for “reviewed” flags (from 2.13.8)
Support for Large File Storage (LFS)
Metrics interface
Hooks plugin
Secondary index for accounts
File annotations (blame) in side-by-side diff

Important Notes
Schema Changes

This release contains schema changes. To upgrade:

java -jar gerrit.war init -d site_path

HTTPS TLS1.1 support discontinued by Maven Central.

As of June 18th 2018, Maven Central discontinued support for TLS v1.1 and below. When initializing a new site with Java 7, this causes download of third party dependencies such as the MySQL connector to fail. It is therefore necessary to explicitly enable TLS v1.2 on the invocation of java:

java -Dhttps.protocols=TLSv1.2 gerrit.war init -d site_path

This does not affect Java 8, which enables TLS v1.2 by default.
Workaround for deprecated/removed Bower repository.

In October 2017, Bower removed the repository used for binary distributions, which causes clean builds of Gerrit to fail.

To workaround this problem, either cherry-pick this commit, or add a .bowerrc file to the source root directory with the following content:

{
“registry”: “https://registry.bower.io
}

Manual Schema Update for Reviewed Flags

Sites that have already upgraded to version 2.13 may want to migrate from the default H2 database to MySQL or PostgreSQL. This can be done using the MigrateAccountPatchReviewDb program.

Sites that have already upgrade to version 2.13 before 2.13.8 need to manually migrate the reviewed flags database to change the file_name column length. After stopping Gerrit, enter the H2 console:

java -jar /path/to/h2.jar -url jdbc:h2:path/to/review_site/db/account_patch_reviews

and then execute the following statement:

ALTER TABLE account_patch_reviews ALTER COLUMN file_name VARCHAR(4096) DEFAULT ‘’ NOT NULL

Depending on the number of rows, this operation may take some time. For example, one million rows may take up to 1 minute.
Online Reindexing

To use online reindexing for the changes secondary index when upgrading to 2.13.x, the server must first be upgraded to 2.8 (or 2.9) and then through 2.10, 2.11 and 2.12. Skipping a version will prevent the online reindexer from working. Gerrit 2.13 introduces a new secondary index for accounts, and this must be indexed offline before starting Gerrit:

java -jar gerrit.war reindex --index accounts -d site_path

If reindexing will be done offline, you may ignore these warnings and upgrade directly to 2.13.x using the following command that will reindex both changes and accounts secondary indexes:

java -jar gerrit.war reindex -d site_path

Hooks Plugin

The server side hooks functionality is moved to a core plugin. Sites that make use of server side hooks must install this plugin during site init.
New Features
Large File Storage (LFS)

Gerrit provides an extension point that enables development of plugins implementing the LFS protocol. By setting lfs.plugin the administrator can configure the name of the plugin which handles LFS requests.
Access control for git submodule subscriptions

To prevent potential security breaches as described in issue 3311, it is now only possible for a project to subscribe to a submodule if the submodule explicitly allows itself to be subscribed. Please see the submodules user guide for details. Note that when upgrading from an earlier version of Gerrit, permissions for any existing subscriptions will be automatically added during the database schema migration.
Metrics

Metrics about Gerrit’s internal state can be sent to external monitoring systems. Plugins can provide implementations of the metrics interface to report metrics to different monitoring systems. The following plugins are available:

JMX
Graphite
Elasticsearch Plugins can also provide their own metrics. See the metrics documentation for further details.

Hooks

Server side hooks are moved to the hooks plugin. Sites that make use of server side hooks should install this plugin. After installing the plugin, no additional configuration is needed. The plugin uses the same configuration settings in gerrit.config.
Secondary Index

The secondary index now supports indexing of accounts. The reindex program by default reindexes all changes and accounts. A new option allows to explicitly specify whether to reindex changes or accounts. The suggest.fullTextSearch, suggest.fullTextSearchMaxMatches and suggest.fullTextSearchRefresh configuration options are removed. Full text search is supported by default with the account secondary index.
New ssh command to 
### 回答1: repo gerrit.googlesource.com 是一个由Google提供的托管代码仓库平台。这个平台使用的是Gerrit Code Review工具,为开发者们提供了一个协作开发的环境。 使用 repo gerrit.googlesource.com,开发者可以方便地进行代码的提交、审查和合并等操作,并可以通过Gerrit的界面进行代码的讨论和评论。这个平台主要为开源项目、团队开发和跨机构合作提供了一种集中式的代码管理和开发流程。 通过使用 repo gerrit.googlesource.com,开发者可以将代码按照分支的方式进行管理,将不同的开发任务分配给不同的团队成员,方便协同开发和版本控制。同时,Gerrit的强大的代码审查功能可以帮助团队成员认真审查彼此提交的代码,提高代码的质量和稳定性。 除了基本的代码提交和合并功能之外,repo gerrit.googlesource.com还提供了一些高级功能,比如自动化构建和测试,代码静态分析等。这些功能可以帮助开发者更快速地进行代码开发和发布,提高开发效率。 总的来说,repo gerrit.googlesource.com是一个强大的代码仓库管理平台,提供了一系列功能,帮助开发者进行协同开发和代码管理,提高代码质量和开发效率。 ### 回答2: repo gerrit.googlesource.com 是由谷歌开发和维护的一个用于管理源代码的版本控制系统。它基于Git,并提供了一种方便的方式来管理多个Git存储库。通过使用repo,您可以在一个命令下同时克隆、分支和提交多个存储库。 该存储库是一个公共的仓库,包含了许多与谷歌相关的项目和开源项目的代码。Gerrit是一种流行的代码审查工具,它被广泛应用于各种开源项目中。Google在Gerrit上托管了许多他们自己的项目,并且也允许其他开发者将他们的项目提交到该存储库进行审查。 通过访问repo gerrit.googlesource.com,您可以查看、克隆和参与各种开源项目。您可以通过搜索相关项目,查看项目的源代码、分支和提交历史等信息。此外,您还可以为这些项目做出贡献,例如提交错误修复、新增功能或改进等等。 通过repo gerrit.googlesource.com,开发者们可以加入到它们感兴趣的项目中,与其他开发者一起合作,共同推进项目的发展。这也是开源社区的一个重要方面,通过开源软件的共同努力,让项目得以不断改进和完善。 总之,repo gerrit.googlesource.com 是一个由谷歌维护的用于管理源代码的版本控制系统,它提供了方便的方式来管理多个Git存储库,并且托管了许多与谷歌和其他开源项目相关的代码。这个存储库不仅允许开发者浏览和查看代码,还可以参与开源项目的开发和改进。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值