Scripting plugins for providing simple and useful extensions on top of Gerrit

Clone this repo:
  1. 896e18e Adapt localrefdb script to Gerrit v3.10.0 by Luca Milanesio · 2 days ago master
  2. a5df739 Fix import formatting in replication-config-from-git by Dariusz Luksza · 6 weeks ago stable-3.9
  3. 9da6f71 Implement ReplicationConfigOverrides.update() by Dariusz Luksza · 7 weeks ago
  4. fbe945a Merge "Custom replication config resource provider from repository" by Luca Milanesio · 3 months ago
  5. f4be32e Merge "Contribute packed-refs.lock staleness checker" by Daniele Sassoli · 3 months ago

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