Skip to content
Snippets Groups Projects
Unverified Commit 4c044c65 authored by Clément Lassieur's avatar Clément Lassieur
Browse files

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.
parent d36ec7a3
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment