Keep builds of disabled jobsets that are not hidden. Fixes #18.
[?]
May 11, 2012, 7:11 AM
E2X5OTFSRCIHBIYH2CA4D5CWYILPTGVTZ6OWHQV4NSRYQZRMU3IQCDependencies
- [2]
TJK27WSBOpen the DB using Hydra::Model::DB->new - [3]
AEFNBIIW* Merge the GC branch. - [4]
AFGT66EIhydra: if a project or jobset is hidden (and thus disabled) do not keep builds - [5]
IN272KZW* Automatically keep all builds in the latest successful release in - [6]
NEWDDAOF* Allow users to change the value of a build's "keep" flag, which - [7]
4X6NS66Q* Keep the most recent builds for each job. - [8]
ONAQU4BRhydra: handle case where build to keep set to 0 - [9]
E3LZ5H7Qhydra: only use keepnr to determine if builds should be kept - [*]
WZ3AEJ67* hydra_update_gc_roots.pl registers build outputs that should be kept
Change contents
- replacement in src/script/hydra-update-gc-roots at line 77
# If the jobset has been disabled for more than one week, than# If the jobset has been hidden and disabled for more than one week, than - replacement in src/script/hydra-update-gc-roots at line 79
if ($jobset->enabled == 0 && (time() - ($jobset->lastcheckedtime || 0) > (7 * 24 * 3600))) {if ($jobset->enabled == 0 && ($project->hidden == 1 || $jobset->hidden == 1) && (time() - ($jobset->lastcheckedtime || 0) > (7 * 24 * 3600))) {