Make the package-reproducibility page work for the latest revision
This commit is contained in:
parent
11b13edac9
commit
67cda8f9cc
2 changed files with 12 additions and 0 deletions
|
|
@ -201,6 +201,17 @@
|
|||
(render-unknown-revision mime-types
|
||||
conn
|
||||
commit-hash))))
|
||||
(('GET "repository" repository-id "branch" branch-name "latest-processed-revision" "package-reproducibility")
|
||||
(let ((commit-hash
|
||||
(latest-processed-commit-for-branch conn repository-id branch-name)))
|
||||
(if commit-hash
|
||||
(render-revision-package-reproduciblity 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
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@
|
|||
render-revision-lint-warnings
|
||||
render-revision-package-version
|
||||
render-revision-packages
|
||||
render-revision-package-reproduciblity
|
||||
render-revision-package-derivations
|
||||
render-unknown-revision
|
||||
render-view-revision))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue