[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/17: ci: Reify the timestamps of evaluations.
From: |
guix-commits |
Subject: |
01/17: ci: Reify the timestamps of evaluations. |
Date: |
Fri, 2 Jun 2023 11:24:02 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit acef4cecf908e3c4a6fd99e2cc48f8b9ad4c1eff
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Jun 1 15:47:02 2023 +0200
ci: Reify the timestamps of evaluations.
* guix/ci.scm (<evaluation>)[start-time, checkout-time,
completion-time]: New fields.
---
guix/ci.scm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/guix/ci.scm b/guix/ci.scm
index ecdffde2d1..5d16ee69d0 100644
--- a/guix/ci.scm
+++ b/guix/ci.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2018-2022 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2018-2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2020 Mathieu Othacehe <othacehe@gnu.org>
;;;
;;; This file is part of GNU Guix.
@@ -57,6 +57,9 @@
evaluation-spec
evaluation-complete?
evaluation-checkouts
+ evaluation-start-time
+ evaluation-checkout-time
+ evaluation-completion-time
job?
job-build-id
@@ -174,7 +177,13 @@ corresponding date object."
(checkouts evaluation-checkouts "checkouts" ;<checkout>*
(lambda (checkouts)
(map json->checkout
- (vector->list checkouts)))))
+ (vector->list checkouts))))
+ (start-time evaluation-start-time "timestamp" ;date
+ seconds->date)
+ (checkout-time evaluation-checkout-time "checkouttime" ;date
+ seconds->date)
+ (completion-time evaluation-completion-time "evaltime" ;date
+ seconds->date))
(define %query-limit
;; Max number of builds requested in queries.
- branch master updated (a7d9cd742c -> 69dfdb7bd1), guix-commits, 2023/06/02
- 05/17: gnu: python-docrepr: Fix tests., guix-commits, 2023/06/02
- 03/17: gnu: gcc-boot0: Do not use 'coreutils-boot0' on GNU/Hurd., guix-commits, 2023/06/02
- 08/17: gnu: cuirass: Update to b825967., guix-commits, 2023/06/02
- 01/17: ci: Reify the timestamps of evaluations.,
guix-commits <=
- 02/17: read-print: Add 'package/inherit' special form., guix-commits, 2023/06/02
- 04/17: gnu: cpp-mustache: Update to 5.0 to fix build., guix-commits, 2023/06/02
- 10/17: tests: Check for service existence in MODIFY-SERVICES, guix-commits, 2023/06/02
- 11/17: services: Error in MODIFY-SERVICES when services don't exist, guix-commits, 2023/06/02
- 13/17: gnu: Add ocaml-parmap., guix-commits, 2023/06/02
- 14/17: gnu: Add ocaml-stdcompat., guix-commits, 2023/06/02
- 06/17: gnu: python-ipython-documentation: Remove patches., guix-commits, 2023/06/02
- 07/17: gnu: python-ipython-documentation: Update dependencies., guix-commits, 2023/06/02
- 09/17: tests: Add tests for MODIFY-SERVICES procedure, guix-commits, 2023/06/02
- 12/17: gnu: Add tmux-plugin-mem-cpu-load., guix-commits, 2023/06/02