hydra: handle case where build to keep set to 0
[?]
Nov 23, 2010, 9:05 AM
ONAQU4BRGYO6MGPGIQIK5KF4JE4TBJMFFBU5XBKFTYQ5RPW7FOYQCDependencies
- [2]
AEFNBIIW* Merge the GC branch. - [3]
NEWDDAOF* Allow users to change the value of a build's "keep" flag, which - [4]
AFGT66EIhydra: if a project or jobset is hidden (and thus disabled) do not keep builds - [5]
4X6NS66Q* Keep the most recent builds for each job. - [6]
HLYVEJX7* Keep the 3 most recent builds for every platform for every job. - [7]
IN272KZW* Automatically keep all builds in the latest successful release in - [8]
E3LZ5H7Qhydra: only use keepnr to determine if builds should be kept - [9]
FGQPXZIXhydra: make nr of build to keep configurable per jobset - [*]
WZ3AEJ67* hydra_update_gc_roots.pl registers build outputs that should be kept
Change contents
- replacement in src/script/hydra_update_gc_roots.pl.in at line 43
# If the jobset has been disabled for more than one week, than# don't keep its builds anymore.if ($jobset->enabled == 0 && (time() - $jobset->lastcheckedtime > (7 * 24 * 3600))) {print STDERR "*** skipping disabled jobset ", $project->name, ":", $jobset->name, "\n";next;}# If the jobset has been disabled for more than one week, than# don't keep its builds anymore.if ($jobset->enabled == 0 && (time() - $jobset->lastcheckedtime > (7 * 24 * 3600))) {print STDERR "*** skipping disabled jobset ", $project->name, ":", $jobset->name, "\n";next;}if ($keepnr <= 0 ) {print STDERR "*** jobset ", $project->name, ":", $jobset->name, " set to keep 0 builds\n";next;} - replacement in src/script/hydra_update_gc_roots.pl.in at line 76
}}}}