commit | 4f825460ddc9ec57868a9a65ec2749f11e7c89ca | [log] [tgz] |
---|---|---|
author | Fabio Ponciroli <ponch78@gmail.com> | Tue Sep 20 17:35:24 2022 -0500 |
committer | Fabio Ponciroli <ponch78@gmail.com> | Wed Sep 21 19:49:48 2022 +0000 |
tree | b0671e0f3ace63c53f6d9d185ee529c8bebb64d8 | |
parent | e5bb4501e48d54b791e9a767a0a99bc094b8d4db [diff] |
Simplify check of existing projects Use Set instead of List Change-Id: I2e14ec1fdbf83fb528ad4e4a643d952461132cc6
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.