Fix Changes section on build page. Now shows the changes of the first evaluation a build was part of compared to the previous one. Also separated previous builds from the changes section, as that was confusing sometimes.
[?]
Nov 18, 2014, 10:00 AM
BYGDNBDF4BTA5YLCEKNDBMDZT5G5VNMW5LJHLB2CBHYH3TVJC7XQCDependencies
- [2]
UYWFRWQ6Sort constituents by job name - [3]
BW2MGEXMbuild.tt: Show jobset eval inputs instead of build inputs - [4]
W74RIXTJShow inputs and input changes on the jobset eval page - [5]
R7MDDCB2Some unnecessary job names - [6]
2GUAKGTBFix indentation of build.tt - [7]
XHK7IGYI* hdyra: show last succeeded build and changes since on build status summary if build has failed - [8]
OIBSCXGIUse a popover to show how to use the build reproduction script - [9]
TW5ZQX5Z* Move up the build products in the builds page, since they're more - [*]
LBNVQXUB* Build the /build stuff in a separate controller. - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- edit in src/lib/Hydra/Controller/Build.pm at line 110
my ($eval2) = $c->stash->{eval}->jobset->jobsetevals->search({ hasnewbuilds => 1, id => { '<', $c->stash->{eval}->id } },{ order_by => "id DESC", rows => 1 });$c->stash->{otherEval} = $eval2 if defined $eval2; - edit in src/root/build.tt at line 227
[% IF otherEval %]<h3>Changes</h3>[% INCLUDE renderInputDiff inputs2=eval.jobsetevalinputs inputs1=otherEval.jobsetevalinputs %][% END %] - replacement in src/root/build.tt at line 233
<h3>Changes</h3><h3>Previous builds</h3> - edit in src/root/build.tt at line 258
<td>[% INCLUDE renderInputDiff inputs1=prevSuccessfulBuild.inputs inputs2=build.inputs %]</td> - edit in src/root/build.tt at line 386
[% IF prevBuild %]<h3>Changes since previous [% INCLUDE renderBuildLink build=prevBuild %]</h3>[% INCLUDE renderInputDiff inputs2=build.inputs inputs1=prevBuild.inputs %][% END %]