Remove the related builds tab
[?]
Feb 21, 2013, 5:43 PM
YLLP6LP7KW5PR4QZ4STWQDH5ZQITIRUFDSP5AKBUPI7MBPCZYCJACDependencies
- [2]
FU4GO5VNOn build pages, provide a link to the build's first eval - [3]
NZI7E2E3* hydra: handle case where logfile is empty - [4]
3SQCOHZN* minor performance tweaks - [5]
7ZVZJK54Re-enable the "Related Builds" tab - [6]
CLJQCY2X* Store info about all the build actions and allow them to be - [7]
MOX7XJ2EMerge the BuildSchedulingInfo table into the Builds table - [8]
3PNG7NIBRemove trailing whitespace - [9]
HB3OHPJLhydra: in case of cached build, add link to build that built the storepath - [10]
YFYRNNQUUse <h3> for running/failed build steps - [11]
2GUAKGTBFix indentation of build.tt - [12]
ZI535LI6* hydra: 'new' UI for project/jobset/job/build - [13]
LBNVQXUB* Build the /build stuff in a separate controller. - [14]
36M6DGITShow the runtime/build dependencies in the build page - [15]
MPVX6MKX* hydra: on build page, show tail of log on first tab when buildstatus == 1 (this specific build failed) - [16]
MMJYE535Also show number of evaluations of which a build is a part - [17]
K22TMPH5Make the info tables less compressed - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- edit in src/lib/Hydra/Controller/Build.pm at line 99
my $maxRelated = 100;my $r = $c->model('DB::Builds')->search({ eval => { -in => $build->jobsetevalmembers->search({}, {rows => 1})->get_column('eval')->as_query } },{ join => 'jobsetevalmembers', order_by => [ 'project', 'jobset', 'job'], distinct => 1, rows => $maxRelated + 1 });$c->stash->{relatedbuilds} = [$r->all];delete $c->stash->{relatedbuilds} if scalar(@{$c->stash->{relatedbuilds}}) > $maxRelated; - edit in src/root/build.tt at line 69
[% IF relatedbuilds %]<li><a href="#tabs-relatedbuilds" data-toggle="tab">Related builds</a></li>[% END %] - edit in src/root/build.tt at line 340
[% IF relatedbuilds %]<div id="tabs-relatedbuilds" class="tab-pane"><p>The following builds are part of the same jobset evaluation that produced this build.</p>[% INCLUDE renderBuildList builds=relatedbuilds hideProjectName=1 hideJobsetName=1 %]</div>[% END %]