Clone this repo:

Branches

  1. ad930c1 Make chumpdetector use polygerrit_plugin() BUILD rule by viktard · 7 weeks ago master
  2. 4319f29 Fix reference error in JS code by Wyatt Allen · 3 months ago
  3. d3e2efa Show submit warning in confirm dialog by Wyatt Allen · 6 months ago
  4. 76a9f16 Adapt plugin to new ProjectResource API by Patrick Hiesel · 1 year, 2 months ago
  5. 8c064f7 Serve HTTP 204 for empty config and handle it at the client side by Viktar Donich · 1 year, 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.