From 4c044c658a6f7b40ca78b4d1c56ca225d62c1129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Lassieur?= Date: Sat, 4 Aug 2018 16:22:57 +0200 Subject: Rename 'repo-name' to 'specification'. * src/cuirass/database.scm (db-get-builds): Rename 'repo-name' to 'specification'. * src/cuirass/http.scm (build->hydra-build): Idem. --- src/cuirass/database.scm | 4 ++-- src/cuirass/http.scm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cuirass/database.scm b/src/cuirass/database.scm index 130a9c3..1a51705 100644 --- a/src/cuirass/database.scm +++ b/src/cuirass/database.scm @@ -497,7 +497,7 @@ Assumes that if group id stays the same the group headers stay the same." (define (finish-group) (match repeated-row (#(timestamp starttime stoptime log status derivation job-name system - nix-name repo-name) + nix-name specification) `((#:id . ,repeated-builds-id) (#:timestamp . ,timestamp) (#:starttime . ,starttime) @@ -508,7 +508,7 @@ Assumes that if group id stays the same the group headers stay the same." (#:job-name . ,job-name) (#:system . ,system) (#:nix-name . ,nix-name) - (#:repo-name . ,repo-name) + (#:specification . ,specification) (#:outputs . ,outputs))))) (define (same-group? builds-id) diff --git a/src/cuirass/http.scm b/src/cuirass/http.scm index 2d66ff9..16bbda0 100644 --- a/src/cuirass/http.scm +++ b/src/cuirass/http.scm @@ -79,7 +79,7 @@ (build-status started))))) `((#:id . ,(assq-ref build #:id)) - (#:jobset . ,(assq-ref build #:repo-name)) + (#:jobset . ,(assq-ref build #:specification)) (#:job . ,(assq-ref build #:job-name)) ;; Hydra's API uses "timestamp" as the time of the last useful event for -- cgit v1.2.3