Allow only fetching builds for a specific system
This commit is contained in:
parent
2732ba8f68
commit
f485423d5a
2 changed files with 56 additions and 6 deletions
|
|
@ -36,6 +36,14 @@
|
|||
(or (assoc-ref result 'build-server-ids)
|
||||
'()))
|
||||
(alist-delete 'build-server-ids result))))
|
||||
(option '("system") #t #f
|
||||
(lambda (opt name arg result)
|
||||
(alist-cons
|
||||
'systems
|
||||
(cons arg
|
||||
(or (assoc-ref result 'systems)
|
||||
'()))
|
||||
(alist-delete 'systems result))))
|
||||
(option '("verbose") #f #f
|
||||
(lambda (opt name _ result)
|
||||
(alist-cons 'verbose #t result)))))
|
||||
|
|
@ -67,6 +75,7 @@
|
|||
(lambda (conn)
|
||||
(query-build-servers conn
|
||||
(assq-ref opts 'build-server-ids)
|
||||
(assq-ref opts 'systems)
|
||||
(assq-ref opts 'revision-commits)
|
||||
(assq-ref opts 'outputs)
|
||||
#:verbose? (assq-ref opts 'verbose)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue