commit | bd6659adea741c3d04d6dc0e7e3bee4b20a879aa | [log] [tgz] |
---|---|---|
author | Han-Wen Nienhuys <hanwen@google.com> | Wed Apr 17 15:53:29 2019 +0200 |
committer | Han-Wen Nienhuys <hanwen@google.com> | Wed Apr 17 15:53:29 2019 +0200 |
tree | 58b74a4649bb486cdefe768c70530c609cb6f7b4 | |
parent | f7bdd739c2d2952daa94b21d316d5031c3f79a18 [diff] |
cmd/checker: improvements * do a GET first to complete cookie dance. * custom type for timestamps. Gerrit doesn't follow standard JSON conventions * add trailing slashes if they're were missing.
This is a style verifier intended to be used with the Gerrit checks plugin.
It consists of the following components
fmtserver: an RPC server that reformats source code. It is intended to be run in a Docker container that is secured with gvisor.
checker: a daemon that contacts gerrit, and sends pending changes to fmtserver to validate correct formatting
handle file types (symlink) and deletions
use the full checker API
more formatters: clang-format, typescript, jsformat, ... ?
isolate each formatter run with a separate gvisor/docker container?
This is not an official Google product