Start merging the package derivation comparison code
This commit is contained in:
parent
56983eb03e
commit
0c3e208a83
2 changed files with 4 additions and 20 deletions
|
|
@ -571,6 +571,7 @@
|
|||
(render-html
|
||||
#:sxml (compare/package-derivations
|
||||
query-parameters
|
||||
'revision
|
||||
systems
|
||||
(valid-targets->options targets)
|
||||
build-status-strings
|
||||
|
|
@ -626,6 +627,7 @@
|
|||
(render-html
|
||||
#:sxml (compare/package-derivations
|
||||
query-parameters
|
||||
'revision
|
||||
systems
|
||||
(valid-targets->options targets)
|
||||
build-status-strings
|
||||
|
|
|
|||
|
|
@ -653,6 +653,7 @@
|
|||
environment-variables))))))))))
|
||||
|
||||
(define (compare/package-derivations query-parameters
|
||||
mode
|
||||
valid-systems
|
||||
valid-targets
|
||||
valid-build-statuses
|
||||
|
|
@ -688,26 +689,7 @@
|
|||
(@ (method "get")
|
||||
(action "")
|
||||
(class "form-horizontal"))
|
||||
,(form-horizontal-control
|
||||
"Base commit" query-parameters
|
||||
#:required? #t
|
||||
#:help-text "The commit to use as the basis for the comparison."
|
||||
#:font-family "monospace")
|
||||
,(form-horizontal-control
|
||||
"Target commit" query-parameters
|
||||
#:required? #t
|
||||
#:help-text "The commit to compare against the base commit."
|
||||
#:font-family "monospace")
|
||||
,(form-horizontal-control
|
||||
"System" query-parameters
|
||||
#:options valid-systems
|
||||
#:help-text "Only include derivations for this system."
|
||||
#:font-family "monospace")
|
||||
,(form-horizontal-control
|
||||
"Target" query-parameters
|
||||
#:options valid-targets
|
||||
#:help-text "Only include derivations that are build for this system."
|
||||
#:font-family "monospace")
|
||||
,@(compare-form-controls-for-mode mode query-parameters)
|
||||
,(form-horizontal-control
|
||||
"Build change" query-parameters
|
||||
#:options '(("(none specified)" . "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue