Add event hook support
The following hooks are defined and implemented:
* patchset-created --change <change id> --project <project name> --branch <branch> --commit <sha1> --patchset <patchset id>
* comment-added --change <change id> --project <project name> --branch <branch> --author <comment author> --comment <comment> [--<approval category id> <score> --<approval category id> <score> ...]
* change-merged --change <change id> --project <project name> --branch <branch> --submitter <submitter> --commit <sha1>
* change-abandoned --change <change id> --project <project name> --branch <branch> --abandoner <abandoner> --reason <reason>
Bug: issue 368
Bug: issue 383
Change-Id: Ic2f041a71c744d0938d79b1106c9119d6318731a
Signed-off-by: Shawn O. Pearce <sop@google.com>
10 files changed