hydra: store logfile/output path/closure size
[?]
Nov 11, 2010, 11:03 AM
5O6E5SU5YQ4JIXLWGHTSAJO4UAMRN65GAZLYMVBMRLFS2F6X7AKACDependencies
- [2]
5DSF5KWY* Perl sucks. "getBuildLog $drvPath" doesn't mean the same as - [3]
SMCOU72Fhydra: add some admin for adding/enabling/etc build machines - [4]
ZVTSOVHN* Support Subversion checkouts. - [5]
R5D7DZPE - [6]
GNIEG2GC* Disambiguate jobs by jobset name. I.e. jobs with the same name in - [7]
V4RNHJNR* Add a link to each project's homepage. Suggested by karltk. - [8]
RBNQKATL* Adding persistant releases. A release is a named set of builds. - [9]
3BKF6P72* Use Nix's negative caching. - [10]
N22GPKYT* Put info about logs / build products in the DB. - [11]
7YBYT2LQ - [12]
KN3VYE5P* Cleaned up the foreign key constraints. - [13]
D5QIOJGP* Move everything up one directory. - [14]
BHZXGT2H* Channels: provide an index page that lists all the packages in the - [15]
CLJQCY2X* Store info about all the build actions and allow them to be - [16]
L2E6EVE2* Merged the Build and Job tables. - [17]
H7CNGK4O* Log evaluation errors etc. in the DB. - [18]
JTRG7RDQadd support for git as jobinput - [19]
BD3GRK4B* Get rid of "positive failures" and separate log phases. - [20]
TWVSALRL* Allow the maximum number of concurrent builds per platform to be - [21]
KOTB7BKV - [22]
EYNG4EL4* Regenerate the bindings from a clean sqlite database. - [23]
ECBA3GQO* Make the schema class names match the case of the SQL table names. - [24]
4D4U5IPY* Allow jobsets to be disabled. - [25]
P5X4P6VK* Renaming "release sets" to "views" (not finished yet). Having - [26]
S5PV6IIM* Represent jobs explicitly in the DB. - [27]
YAPITGB3* Boolean inputs. - [28]
S66BOMVU* Added authentication. - [29]
IK53RV4V - [30]
YTZOC7C5* Editing of jobset inputs. - [31]
D3DIBMOK* For products that are directories (like manuals), allow a default - [32]
X27GNHDV* Basic job info in the database. - [33]
RU7AQO7U* Role-based access control. Only admins can create projects. Only - [34]
S6OISBQ3* Mark the "current" builds in a jobset, i.e. those corresponding to - [35]
3E6IP3R3* Add the name of the jobset to ReleaseSetJobs, otherwise we can't - [36]
2YXO5ZGQHydra/28: Rename "scheduler" to "evaluator" - [37]
LCKWLQW3* In Sqlite "release" is now a keyword, so use "release_" instead. - [38]
3ZCEPLNO - [39]
B72GLND4 - [40]
AHTEIK7G* Added a maintainers field to the Builds table. - [41]
6BLUKEQ2* Caching of "path" inputs, and fake a revision number for those. - [42]
GZAXDYBQ* Script for initialising the database. - [43]
TLZ2SPBR - [44]
JM3DPYOMgenerated schema with new dbix class schema loader, grrrrrr - [45]
37R34XJO* Negative caching: don't perform a build if a dependency already - [46]
SHBLLAVH* More global substitution. - [47]
TQKGQ5R3 - [48]
CMU3YKOU* Store the release name. - [49]
FHF6IZJQ* Basic release management: releases are now dynamically computed as - [50]
VJHIHMEH* Store the meta.longDescription and meta.license attributes in the - [51]
3HCBU2FA - [*]
OG7BEM57 - [*]
LZO3C2KI* Hack around those SQLite timeouts: just retry the transaction.
Change contents
- replacement in src/lib/Hydra/Schema/BuildMachines.pm at line 32
default_value: undefdefault_value: '' - replacement in src/lib/Hydra/Schema/BuildMachines.pm at line 39
default_value: undefdefault_value: '' - replacement in src/lib/Hydra/Schema/BuildMachines.pm at line 46
default_value: undefdefault_value: '' - replacement in src/lib/Hydra/Schema/BuildMachines.pm at line 67
default_value: 1default_value: 0 - replacement in src/lib/Hydra/Schema/BuildMachines.pm at line 82
{data_type => "text",default_value => undef,is_nullable => 0,size => undef,},{ data_type => "text", default_value => "''", is_nullable => 0, size => undef }, - replacement in src/lib/Hydra/Schema/BuildMachines.pm at line 84
{data_type => "text",default_value => undef,is_nullable => 0,size => undef,},{ data_type => "text", default_value => "''", is_nullable => 0, size => undef }, - replacement in src/lib/Hydra/Schema/BuildMachines.pm at line 86
{data_type => "text",default_value => undef,is_nullable => 0,size => undef,},{ data_type => "text", default_value => "''", is_nullable => 0, size => undef }, - replacement in src/lib/Hydra/Schema/BuildMachines.pm at line 92
{ data_type => "integer", default_value => 1, is_nullable => 0, size => undef },{ data_type => "integer", default_value => 0, is_nullable => 0, size => undef }, - replacement in src/lib/Hydra/Schema/BuildMachines.pm at line 113
# Created by DBIx::Class::Schema::Loader v0.05000 @ 2010-10-11 12:58:16# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gje+VA73Hghl7JXp+Fl8pw# Created by DBIx::Class::Schema::Loader v0.05000 @ 2010-11-11 10:58:44# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GV0LlwTyjFctix2zArVTGw - edit in src/lib/Hydra/Schema/BuildResultInfo.pm at line 70
size: undef=head2 logsizedata_type: integerdefault_value: 0is_nullable: 0size: undef=head2 sizedata_type: integerdefault_value: 0is_nullable: 0 - edit in src/lib/Hydra/Schema/BuildResultInfo.pm at line 85
=head2 closuresize - edit in src/lib/Hydra/Schema/BuildResultInfo.pm at line 88
data_type: integerdefault_value: 0is_nullable: 0size: undef - edit in src/lib/Hydra/Schema/BuildResultInfo.pm at line 174
"logsize",{ data_type => "integer", default_value => 0, is_nullable => 0, size => undef },"size",{ data_type => "integer", default_value => 0, is_nullable => 0, size => undef },"closuresize",{ data_type => "integer", default_value => 0, is_nullable => 0, size => undef }, - replacement in src/lib/Hydra/Schema/BuildResultInfo.pm at line 219
# Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-02-25 10:29:41# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Vg+v2gK8l7iqBqQGtZJ1cA# Created by DBIx::Class::Schema::Loader v0.05000 @ 2010-11-11 10:58:44# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7RntgXzDYpnfVLfja5RXKg - edit in src/script/hydra_build.pl.in at line 202
sub getSize {my $size = `du -bcs @_ 2> /dev/null | tail -1 | cut -f 1 `;return int($size);} - edit in src/script/hydra_build.pl.in at line 372
my $logfile = getBuildLog($drvPath); - edit in src/script/hydra_build.pl.in at line 374[4.4021][54.1150]
my $logsize = defined $logfile ? getSize($logfile) : 0;my $size = isValidPath($outPath) ? getSize($outPath) : 0;my $closuresize = 0;if (isValidPath($outPath)) {(my $hash, my $deriver, my $refs) = queryPathInfo($outPath) ;$closuresize = getSize(@{$refs});} - replacement in src/script/hydra_build.pl.in at line 394
, logfile => getBuildLog($drvPath), logfile => $logfile, logsize => $logsize, size => $size, closuresize => $closuresize - replacement in src/sql/hydra.sql at line 117
-- This table contains all builds, either scheduled or finished. For-- This table contains all wbuilds, either scheduled or finished. For - edit in src/sql/hydra.sql at line 206
logsize integer not null default 0,size integer not null default 0,closuresize integer not null default 0,