commit | db3cd7f9fe5441eb1ce02c687370566ba16541f4 | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Thu Mar 09 17:55:27 2023 +0100 |
committer | Antonio Barone <syntonyze@gmail.com> | Tue Mar 21 14:34:07 2023 +0000 |
tree | a82dd7c055a8324ef2a35c22bdaeff6c3158ecba | |
parent | 2c43f60297255ef12c36e8a3648f3a873c1deae9 [diff] |
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
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.