Implement ReplicationConfigOverrides.update()

The newly added `update(Config)` method to `ReplicationConfigOverrides`
allows us to update the replication configuration programmatically.

Added implementation stores remotes definitions in the "fanout" fashion
in the `refs/meta/replication` branch of `All-Projects` repository.
Other configuration options will be stored in the `replication.config`
file in the root of the branch.

If no configuration or branch is present they will be created by the
script.

Change-Id: Ifa744342536fc029a220833f8f59c9a15954ac65
1 file changed
tree: 9d4f4784e416b50276c9f03dda93be8f55668636
  1. admin/
  2. multi-primary/
  3. replication/
  4. .gitignore
  5. README.md
README.md

Gerrit scripting plugins collection

Overview

This repository contains a collection of Gerrit scripting plugins that are intended to provide simple and useful extensions.

How to run the scripting plugins

Gerrit needs to be able to recognise the scripts syntax and being able to load them as plugins.

In order to be able to run Groovy scripts, you need to install first the Groovy scripting provider and then copy the Groovy scripts under your Gerrit /plugins directory.

Similarly for Scala scripts, you need to install the Scala scripting provider and then copy the Scala scripts under your Gerrit /plugins directory.

Administration Scripts

Gerrit multi-primary Scripts