commit | fd3d6a2beba7e256227829a7f0be2fd37b9334f4 | [log] [tgz] |
---|---|---|
author | Eryk Szymanski <eryksz@gmail.com> | Thu Jan 11 11:42:08 2024 +0100 |
committer | Eryk Szymanski <eryksz@gmail.com> | Thu Jan 11 11:49:05 2024 +0100 |
tree | f3ba401ae474708b3cb53dc4ba428f225dea4ed4 | |
parent | af22615d8c3f4b9d15122225ba1f5c4b3e16d54f [diff] |
Fix link to config.md in README.md Change-Id: Ic0110373ed4a185a671c51df897d5ceaf8bb8902
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.