hydra: make nr of build to keep configurable per jobset
[?]
Aug 10, 2010, 6:48 AM
FGQPXZIX7EUHGILJWL6PCQQ54OYA53E6K2HUL765GKYOMK6U23QQCDependencies
- [2]
HLYVEJX7* Keep the 3 most recent builds for every platform for every job. - [3]
QTFVCDIFadded hide feature for project/jobset - [4]
E2TOU3L6* More indices. - [5]
JTRG7RDQadd support for git as jobinput - [6]
BK24VA6Q* for git inputs, check latest revision of branch (defaults to master for now), if there is change, only use input if last checkout was > hour ago. - [7]
JM3DPYOMgenerated schema with new dbix class schema loader, grrrrrr - [8]
O25D52TAinitial support for mercurial - [9]
2I2ZX6JB* Make the "latest succeeded" query (used by the "latest" channel) - [10]
X27GNHDV* Basic job info in the database. - [11]
RSEGBU6CHydra/20: Jobset clone feature - [12]
NEWDDAOF* Allow users to change the value of a build's "keep" flag, which - [13]
RFE6T5LG* Store jobset evaluations in the database explicitly. This includes - [14]
34DPX2OR* Create some more indices on tables that have a foreign key reference - [15]
JJT5QG3Kremove revision from cached cvs inputs, and added missing files - [16]
ODNCGFQ5* Improved the navigation bar: don't include all projects (since that - [17]
ZI535LI6* hydra: 'new' UI for project/jobset/job/build - [18]
FYO6NECEhydra - [19]
6QRHXIM3* Speed up the jobset index page. Especially the query to get the - [20]
IN272KZW* Automatically keep all builds in the latest successful release in - [*]
3HZY24CX* Make jobsets viewable under - [*]
WZ3AEJ67* hydra_update_gc_roots.pl registers build outputs that should be kept - [*]
N22GPKYT* Put info about logs / build products in the DB. - [*]
KN3VYE5P* Cleaned up the foreign key constraints.
Change contents
- edit in src/lib/Hydra/Controller/Jobset.pm at line 234
, keepnr => trim($c->request->params->{keepnr}) - edit in src/lib/Hydra/Schema/CachedGitInputs.pm at line 39
default_value: undefis_nullable: 0size: undef=head2 timestampdata_type: integerdefault_value: undefis_nullable: 0size: undef=head2 lastseendata_type: integer - edit in src/lib/Hydra/Schema/CachedGitInputs.pm at line 77
default_value => undef,is_nullable => 0,size => undef,},"timestamp",{data_type => "integer",default_value => undef,is_nullable => 0,size => undef,},"lastseen",{data_type => "integer", - replacement in src/lib/Hydra/Schema/CachedGitInputs.pm at line 99
# Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-02-25 10:29:41# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CoeyzZHUEPo7/VpIpLD+Pw# Created by DBIx::Class::Schema::Loader v0.05000 @ 2010-08-10 08:24:15# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4eYbLtiy5X3yegndBRFtSg - edit in src/lib/Hydra/Schema/Jobsets.pm at line 108
=head2 keepnr - edit in src/lib/Hydra/Schema/Jobsets.pm at line 111
data_type: integerdefault_value: 3is_nullable: 0size: undef - edit in src/lib/Hydra/Schema/Jobsets.pm at line 191
"keepnr",{ data_type => "integer", default_value => 3, is_nullable => 0, size => undef }, - replacement in src/lib/Hydra/Schema/Jobsets.pm at line 292
# Created by DBIx::Class::Schema::Loader v0.05000 @ 2010-06-04 16:32:43# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aQ+7TLIXnNDjjulPNqLq7A# Created by DBIx::Class::Schema::Loader v0.05000 @ 2010-08-10 08:24:15# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:b/GSJQxUcjCP4fn3peJVMg - replacement in src/root/jobset.tt at line 192
<tr><th>Email override:</th><td>[% INCLUDE maybeEditString param="emailoverride" value=jobset.emailoverride %]</td></tr><tr><th>Email override:</th><td>[% INCLUDE maybeEditString param="emailoverride" value=jobset.emailoverride %]</td></tr><tr><th>Number of builds to keep:</th><td>[% INCLUDE maybeEditString param="keepnr" value=jobset.keepnr %]</td></tr> - replacement in src/script/hydra_update_gc_roots.pl at line 50
my $keepnr = $job->jobset->keepnr ; - replacement in src/script/hydra_update_gc_roots.pl at line 59
, rows => 3 # !!! should make this configurable, rows => $keepnr - edit in src/sql/hydra.sql at line 54[4.5168][25.5479]
keepnr integer not null default 3, - edit in src/sql/hydra.sql at line 508
create index IndexCachedGitInputsOnLastSeen on CachedGitInputs(uri, branch, lastSeen);