Fix warm-cache groups runtime error

Running warm-cache groups would cause the following runtime exception:

```
[2023-03-09 17:53:54,398] [SSH warm-cache groups  (admin)] ERROR
com.google.gerrit.sshd.BaseCommand : Internal server error (user admin
account 1000000) during warm-cache groups
groovy.lang.MissingMethodException: No signature of method:
com.google.gerrit.server.account.GroupIncludeCacheImpl.subgroupsOf() is
applicable for argument types:
(com.google.gerrit.reviewdb.client.AccountGroup$UUID) values:
```

The subgroupsOf method is no longer available, also the cache.get()
returns an optional rather than null.

Change-Id: I950c42a42d34adc632bf5cbe01683def0236bc9a
1 file changed
tree: a82dd7c055a8324ef2a35c22bdaeff6c3158ecba
  1. admin/
  2. 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