commit | 1ee7c5b21e7a9dd6db8b0ebac8bb11f9ecdebbb4 | [log] [tgz] |
---|---|---|
author | Daniele Sassoli <danielesassoli@gmail.com> | Thu Jul 06 20:47:48 2023 -0700 |
committer | Daniele Sassoli <danielesassoli@gmail.com> | Fri Jul 21 15:29:28 2023 -0700 |
tree | 8071bd583e4e423192dc034c6e9eec481a43a86a | |
parent | 74875f81b1de6c0163a53db2d9e85aeb8eb0c5b6 [diff] |
Add metric for sum of SHA1s It is not possible to have a metric with a non-numeric value, so we calculate the numeric representation of the SHA1. However, SHA1s are too big to fit with a numeric data type, so a truncated version of the numeric value is calculated. The numerical calculation was taken from [1]. [1] http://www.java2s.com/example/java-utility-method/sha1/sha1hashint-string-text-d6c0e.html Change-Id: I09bb9bda8f6e5dc655aa5b9db9bee120cc47ce51
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.