commit | 86d60f66bdcec174b171ea1923c94483b466c17c | [log] [tgz] |
---|---|---|
author | Han-Wen Nienhuys <hanwen@google.com> | Thu Apr 25 13:30:28 2019 +0200 |
committer | Han-Wen Nienhuys <hanwen@google.com> | Thu Apr 25 13:30:28 2019 +0200 |
tree | bba905c1ca107830f33ce793118e0de68605f718 | |
parent | bd6659adea741c3d04d6dc0e7e3bee4b20a879aa [diff] |
cmd/checker: add code to create a checker.
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