commit | eb2e5c1939b495b1d57eb17b4967f9a2d47ba054 | [log] [tgz] |
---|---|---|
author | Han-Wen Nienhuys <hanwen@google.com> | Thu May 02 15:45:19 2019 +0200 |
committer | Han-Wen Nienhuys <hanwen@google.com> | Thu May 02 15:45:55 2019 +0200 |
tree | 11e267afbc76f8e9ab8e98bf91f4779bc76b823d | |
parent | 21e383346f2a75aba5c44ac9b7faa394b95a18af [diff] |
Get rid of sandboxed fmtserver. The current sandbox is excess complexity, needs manual steps to setup, and doesn't isolate different users of a formatting server from each other.
This is a style verifier intended to be used with the Gerrit checks plugin.
handle file types (symlink) and deletions
more formatters: clang-format, typescript, jsformat, ... ?
isolate each formatter to run with a separate gvisor/docker container.
tests: the only way to test this reliably is to spin up a gerrit server, and create changes against the server.
This currently runs the formatters without sandboxing. Critical bugs in formatters can be escalated to obtain the OAuth2 token used for authentication.
This is not an official Google product