mirror of
git://git.savannah.gnu.org/guix/data-service.git
synced 2023-12-14 03:23:03 +01:00
Support package substitute availability for the latest revision
This commit is contained in:
parent
67cda8f9cc
commit
e7e5a281ee
2 changed files with 12 additions and 0 deletions
|
@ -212,6 +212,17 @@
|
|||
(render-unknown-revision mime-types
|
||||
conn
|
||||
commit-hash))))
|
||||
(('GET "repository" repository-id "branch" branch-name "latest-processed-revision" "package-substitute-availability")
|
||||
(let ((commit-hash
|
||||
(latest-processed-commit-for-branch conn repository-id branch-name)))
|
||||
(if commit-hash
|
||||
(render-revision-package-substitute-availability mime-types
|
||||
conn
|
||||
commit-hash
|
||||
#:path-base path)
|
||||
(render-unknown-revision mime-types
|
||||
conn
|
||||
commit-hash))))
|
||||
(('GET "repository" repository-id "branch" branch-name "latest-processed-revision"
|
||||
"lint-warnings")
|
||||
(let ((commit-hash
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
render-revision-package-version
|
||||
render-revision-packages
|
||||
render-revision-package-reproduciblity
|
||||
render-revision-package-substitute-availability
|
||||
render-revision-package-derivations
|
||||
render-unknown-revision
|
||||
render-view-revision))
|
||||
|
|
Loading…
Reference in a new issue