mirror of
git://git.savannah.gnu.org/guix/data-service.git
synced 2023-12-14 03:23:03 +01:00
Include if data is available in the JSON response for a branch
This commit is contained in:
parent
f83cff7107
commit
5af213a165
|
@ -88,9 +88,10 @@
|
||||||
`((revisions
|
`((revisions
|
||||||
. ,(list->vector
|
. ,(list->vector
|
||||||
(map (match-lambda
|
(map (match-lambda
|
||||||
((commit-hash date _ _)
|
((commit-hash date revision-exists? _)
|
||||||
`((date . ,date)
|
`((date . ,date)
|
||||||
(commit-hash . ,commit-hash))))
|
(commit-hash . ,commit-hash)
|
||||||
|
(data_available . ,revision-exists?))))
|
||||||
revisions))))))
|
revisions))))))
|
||||||
(else
|
(else
|
||||||
(render-html
|
(render-html
|
||||||
|
|
Loading…
Reference in a new issue