[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: http: Fix “/search/latest/archive” endpoint.
From: |
Ricardo Wurmus |
Subject: |
branch master updated: http: Fix “/search/latest/archive” endpoint. |
Date: |
Mon, 09 Oct 2023 09:53:03 -0400 |
This is an automated email from the git hooks/post-receive script.
rekado pushed a commit to branch master
in repository guix-cuirass.
The following commit(s) were added to refs/heads/master by this push:
new 72a1fc5 http: Fix “/search/latest/archive” endpoint.
72a1fc5 is described below
commit 72a1fc58d5fe7c2b5fce04dc07fe9eaaba0f8be3
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Oct 9 15:43:46 2023 +0200
http: Fix “/search/latest/archive” endpoint.
Fixes a regression introduced in c445d2d642765f9589313e9ccdd826ef9bf71432.
Fixes <https://issues.guix.gnu.org/66384>.
* src/cuirass/http.scm (build->hydra-build): Include product id in
"buildproducts" field.
---
src/cuirass/http.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/cuirass/http.scm b/src/cuirass/http.scm
index 7e4fd3b..9c4c723 100644
--- a/src/cuirass/http.scm
+++ b/src/cuirass/http.scm
@@ -133,7 +133,8 @@
(finished . ,(bool->int finished?))
(buildproducts . ,(list->vector
(map (lambda (product)
- `((type . ,(build-product-type product))
+ `((id . ,(build-product-id product))
+ (type . ,(build-product-type product))
(path . ,(build-product-file product))
(file-size . ,(build-product-file-size
product))))
(build-products build))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: http: Fix “/search/latest/archive” endpoint.,
Ricardo Wurmus <=