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
|
(render-unknown-revision mime-types
|
||||||
conn
|
conn
|
||||||
commit-hash))))
|
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"
|
(('GET "repository" repository-id "branch" branch-name "latest-processed-revision"
|
||||||
"lint-warnings")
|
"lint-warnings")
|
||||||
(let ((commit-hash
|
(let ((commit-hash
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,7 @@
|
||||||
render-revision-package-version
|
render-revision-package-version
|
||||||
render-revision-packages
|
render-revision-packages
|
||||||
render-revision-package-reproduciblity
|
render-revision-package-reproduciblity
|
||||||
|
render-revision-package-substitute-availability
|
||||||
render-revision-package-derivations
|
render-revision-package-derivations
|
||||||
render-unknown-revision
|
render-unknown-revision
|
||||||
render-view-revision))
|
render-view-revision))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue