* Don't discard old build steps when restarting a build.
[?]
Mar 16, 2009, 4:56 PM
G5A7TZVIRTVTI7P5SESOC567QEYSM4SKBZJNYHBXNCTUV53WSZIACDependencies
- [2]
K3EAQY3X* Doh. - [3]
A63IHCMX* Register GC roots properly. - [4]
AS5PAYLI - [5]
NLJJZVHO* Use ->update({...}) properly. - [6]
LQNBKF3D - [7]
7YBYT2LQ - [8]
D3DIBMOK* For products that are directories (like manuals), allow a default - [9]
S3ZLZP3N* Cut off builds after half an hour of apparent inactivity. This - [10]
ECBA3GQO* Make the schema class names match the case of the SQL table names. - [11]
CLJQCY2X* Store info about all the build actions and allow them to be - [12]
BD3GRK4B* Get rid of "positive failures" and separate log phases. - [13]
L2E6EVE2* Merged the Build and Job tables. - [14]
3E6IP3R3* Add the name of the jobset to ReleaseSetJobs, otherwise we can't
Change contents
- edit in src/script/hydra_build.pl at line 78
my $buildStepNr = $build->buildsteps->find({},{select => {max => 'stepnr + 1'}, as => ['max']})->get_column('max') || 1; - replacement in src/script/hydra_build.pl at line 82
my $buildStepNr = 1;my %buildSteps; - replacement in src/script/hydra_build.pl at line 97
{ stepnr => $buildStepNr++{ stepnr => ($buildSteps{$drvPath} = $buildStepNr++) - replacement in src/script/hydra_build.pl at line 111
(my $step) = $build->buildsteps->search({type => 0, drvpath => $drvPath}, {});die unless $step;my $step = $build->buildsteps->find({stepnr => $buildSteps{$drvPath}}) or die; - replacement in src/script/hydra_build.pl at line 121[4.6495]→[4.4565:4693](∅→∅),[4.3970]→[4.2610:2643](∅→∅),[4.4693]→[4.2610:2643](∅→∅),[4.6685]→[4.2610:2643](∅→∅)
(my $step) = $build->buildsteps->search({type => 0, drvpath => $drvPathStep}, {});if ($step) {if ($buildSteps{$drvPathStep}) {my $step = $build->buildsteps->find({stepnr => $buildSteps{$drvPathStep}}) or die; - replacement in src/script/hydra_build.pl at line 145
{ stepnr => $buildStepNr++{ stepnr => ($buildSteps{$outPath} = $buildStepNr++) - replacement in src/script/hydra_build.pl at line 157
(my $step) = $build->buildsteps->search({type => 1, outpath => $outPath}, {});die unless $step;my $step = $build->buildsteps->find({stepnr => $buildSteps{$outPath}}) or die; - replacement in src/script/hydra_build.pl at line 165
(my $step) = $build->buildsteps->search({type => 1, outpath => $outPath}, {});die unless $step;my $step = $build->buildsteps->find({stepnr => $buildSteps{$outPath}}) or die; - replacement in src/script/hydra_build.pl at line 302
$build->buildsteps->delete_all;$build->buildsteps->search({busy => 1})->delete_all;