Add a list of the queued revisions to the index page

This commit is contained in:
Christopher Baines 2019-03-03 18:15:29 +00:00
parent ffdd2416f4
commit 623347d835
Signed by: cbaines
GPG key ID: 5E28A33B0B84F577
3 changed files with 88 additions and 45 deletions

View file

@ -201,7 +201,9 @@
(define (controller request body conn)
(match-lambda
((GET)
(apply render-html (index (most-recent-n-guix-revisions conn 10))))
(apply render-html (index
(most-recent-n-guix-revisions conn 10)
(most-recent-n-load-new-guix-revision-jobs conn 1000))))
((GET "compare")
(with-base-and-target-commits
request conn