hydra-update-gc-roots: Keep the most recent evaluations

We now keep all builds in the N most recent evaluations of a jobset,
rather than the N most recent builds of every job.  Note that this
means that typically fewer builds will be kept (since jobs may be
unchanged across evaluations).
This commit is contained in:
Eelco Dolstra
2013-08-16 16:21:30 +02:00
parent 8e1ade4422
commit d16738e130
3 changed files with 11 additions and 15 deletions

View File

@ -110,7 +110,7 @@
</div>
<div class="control-group">
<label class="control-label">Number of builds to keep</label>
<label class="control-label">Number of evaluations to keep</label>
<div class="controls">
<input type="number" class="span3" name="keepnr" [% HTML.attributes(value => jobset.keepnr) %]></input>
</div>

View File

@ -133,7 +133,7 @@
<td>[% HTML.escape(jobset.emailoverride) %]</td>
</tr>
<tr>
<th>Number of builds to keep:</th>
<th>Number of evaluations to keep:</th>
<td>[% jobset.keepnr %]</td>
</tr>
</table>