Rename render-revision-package to render-revision-package-version
As this name is more specific.
This commit is contained in:
parent
427063c812
commit
a40a8f0f92
1 changed files with 30 additions and 30 deletions
|
|
@ -278,7 +278,7 @@
|
||||||
#:header-link header-link)
|
#:header-link header-link)
|
||||||
#:extra-headers http-headers-for-unchanging-content))))))
|
#:extra-headers http-headers-for-unchanging-content))))))
|
||||||
|
|
||||||
(define* (render-revision-package mime-types
|
(define* (render-revision-package-version mime-types
|
||||||
conn
|
conn
|
||||||
commit-hash
|
commit-hash
|
||||||
name
|
name
|
||||||
|
|
@ -813,7 +813,7 @@
|
||||||
commit-hash)))
|
commit-hash)))
|
||||||
(('GET "revision" commit-hash "package" name version)
|
(('GET "revision" commit-hash "package" name version)
|
||||||
(if (guix-commit-exists? conn commit-hash)
|
(if (guix-commit-exists? conn commit-hash)
|
||||||
(render-revision-package mime-types
|
(render-revision-package-version mime-types
|
||||||
conn
|
conn
|
||||||
commit-hash
|
commit-hash
|
||||||
name
|
name
|
||||||
|
|
@ -1001,7 +1001,7 @@
|
||||||
(let ((commit-hash
|
(let ((commit-hash
|
||||||
(latest-processed-commit-for-branch conn repository-id branch-name)))
|
(latest-processed-commit-for-branch conn repository-id branch-name)))
|
||||||
(if commit-hash
|
(if commit-hash
|
||||||
(render-revision-package mime-types
|
(render-revision-package-version mime-types
|
||||||
conn
|
conn
|
||||||
commit-hash
|
commit-hash
|
||||||
name
|
name
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue