Fix sysbuild input type handling
[?]
Dec 5, 2011, 4:13 PM
P5XCKTFDQHOWNE5ZLPFH27FYZQ7QPCEL33FYR4LTI2JR3IA2ILOACDependencies
- [2]
NFVN7JRBHandle missing "build" inputs - [3]
FXW2UR7Finitial bzr support - [4]
KQS7DSKJ* Clean up indentation. - [5]
2WRTOU2ZCleanup - [6]
POPU2ATH* hydra_scheduler: use eval-jobs. - [7]
3XTHEUMP* Implemented the clone feature. - [8]
7ZHHVD6Q* Inputs of type "build" must now be declared explicitly. - [9]
VOBOLKL4missing case for hg input type - [10]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate - [11]
JTRG7RDQadd support for git as jobinput - [12]
YFPZ46YK* hydra: added variant of build input type, 'build output (same system)' to allow better continous integration in one jobset for multiple system. it makes sure that the system of the build that is passed as input for a job has the same system as the job. - [13]
2WUNXJGWHydra/26: Go back to using "svn export" as default for svn, added svn-checkout type for jobset which need .svn dirs. export is much more efficient - [*]
N22GPKYT* Put info about logs / build products in the DB.
Change contents
- replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 566
my $input;my @inputs; - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 569
$input = fetchInputPath($db, $project, $jobset, $name, $value);push @inputs, fetchInputPath($db, $project, $jobset, $name, $value); - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 572
$input = fetchInputSVN($db, $project, $jobset, $name, $value, 0);push @inputs, fetchInputSVN($db, $project, $jobset, $name, $value, 0); - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 575
$input = fetchInputSVN($db, $project, $jobset, $name, $value, 1);push @inputs, fetchInputSVN($db, $project, $jobset, $name, $value, 1); - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 578
$input = fetchInputBuild($db, $project, $jobset, $name, $value);push @inputs, fetchInputBuild($db, $project, $jobset, $name, $value); - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 581
$input = fetchInputSystemBuild($db, $project, $jobset, $name, $value);push @inputs, fetchInputSystemBuild($db, $project, $jobset, $name, $value); - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 584
$input = fetchInputGit($db, $project, $jobset, $name, $value);push @inputs, fetchInputGit($db, $project, $jobset, $name, $value); - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 587
$input = fetchInputHg($db, $project, $jobset, $name, $value);push @inputs, fetchInputHg($db, $project, $jobset, $name, $value); - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 590
$input = fetchInputBazaar($db, $project, $jobset, $name, $value, 0);push @inputs, fetchInputBazaar($db, $project, $jobset, $name, $value, 0); - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 593
$input = fetchInputBazaar($db, $project, $jobset, $name, $value, 1);push @inputs, fetchInputBazaar($db, $project, $jobset, $name, $value, 1); - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 597
$input = { value => $value };push @inputs, { value => $value }; - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 601
$input = { value => $value };push @inputs, { value => $value }; - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 607
$input->{type} = $type if defined $input;return $input;foreach my $input (@inputs) {$input->{type} = $type if defined $input;}return @inputs; - replacement in src/script/hydra-evaluator at line 28
if($input->type eq "sysbuild") {my @info = fetchInput($db, $project, $jobset, $input->name, $input->type, $alt->value);foreach my $info_el (@info) {push @{$$inputInfo{$input->name}}, $info_el if defined $info_el;}} else {my $info = fetchInput($db, $project, $jobset, $input->name, $input->type, $alt->value);push @{$$inputInfo{$input->name}}, $info if defined $info;}my @info = fetchInput($db, $project, $jobset, $input->name, $input->type, $alt->value);foreach my $info_el (@info) {push @{$$inputInfo{$input->name}}, $info_el if defined $info_el;}