commit | f7bdd739c2d2952daa94b21d316d5031c3f79a18 | [log] [tgz] |
---|---|---|
author | Han-Wen Nienhuys <hanwen@google.com> | Tue Apr 09 20:19:41 2019 +0200 |
committer | Han-Wen Nienhuys <hanwen@google.com> | Tue Apr 09 20:19:41 2019 +0200 |
tree | 5ea85dff3b135a5686d507416c41aab8983b0920 | |
parent | 2f2a7f890cf2af74d6d9306f450e53dbde76d8f0 [diff] |
cmd/checker: add options This adds --agent --cookies --list --gerrit
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