Report to gerrit over HTTP

Gerrit can only accept file comments over HTTP, not SSH.  So add
the ability to report over HTTP.  This is optional; if no HTTP
credentials are provided, the SSH mechanism will be used for now
and no file comments will be left.

Note, this change does not include the driver API change needed
to sumpport file comments.

This change includes a significant amount of ASL2 licensed code
from Gertty.

Change-Id: I851c62088f228de21441dbd86bf60722d82f94f8
This commit is contained in:
James E. Blair
2018-06-21 10:58:15 +08:00
parent 801ed767ff
commit 77288488c3
8 changed files with 375 additions and 11 deletions

View File

@@ -0,0 +1,5 @@
---
features:
- The Gerrit driver can now (optionally) report via HTTP instead of
SSH. In the future, this will be used to report file and line
comments (the SSH API only supports review messages).