commit | af22615d8c3f4b9d15122225ba1f5c4b3e16d54f | [log] [tgz] |
---|---|---|
author | Fabio Ponciroli <ponch78@gmail.com> | Mon May 08 16:57:35 2023 +0100 |
committer | Fabio Ponciroli <ponch78@gmail.com> | Mon May 08 16:57:35 2023 +0100 |
tree | 4be0f0978542cdcea197151a3cb65ff88e810f4d | |
parent | 8d7ffeeb1a3dac2cdfaed9d9cb1eae2f526826a5 [diff] |
Fix errorprone [DoubleBraceInitialization] error Change-Id: If9711023963a2a6eb5167031ff61fd47e229d571
This plugin allows a systematic collection of repository metrics. Metrics are updated upon a ref-update
receive.
Clone or link this plugin to the plugins directory of Gerrit‘s source tree, and then run bazel build on the plugin’s directory.
Example:
git clone --recursive https://gerrit.googlesource.com/gerrit git clone https://gerrit.googlesource.com/plugins/git-repo-metrics pushd gerrit/plugins && ln -s ../../git-repo-metrics . && popd cd gerrit && bazel build plugins/git-repo-metrics
The output plugin jar is created in:
bazel-genfiles/plugins/git-repo-metrics/git-repo-metrics.jar
Copy the git-repo-metrics.jar into the Gerrit's /plugins directory and wait for the plugin to be automatically loaded.
More information about the plugin configuration can be found in the config.md file.