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

Clone this repo:
  1. e049250 Merge "Add metric for sum of SHA1s" by Luca Milanesio · 2 months ago master 3.4.8.2 4.8.2
  2. 1ee7c5b Add metric for sum of SHA1s by Daniele Sassoli · 3 months ago
  3. a11cc04 Merge "New script utility to extract local-refdb metrics" by Luca Milanesio · 2 months ago
  4. 74875f8 New script utility to extract local-refdb metrics by Luca Milanesio · 3 months ago
  5. 8ece434 Optimize script to only check mutable refs 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