Clone this repo:

Branches

  1. efced2a Bazel: Automatically fix lint errors with buildifier by David Pursehouse · 3 weeks ago master
  2. 0be109a Format with google-java-format 1.7 by Dave Borowitz · 3 weeks ago
  3. e669b38 Exit function after setting confirm submit msg by Ravi Mistry · 4 months ago
  4. ad930c1 Make chumpdetector use polygerrit_plugin() BUILD rule by viktard · 8 months ago
  5. 4319f29 Fix reference error in JS code by Wyatt Allen · 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.