[?]
Nov 12, 2008, 1:00 PM
AS5PAYLIRJWB4JGU6N7WKILONGDIGCKNKS4ZSLRYCNGMUAP3AQSACDependencies
- [2]
LQNBKF3D - [3]
7YBYT2LQ - [4]
L2E6EVE2* Merged the Build and Job tables. - [5]
CLJQCY2X* Store info about all the build actions and allow them to be - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- edit in src/HydraFrontend/lib/HydraFrontend/Controller/Root.pm at line 142
return error($c, "Build step $stepnr of build $id does not have a log file.") if $step->logfile eq ""; - replacement in src/HydraFrontend/root/build.tt at line 150
Build of <tt>[% step.outpath %]</tt>[% IF step.type == 0 %]Build of <tt>[% step.outpath %]</tt>[% ELSE %]Substitution of <tt>[% step.outpath %]</tt>[% END %] - replacement in src/HydraFrontend/root/build.tt at line 171
(<a href="[% c.uri_for('/nixlog' build.id step.stepnr) %]">log</a>)[% IF step.logfile %](<a href="[% c.uri_for('/nixlog' build.id step.stepnr) %]">log</a>)[% END %] - edit in src/build.pl at line 50
print STDERR "GOT $_"; - replacement in src/build.pl at line 66
if (/^@\s+build-succeeded\s+(\S+)\s+(\S+)$/) {elsif (/^@\s+build-succeeded\s+(\S+)\s+(\S+)$/) {my $drvPath = $1; - edit in src/build.pl at line 69
my $drvPath = $1; - replacement in src/build.pl at line 79
if (/^@\s+build-failed\s+(\S+)\s+(\S+)\s+(\S+)\s+(.*)$/) {elsif (/^@\s+build-failed\s+(\S+)\s+(\S+)\s+(\S+)\s+(.*)$/) {my $drvPath = $1; - edit in src/build.pl at line 82
my $drvPath = $1; - edit in src/build.pl at line 106
});}elsif (/^@\s+substituter-started\s+(\S+)\s+(\S+)$/) {my $outPath = $1;$db->txn_do(sub {$db->resultset('Buildsteps')->create({ id => $build->id, stepnr => $buildStepNr++, type => 1 # = substitution, outpath => $1, busy => 1, starttime => time});});}elsif (/^@\s+substituter-succeeded\s+(\S+)$/) {my $outPath = $1;$db->txn_do(sub {(my $step) = $db->resultset('Buildsteps')->search({id => $build->id, type => 1, outpath => $outPath}, {});die unless $step;$step->busy(0);$step->status(0);$step->stoptime(time);$step->update; - edit in src/build.pl at line 135
elsif (/^@\s+substituter-failed\s+(\S+)\s+(\S+)\s+(\S+)$/) {my $outPath = $1;$db->txn_do(sub {(my $step) = $db->resultset('Buildsteps')->search({id => $build->id, type => 1, outpath => $outPath}, {});die unless $step;$step->busy(0);$step->status(1);$step->errormsg($3);$step->stoptime(time);$step->update;});}else {print STDERR "unknown Nix trace message: $_";}