Clone this repo:

Branches

  1. 76a9f16 Adapt plugin to new ProjectResource API by Patrick Hiesel · 10 days ago master
  2. 8c064f7 Serve HTTP 204 for empty config and handle it at the client side by Viktar Donich · 8 months ago
  3. a9b0f75 Add explicit ability to disable chumpdetector by Aaron Gable · 9 months ago
  4. e818867 Remove backwards compatibility from chumpdetector by Aaron Gable · 9 months ago
  5. 33f793e First open-source commit of the ChumpDetector plugin by Aaron Gable · 10 months ago

ChumpDetector Plugin for Gerrit

To use with the local testsite

ln -s /path/to/chumpdetector-plugin plugins/chumpdetector
NO_BUCKD=1 buck build plugins/chumpdetector && \
  cp buck-out/gen/plugins/chumpdetector/chumpdetector.jar ../gerrit_testsite/plugins/ && \
  ../gerrit_testsite/bin/gerrit.sh restart

To use with the polygerrit-ui server against live data

mkdir -p polygerrit-ui/app/plugins/chumpdetector
ln -s /path/to/chumpdetector-plugin/src/main/resources/static polygerrit-ui/app/plugins/chumpdetector/static
./polygerrit-ui/run-server.sh -host chromium-review.googlesource.com

You may also need to edit chumpdetectorURL to point directly at chromium-review.googlesource.com instead of being relative.