Indentation
[?]
Dec 1, 2011, 12:25 PM
BMSQD2ZH3T37RNPRKKKNF5DTJEGBLY4YR2BZDKP7PXJGS3ZBBLWACDependencies
- [2]
FM4O2L4Mhydra: if evaluator sees cached build, also add the buildproducts - [3]
FXW2UR7Finitial bzr support - [4]
SHYRGAWZhydra: when no external url is given for diff's of git/hg input, revert to a diff done on a local available clone - [5]
SGNXIOI4Hydra/32: Add option to force evaluation of a certain jobset via web interface (for admins only) - [6]
O25D52TAinitial support for mercurial - [7]
JI26P3PChydra: export addBuildProducts - [8]
UO67NQMRChange `fetchInputGit' to do `git clone -b BRANCH' instead of `git clone'. - [9]
QBQSQOSYhydra: moved getbuildlog - [10]
5SHCWE7X* Prevent repeated evaluation of a jobset with the same inputs. This - [11]
OSVLMLCQhydra: factored out build restart and - [12]
C7CXMZ66hydra: do not perform git clone every time. in stead work on local clone and pull - [13]
CHQEG6WYHydra/29: Added timeout to svn/git checkouts, job evaluation - [14]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate - [15]
3XTHEUMP* Implemented the clone feature. - [16]
A22P7HCOhydra: at evaluation, check if path is already built, and mark as built in stead of adding to the queue. - [17]
JZE7DC2FWhitespace
Change contents
- replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 16
our @EXPORT = qw(fetchInput evalJobs checkBuild inputsToArgs captureStdoutStderr getReleaseName getBuildLog addBuildProducts restartBuild scmPath);our @EXPORT = qw(fetchInput evalJobs checkBuild inputsToArgs captureStdoutStderrgetReleaseName getBuildLog addBuildProducts restartBuild scmPath); - edit in src/lib/Hydra/Helper/AddBuilds.pm at line 21
- replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 326
chdir $clonePath or die $!;chdir $clonePath or die $!; # !!! urgh, shouldn't do a chdir - edit in src/lib/Hydra/Helper/AddBuilds.pm at line 404
- replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 701
open LIST, "$outPath/nix-support/hydra-build-products" or die;while (<LIST>) {/^([\w\-]+)\s+([\w\-]+)\s+(\S+)(\s+(\S+))?$/ or next;my $type = $1;my $subtype = $2 eq "none" ? "" : $2;my $path = $3;my $defaultPath = $5;next unless -e $path;open LIST, "$outPath/nix-support/hydra-build-products" or die;while (<LIST>) {/^([\w\-]+)\s+([\w\-]+)\s+(\S+)(\s+(\S+))?$/ or next;my $type = $1;my $subtype = $2 eq "none" ? "" : $2;my $path = $3;my $defaultPath = $5;next unless -e $path; - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 710
my $fileSize, my $sha1, my $sha256;my $fileSize, my $sha1, my $sha256; - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 712
# !!! validate $path, $defaultPath# !!! validate $path, $defaultPath - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 714
if (-f $path) {my $st = stat($path) or die "cannot stat $path: $!";$fileSize = $st->size;if (-f $path) {my $st = stat($path) or die "cannot stat $path: $!";$fileSize = $st->size; - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 718
$sha1 = `nix-hash --flat --type sha1 $path`or die "cannot hash $path: $?";;chomp $sha1;$sha256 = `nix-hash --flat --type sha256 $path`or die "cannot hash $path: $?";;chomp $sha256;}$sha1 = `nix-hash --flat --type sha1 $path`or die "cannot hash $path: $?";;chomp $sha1;$sha256 = `nix-hash --flat --type sha256 $path`or die "cannot hash $path: $?";;chomp $sha256;} - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 727
my $name = $path eq $outPath ? "" : basename $path;my $name = $path eq $outPath ? "" : basename $path; - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 729
$db->resultset('BuildProducts')->create({ build => $build->id, productnr => $productnr++, type => $type, subtype => $subtype, path => $path, filesize => $fileSize, sha1hash => $sha1, sha256hash => $sha256, name => $name, defaultpath => $defaultPath});}close LIST;}$db->resultset('BuildProducts')->create({ build => $build->id, productnr => $productnr++, type => $type, subtype => $subtype, path => $path, filesize => $fileSize, sha1hash => $sha1, sha256hash => $sha256, name => $name, defaultpath => $defaultPath});}close LIST;} - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 745
else {$db->resultset('BuildProducts')->create({ build => $build->id, productnr => $productnr++, type => "nix-build", subtype => "", path => $outPath, name => $build->nixname});}else {$db->resultset('BuildProducts')->create({ build => $build->id, productnr => $productnr++, type => "nix-build", subtype => "", path => $outPath, name => $build->nixname});}