Add an input type "nix" for passing arbitrary Nix expressions
[?]
Sep 30, 2013, 10:03 AM
PGSSRA7CPOQI354Y6YJTYRFF57YJARB5THFE3MBJBVHOLYNEIGTQCDependencies
- [2]
W74RIXTJShow inputs and input changes on the jobset eval page - [3]
HZWUT4YNAllow users to reproduce builds on their own systems - [4]
JAH3UPWASupport revision control systems via plugins - [5]
FXW2UR7Finitial bzr support - [6]
ZI535LI6* hydra: 'new' UI for project/jobset/job/build - [7]
GEADFVZ5hydra-queue-runner: Improved scheduling - [8]
GZ66LVO2Don't do <tt> on input type - [9]
SS4TZXNUDistinguish between permanent evaluation errors and transient input errors - [10]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate - [11]
KN3VYE5P* Cleaned up the foreign key constraints. - [12]
JTRG7RDQadd support for git as jobinput - [13]
FYO6NECEhydra - [14]
QLOLZHRXAllow a per-jobset check interval - [15]
INNOEHO6* Fix getBuildLog for bzip2'd files. - [16]
2WRTOU2ZCleanup - [17]
VOBOLKL4missing case for hg input type - [18]
2NGV7NYNDrop unused "tag" column - [19]
P5XCKTFDFix sysbuild input type handling - [20]
4WZQW2N6Fix indentation and get rid of some unnecessary whitespace in the output - [21]
3G7OYUSEreproduce.tt: Check for the presence of commands like nix-build - [22]
3PNG7NIBRemove trailing whitespace - [23]
FGQPXZIXhydra: make nr of build to keep configurable per jobset - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
3XTHEUMP* Implemented the clone feature. - [*]
IK53RV4V - [*]
N22GPKYT* Put info about logs / build products in the DB.
Change contents
- edit in src/lib/Hydra/Controller/Root.pm at line 36
'nix' => 'Nix expression', - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 160
elsif ($type eq "string") {elsif ($type eq "string" || $type eq "nix") { - edit in src/lib/Hydra/Helper/AddBuilds.pm at line 244
when ("nix") {push @res, "--arg", $input, $alt->{value};} - replacement in src/root/common.tt at line 250
[% ELSIF input.type == "string" || input.type == "boolean" %]<tt>"[% input.value %]"</tt>[% ELSIF input.type == "string" %]<tt>"[% HTML.escape(input.value) %]"</tt>[% ELSIF input.type == "nix" || input.type == "boolean" %]<tt>[% HTML.escape(input.value) %]</tt> - replacement in src/root/common.tt at line 255
<tt>[% input.uri %][% IF input.revision %] (r[% input.revision %])[% END %]</tt><tt>[% HTML.escape(input.uri) %][% IF input.revision %] (r[% HTML.escape(input.revision) %])[% END %]</tt> - replacement in src/root/common.tt at line 297
[% ELSIF input.type == "string" || input.type == "boolean" %]<tt>"[% input.value %]"</tt>[% ELSIF input.type == "string" %]<tt>"[% HTML.escape(input.value) %]"</tt>[% ELSIF input.type == "nix" || input.type == "boolean" %]<tt>[% HTML.escape(input.value) %]</tt> - replacement in src/root/common.tt at line 302
<tt>[% input.uri %]</tt><tt>[% HTML.escape(input.uri) %]</tt> - replacement in src/root/common.tt at line 305
<td>[% IF input.revision %][% input.revision %][% END %]</td><td>[% IF input.revision %][% HTML.escape(input.revision) %][% END %]</td> - replacement in src/root/reproduce.tt at line 144
args+=(--arg '[% input.name %]' '"[% input.value %]"')args+=(--arg '[% input.name %]' '"[% input.value %]"') # FIXME: escape - edit in src/root/reproduce.tt at line 149
[% ELSIF input.type == "nix" %]args+=(--arg '[% input.name %]' '[% input.value %]') # FIXME: escape - replacement in src/sql/hydra.sql at line 79
type text not null, -- "svn", "path", "uri", "string", "boolean"type text not null, -- "svn", "path", "uri", "string", "boolean", "nix"