Allow showing all evaluations that contain a given build
[?]
Feb 21, 2013, 5:49 PM
ND75XNSQ6MWGOAOZGEBMED6QQKLZAU47TEQK3OKRSYOSAUVL6WNACDependencies
- [2]
VH5ZABDRAdd a page to show the latest evaluations for the entire server - [3]
MMJYE535Also show number of evaluations of which a build is a part - [4]
3WUMSTU5Use getMainOutput - [5]
WRIU3S5E* UI for cloning builds (not functional yet). - [6]
L7NUCXKSShow new and removed jobs - [7]
6KIJX24RGet rid of unnecessary [%- and -%] tags - [8]
PMNWRTGJAdd multiple output support - [9]
2VBQRQ2QFix some XML well-formedness problems - [10]
A52HEFHQ* Allow builds to be restarted (if they failed with a transient error, - [11]
PZL3SZM3Give every page a consistent title - [12]
U4TD3AIQAdd support for viewing jobset evaluations - [13]
2GUAKGTBFix indentation of build.tt - [14]
LBNVQXUB* Build the /build stuff in a separate controller. - [15]
4WZQW2N6Fix indentation and get rid of some unnecessary whitespace in the output - [16]
HSVVEKTY* Start of a JSON API to get information about a specific build. - [17]
5NO7NCKT* Refactoring. - [18]
XHVZXX6N - [19]
RWFCW6ZNIn the jobset evals lists, show what inputs changed between consecutive evals - [20]
FPK5LF53* Put the project-related actions in a separate controller. Put the - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
IK53RV4V
Change contents
- replacement in src/lib/Hydra/Controller/Build.pm at line 562
sub get_info : Chained('build') PathPart('api/get-info') Args(0) {sub get_info : Chained('build') PathPart('api/get-info') Args(0) { - edit in src/lib/Hydra/Controller/Build.pm at line 571
}sub get_info : Chained('build') PathPart('evals') Args(0) {my ($self, $c) = @_;$c->stash->{template} = 'evals.tt';my $page = int($c->req->param('page') || "1") || 1;my $resultsPerPage = 20;my $evals = $c->stash->{build}->jobsetevals;$c->stash->{page} = $page;$c->stash->{resultsPerPage} = $resultsPerPage;$c->stash->{total} = $evals->search({hasnewbuilds => 1})->count;$c->stash->{evals} = getEvals($self, $c, $evals, ($page - 1) * $resultsPerPage, $resultsPerPage) - replacement in src/root/build.tt at line 115
[% IF nrEvals > 1 +%] (and [% nrEvals - 1 %] others)[% END %][% IF nrEvals > 1 +%] (and <a href="[% c.uri_for('/build' build.id 'evals') %]">[% nrEvals - 1 %] others</a>)[% END %] - replacement in src/root/common.tt at line 387
[% IF !jobset %][% IF !jobset && !build %] - replacement in src/root/common.tt at line 401
[% IF !jobset %][% IF !jobset && !build %] - replacement in src/root/evals.tt at line 1
[% WRAPPER layout.tt title=(jobset ? "Evaluations of jobset $project.name:$jobset.name" : "Latest evaluations") %][% WRAPPER layout.tt title=(build ? "Evaluations containing build $build.id" :jobset ? "Evaluations of jobset $project.name:$jobset.name" :"Latest evaluations") %]