Add explicit ability to disable chumpdetector

Although you can disable chumpdetector today, it requires
a slightly hacky config:
[project "<parent project>"]
  statusURL =
Yes, that's just nothingness after the equals sign. This CL
lets it instead be
[project "<parent project>"]
  disabled = true
which is much more understandable and readable.

Change-Id: I61170b687f82fc7ae1c10b394da6ea1238b9aa70
2 files changed
tree: 2e3844b075ce33e30ac017c3b49523da08214bdc
  1. src/
  2. BUCK
  3. BUILD
  4. codereview.settings
  5. LICENSE
  6. README.md
README.md

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.