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:
parent
bf469504eb
commit
6b9977f62e
11 changed files with 487 additions and 48 deletions
11
sqitch/revert/lint_warnings.sql
Normal file
11
sqitch/revert/lint_warnings.sql
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue