diff options
author | Christopher Baines <mail@cbaines.net> | 2019-10-18 18:44:42 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-10-18 18:44:42 +0100 |
commit | 5e2bc7c6e920e1542ab8fde39dbddca443a7cbc8 (patch) | |
tree | ef070014db54d085284c56d28f825ea41e94f908 | |
parent | aee903bc8c49bef078aa8ec72a297eed8052088a (diff) | |
download | data-service-5e2bc7c6e920e1542ab8fde39dbddca443a7cbc8.tar data-service-5e2bc7c6e920e1542ab8fde39dbddca443a7cbc8.tar.gz |
Fix various warnings relating to the controller refactoring
-rw-r--r-- | guix-data-service/web/compare/controller.scm | 4 | ||||
-rw-r--r-- | guix-data-service/web/repository/controller.scm | 6 | ||||
-rw-r--r-- | guix-data-service/web/revision/controller.scm | 1 | ||||
-rw-r--r-- | guix-data-service/web/revision/html.scm | 1 |
4 files changed, 12 insertions, 0 deletions
diff --git a/guix-data-service/web/compare/controller.scm b/guix-data-service/web/compare/controller.scm index d2af55f..381d25b 100644 --- a/guix-data-service/web/compare/controller.scm +++ b/guix-data-service/web/compare/controller.scm @@ -19,11 +19,13 @@ #:use-module (srfi srfi-1) #:use-module (srfi srfi-11) #:use-module (ice-9 match) + #:use-module (ice-9 vlist) #:use-module (guix-data-service web util) #:use-module (guix-data-service web render) #:use-module (guix-data-service web query-parameters) #:use-module (guix-data-service model utils) #:use-module (guix-data-service comparison) + #:use-module (guix-data-service jobs load-new-guix-revision) #:use-module (guix-data-service model guix-revision) #:use-module (guix-data-service model derivation) #:use-module (guix-data-service model build-status) @@ -378,6 +380,8 @@ query-parameters (valid-systems conn) build-status-strings + '() + '() '())))) (let ((base-branch (assq-ref query-parameters 'base_branch)) diff --git a/guix-data-service/web/repository/controller.scm b/guix-data-service/web/repository/controller.scm index b3d2586..23e3559 100644 --- a/guix-data-service/web/repository/controller.scm +++ b/guix-data-service/web/repository/controller.scm @@ -17,12 +17,16 @@ (define-module (guix-data-service web repository controller) #:use-module (ice-9 match) + #:use-module (web uri) + #:use-module (web request) #:use-module (guix-data-service web render) #:use-module (guix-data-service web query-parameters) #:use-module (guix-data-service web util) #:use-module (guix-data-service model package) #:use-module (guix-data-service model git-branch) #:use-module (guix-data-service model git-repository) + #:use-module (guix-data-service web view html) + #:use-module (guix-data-service web revision controller) #:use-module (guix-data-service web repository html) #:export (repository-controller)) @@ -31,6 +35,8 @@ mime-types body conn) + (define path + (uri-path (request-uri request))) (match method-and-path-components (('GET "repository" id) diff --git a/guix-data-service/web/revision/controller.scm b/guix-data-service/web/revision/controller.scm index 56575b3..51d9212 100644 --- a/guix-data-service/web/revision/controller.scm +++ b/guix-data-service/web/revision/controller.scm @@ -22,6 +22,7 @@ #:use-module (texinfo) #:use-module (texinfo html) #:use-module (texinfo plain-text) + #:use-module (json) #:use-module (guix-data-service web render) #:use-module (guix-data-service web sxml) #:use-module (guix-data-service web query-parameters) diff --git a/guix-data-service/web/revision/html.scm b/guix-data-service/web/revision/html.scm index f9f4500..f2458e2 100644 --- a/guix-data-service/web/revision/html.scm +++ b/guix-data-service/web/revision/html.scm @@ -20,6 +20,7 @@ #:use-module (ice-9 match) #:use-module (texinfo) #:use-module (texinfo html) + #:use-module (json) #:use-module (guix-data-service web util) #:use-module (guix-data-service web query-parameters) #:use-module (guix-data-service web view html) |