|author||Luca Milanesio <firstname.lastname@example.org>||Fri Feb 26 22:53:52 2016 +0000|
|committer||Luca Milanesio <email@example.com>||Wed Mar 09 22:27:05 2016 +0000|
Set Gerrit projects read-only during maintenance During rolling restart for Gerrit upgrades it can be useful to set all projects to read-only and provide a courtesy message whenever a Git push is received. Change-Id: Iad586eafd40a0b4d780a48522cd45e2e4f276c36
This repository contains a collection of Gerrit scripting plugins that are intended to provide simple and useful extensions.
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.