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

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/ 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/ -host

You may also need to edit chumpdetectorURL to point directly at instead of being relative.