Allow a per-jobset check interval
[?]
May 2, 2013, 3:51 PM
QLOLZHRXOUSNVLJG2SWVC5EISFUOUKJIT32XN6DNW4VFFJMN5PMACDependencies
- [2]
PVIRRARJTurn hiding/unhiding a jobset into a checkbox - [3]
PCKLFRT5Support push notification of repository changes - [4]
6LETVKRAAfter editing a jobset, push it to the front of the evaluation queue - [5]
EJ7C77C3Allow searching for store and drv paths. Only does a complete match to reduce load on database. - [6]
ODNCGFQ5* Improved the navigation bar: don't include all projects (since that - [7]
VS3OUK7Dif no emailoverride specified, use empty string - [8]
OX6NYJDVSplit viewing and editing a jobset - [9]
Y6AHH4THRemove the logfile and logSize columns from the database - [10]
RFE6T5LG* Store jobset evaluations in the database explicitly. This includes - [11]
SB2V735VKeep track of the database schema version - [12]
J74UTA3IHandle the case where a jobset has never been evaluated - [13]
JM3DPYOMgenerated schema with new dbix class schema loader, grrrrrr - [14]
MDAIP23Thydra-evaluator: Respect triggers of disabled jobsets - [15]
OVR2RWBIhydra-evaluator: Always pick the jobset that hasn't been evaluated longest - [16]
X27GNHDV* Basic job info in the database. - [17]
FYO6NECEhydra - [18]
UMFB2767Hydra/64: Leaving number of builds empty gives DBIx error - [19]
QTFVCDIFadded hide feature for project/jobset - [20]
FGQPXZIXhydra: make nr of build to keep configurable per jobset - [*]
3HZY24CX* Make jobsets viewable under - [*]
N22GPKYT* Put info about logs / build products in the DB. - [*]
KN3VYE5P* Cleaned up the foreign key constraints. - [*]
D5QIOJGP* Move everything up one directory.
Change contents
- replacement in src/lib/Hydra/Controller/Jobset.pm at line 209
, keepnr => trim($c->request->params->{keepnr}) || 3, keepnr => int(trim($c->request->params->{keepnr})) || 3, checkinterval => int(trim($c->request->params->{checkinterval})) - edit in src/lib/Hydra/Schema/Jobsets.pm at line 101
is_nullable: 0=head2 checkintervaldata_type: 'integer'default_value: 300 - edit in src/lib/Hydra/Schema/Jobsets.pm at line 140
"checkinterval",{ data_type => "integer", default_value => 300, is_nullable => 0 }, - replacement in src/lib/Hydra/Schema/Jobsets.pm at line 263
# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-02-25 19:10:12# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SvBgR0iH9NjVH4jvBATYPA# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-05-02 14:50:55# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:q4amPCWRoWMThnRa/n/y1w - edit in src/root/edit-jobset.tt at line 87
<label class="control-label">Check interval</label> - edit in src/root/edit-jobset.tt at line 89
<div class="input-append"><input type="number" class="span3" name="checkinterval" [% HTML.attributes(value => jobset.checkinterval) %]></input><span class="add-on">sec</span></div><span class="help-inline">(0 to disable polling)</span></div></div><div class="control-group"><div class="controls"> - edit in src/root/jobset.tt at line 122
</tr><tr><th>Check interval:</th><td>[% jobset.checkinterval || "<em>disabled</em>" %]</td> - replacement in src/script/hydra-evaluator at line 271
# longest time (but don't check more often than the minimal check# interval).# longest time (but don't check more often than the jobset's# minimal check interval). - replacement in src/script/hydra-evaluator at line 275
, -or => [ 'lastcheckedtime' => undef, 'lastcheckedtime' => { '<', time() - $minCheckInterval } ] },, 'checkinterval' => { '!=', 0 }, -or => [ 'lastcheckedtime' => undef, 'lastcheckedtime' => { '<', \ (time() . " - me.checkinterval") } ] }, - edit in src/sql/hydra.sql at line 63
checkInterval integer not null default 300, -- minimum time in seconds between polls (0 = disable polling) - edit in src/sql/upgrade-12.sql at line 1
- file addition: upgrade-13.sql[25.3004]
alter table Jobsets add column checkInterval integer not null default 300;