From 6b9977f62eef54678c7a53844ad5d26d8efeecb0 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 31 Aug 2019 12:11:58 +0100 Subject: 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. --- Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index e923ec1..8046df9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -57,8 +57,11 @@ SOURCES = \ guix-data-service/model/git-repository.scm \ guix-data-service/model/guix-revision-package-derivation.scm \ guix-data-service/model/guix-revision.scm \ - guix-data-service/model/license.scm \ guix-data-service/model/license-set.scm \ + guix-data-service/model/license.scm \ + guix-data-service/model/lint-checker.scm \ + guix-data-service/model/lint-warning-message.scm \ + guix-data-service/model/lint-warning.scm \ guix-data-service/model/location.scm \ guix-data-service/model/package-derivation.scm \ guix-data-service/model/package-metadata.scm \ @@ -84,6 +87,9 @@ TESTS = \ tests/model-git-repository.scm \ tests/model-license-set.scm \ tests/model-license.scm \ + tests/model-lint-checker.scm \ + tests/model-lint-warning.scm \ + tests/model-lint-warning-message.scm \ tests/model-package-metadata.scm AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" -- cgit v1.2.3