summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2018-08-04 16:22:57 +0200
committerClément Lassieur <clement@lassieur.org>2018-08-04 16:32:22 +0200
commit4c044c658a6f7b40ca78b4d1c56ca225d62c1129 (patch)
tree4679e28d35af635b384bbfffaf9d979800cd9393
parentd36ec7a3852772e2bac14f79ea9c2faa111b5d92 (diff)
downloadcuirass-4c044c658a6f7b40ca78b4d1c56ca225d62c1129.tar
cuirass-4c044c658a6f7b40ca78b4d1c56ca225d62c1129.tar.gz
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.
-rw-r--r--src/cuirass/database.scm4
-rw-r--r--src/cuirass/http.scm2
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