commit | 146102d011ab7a6f98bc5a873480e0905de2a5fd | [log] [tgz] |
---|---|---|
author | Christoforos Miliotis <christoforos.miliotis.dev@gmail.com> | Tue Oct 10 17:52:39 2023 +0100 |
committer | Christoforos Miliotis <christoforos.miliotis.dev@gmail.com> | Thu Oct 12 17:28:30 2023 +0100 |
tree | 9d1008342629a5a7a9b8538bc42f9450f0c619c7 | |
parent | 99e87124f354eb437c03b8ff0095a68f4bc1dc77 [diff] |
Adapt warm-cache script for gerrit 3.7 The script is pretty old, looks like it was developed sometime in 2016 based on Gerrit 2.14 (?). As such when running it in Gerrit 3.7 some classes are missing and therefore the commands will fail. Change the script in a way that compiles with gerrit 3.7 version and all exposed commands run successfully. Replace ReviewDB operations with its successor where possible. Change-Id: I594a32d7e4eff6dabf1c761b6dcb9342508812f9
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.