aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/revision
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-09-14 10:52:04 +0100
committerChristopher Baines <mail@cbaines.net>2022-09-14 10:52:04 +0100
commit189b9a4e869b2f132bd3736be3f6c51b3c33b418 (patch)
tree39a7e31ef682d7959c8fb21fe9f4b66600381d69 /guix-data-service/web/revision
parentec3dba489442e71eae73050cee966024a8c903f0 (diff)
downloaddata-service-189b9a4e869b2f132bd3736be3f6c51b3c33b418.tar
data-service-189b9a4e869b2f132bd3736be3f6c51b3c33b418.tar.gz
Implement the JSON response for package reproducibility
Diffstat (limited to 'guix-data-service/web/revision')
-rw-r--r--guix-data-service/web/revision/controller.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-data-service/web/revision/controller.scm b/guix-data-service/web/revision/controller.scm
index 06097f9..f19e1d7 100644
--- a/guix-data-service/web/revision/controller.scm
+++ b/guix-data-service/web/revision/controller.scm
@@ -661,7 +661,8 @@
mime-types)
((application/json)
(render-json
- '()))
+ `((commit . ,commit-hash)
+ (systems . ,output-consistency))))
(else
(render-html
#:sxml (view-revision-package-reproducibility