[?]
Nov 12, 2008, 11:09 AM
LQNBKF3DKVYK3NPDGK7OLOTIWIF4HR3EKLRYNLZJB4G3NMIVBCEACDependencies
- [2]
CLJQCY2X* Store info about all the build actions and allow them to be - [3]
PHX2HIVG* Store info about the build inputs in the build record. - [4]
TULPZ62Y* Perform builds in parallel. - [5]
7YBYT2LQ - [6]
UVMFS73T* Some jQuery / CSS hackery. - [7]
M552HLIA* Support variant builds. - [8]
L2E6EVE2* Merged the Build and Job tables. - [9]
K5BEBWKM - [10]
7LKUAIGC - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
WHAFVCEI - [*]
VCOSLZRP - [*]
67P45PY4
Change contents
- edit in src/HydraFrontend/lib/HydraFrontend/Controller/Root.pm at line 49
- edit in src/HydraFrontend/lib/HydraFrontend/Controller/Root.pm at line 52
- edit in src/HydraFrontend/lib/HydraFrontend/Controller/Root.pm at line 54
$c->model('DB::Builds')->search({project => $projectName}, {join => 'resultInfo', select => {sum => 'starttime'}});$c->stash->{finishedBuilds} = $c->model('DB::Builds')->search({project => $projectName, finished => 1});$c->stash->{succeededBuilds} = $c->model('DB::Builds')->search({project => $projectName, finished => 1, buildStatus => 0},{join => 'resultInfo'});$c->stash->{scheduledBuilds} = $c->model('DB::Builds')->search({project => $projectName, finished => 0});$c->stash->{busyBuilds} = $c->model('DB::Builds')->search({project => $projectName, finished => 0, busy => 1},{join => 'schedulingInfo'});$c->stash->{totalBuildTime} = $c->model('DB::Builds')->search({project => $projectName},{join => 'resultInfo', select => {sum => 'stoptime - starttime'}, as => ['sum']})->first->get_column('sum'); - edit in src/HydraFrontend/lib/HydraFrontend/Controller/Root.pm at line 107
$c->stash->{curTime} = time; - replacement in src/HydraFrontend/root/build.tt at line 143
<tr><th>Nr</th><th>What</th><th>Status</th></tr><tr><th>Nr</th><th>What</th><th>Duration</th><th>Status</th></tr> - edit in src/HydraFrontend/root/build.tt at line 153
[% IF step.busy == 0 %][% step.stoptime - step.starttime %]s[% ELSE %][% curTime - step.starttime %]s[% END %]</td><td> - edit in src/HydraFrontend/root/build.tt at line 210
- edit in src/HydraFrontend/root/build.tt at line 212
[% IF build.buildlogs %] - edit in src/HydraFrontend/root/build.tt at line 225
[% END %] - edit in src/HydraFrontend/root/build.tt at line 227[14.109][15.4184]
- replacement in src/HydraFrontend/root/job.tt at line 5[3.1485]→[3.1485:1493](∅→∅),[3.1493]→[3.3638:3751](∅→∅),[3.913]→[3.1575:1661](∅→∅),[3.3751]→[3.1575:1661](∅→∅),[3.1575]→[3.1575:1661](∅→∅)
<table><tr><th></th><th>Id</th><th>Project</th><th>Job</th><th>System</th><th>Timestamp</th><th>Description</th></tr>[% FOREACH build IN builds -%][% INCLUDE "short-build-info.tt" %][% END -%]<table class="tablesorter"><thead><tr><th></th><th>Id</th><th>Project</th><th>Job</th><th>System</th><th>Timestamp</th><th>Description</th></tr></thead><tbody>[% FOREACH build IN builds -%][% INCLUDE "short-build-info.tt" %][% END -%]</tbody> - replacement in src/HydraFrontend/root/project.tt at line 12
<p>Description: [% jobset.description %]<br />Nix expression: <tt>[% jobset.nixexprpath %]</tt> in input <tt>[% jobset.nixexprinput %]</tt></p><h4>Information</h4><table><tr><th>Description:</th><td>[% jobset.description %]</td></tr><tr><th>Nix expression:</th><td><tt>[% jobset.nixexprpath %]</tt> in input <tt>[% jobset.nixexprinput %]</tt></td></tr></table><h4>Inputs</h4> - edit in src/HydraFrontend/root/project.tt at line 60
<h2>Statistics</h2> - edit in src/HydraFrontend/root/project.tt at line 64
<table><tr><th>Finished builds:</th><td>[% finishedBuilds %]</td></tr><tr><th><img src="/static/images/success.gif" /> Succeeded builds:</th><td>[% succeededBuilds %]</td></tr><tr><th><img src="/static/images/failure.gif" /> Failed builds:</th><td>[% finishedBuilds - succeededBuilds %]</td></tr><tr><th>Total build time:</th><td>[% totalBuildTime %]s</td></tr><tr><th>Scheduled builds:</th><td>[% scheduledBuilds %]</td></tr><tr><th>Currently executing builds:</th><td>[% busyBuilds %]</td></tr></table> - edit in src/build.pl at line 62
, starttime => time - edit in src/build.pl at line 75
$step->stoptime(time); - replacement in src/build.pl at line 85
die unless $step;$step->busy(0);$step->status(1);$step->errormsg($4);$step->update;if ($step) {die unless $step;$step->busy(0);$step->status(1);$step->errormsg($4);$step->stoptime(time);$step->update;} else {$db->resultset('Buildsteps')->create({ id => $build->id, stepnr => $buildStepNr++, type => 0 # = build, drvpath => $drvPath, outpath => $2, logfile => $4, busy => 0, status => 1, starttime => time, stoptime => time, errormsg => $4});} - replacement in src/runner.pl at line 93
sleep(10);sleep(5);