Store lint warnings in the database

This commit adds the relevant tables and code to store lint warnings in the
database.

Currently, only lint checkers which don't require access to the network will
be run, as this allows the processing to happen without network access. Also,
this functionality won't work in older versions of Guix which don't expose the
lint warnings in a compatible way.
This commit is contained in:
Christopher Baines 2019-08-31 12:11:58 +01:00
parent bf469504eb
commit 6b9977f62e
11 changed files with 487 additions and 48 deletions

View file

@ -0,0 +1,11 @@
-- Revert guix-data-service:lint_warnings from pg
BEGIN;
DROP TABLE guix_revision_lint_warnings;
DROP TABLE lint_warnings;
DROP TABLE lint_warning_message_sets;
DROP TABLE lint_warning_messages;
DROP TABLE lint_checkers;
COMMIT;