Fix some uses of select-build-server-urls-by-id

This commit is contained in:
Christopher Baines 2023-07-20 16:12:00 +01:00
parent ce1480edf4
commit 6e4d436d75
2 changed files with 14 additions and 14 deletions

View file

@ -703,7 +703,7 @@
#:after-name after-name
#:limit-results limit-results)))
(build-server-urls
(with-resource-from-pool (connection-pool) conn
(call-with-resource-from-pool (connection-pool)
select-build-server-urls-by-id)))
(let ((names-and-versions
(package-derivation-data->names-and-versions data)))
@ -936,7 +936,7 @@
(with-resource-from-pool (connection-pool) conn
list-systems))
(build-server-urls
(with-resource-from-pool (connection-pool) conn
(call-with-resource-from-pool (connection-pool)
select-build-server-urls-by-id)))
(render-html
#:sxml (compare/system-test-derivations
@ -959,7 +959,7 @@
(commit->revision-id conn target-commit)
system)))
(build-server-urls
(with-resource-from-pool (connection-pool) conn
(call-with-resource-from-pool (connection-pool)
select-build-server-urls-by-id))
(base-git-repositories
(with-resource-from-pool (connection-pool) conn
@ -1006,7 +1006,7 @@
(with-resource-from-pool (connection-pool) conn
list-systems))
(build-server-urls
(with-resource-from-pool (connection-pool) conn
(call-with-resource-from-pool (connection-pool)
select-build-server-urls-by-id)))
(render-html
#:sxml (compare/system-test-derivations
@ -1042,7 +1042,7 @@
(first target-revision-details)
system)))
(build-server-urls
(with-resource-from-pool (connection-pool) conn
(call-with-resource-from-pool (connection-pool)
select-build-server-urls-by-id))
(base-git-repositories
(with-resource-from-pool (connection-pool) conn

View file

@ -1066,7 +1066,7 @@
#:after-name (assq-ref query-parameters 'after_name)
#:include-builds? (member "builds" fields)))))
(build-server-urls
(with-resource-from-pool (connection-pool) conn
(call-with-resource-from-pool (connection-pool)
select-build-server-urls-by-id)))
(let ((show-next-page?
(if all-results
@ -1178,7 +1178,7 @@
#:after-derivation-file-name
(assq-ref query-parameters 'after_name))))
(build-server-urls
(with-resource-from-pool (connection-pool) conn
(call-with-resource-from-pool (connection-pool)
select-build-server-urls-by-id)))
(let ((show-next-page?
(if all-results