Gerrit version 2.13.14 is now available

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 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值