Fix link to cached build log
[?]
Apr 11, 2017, 12:25 PM
IMA3HWYCJ6WMFVGSQILZWSWO7QXDVDTWAQFNCKI4QO5JL3QX4ZZACDependencies
- [2]
EYAA7MJYhydra-server: Support logs in S3 - [3]
3PNG7NIBRemove trailing whitespace - [4]
Y6AHH4THRemove the logfile and logSize columns from the database - [5]
ZH6B56XRTry harder to find build logs - [6]
HPEG2RHVMerge the BuildResultInfo table into the Builds table - [7]
LBNVQXUB* Build the /build stuff in a separate controller. - [8]
2GUAKGTBFix indentation of build.tt - [9]
TPNHTE5VRemove obsolete Builds columns and provide accurate "Running builds" - [10]
R7MDDCB2Some unnecessary job names - [11]
PMNWRTGJAdd multiple output support - [12]
H47WLVAT* Handle the case where there is no cached build step that produced - [13]
HB3OHPJLhydra: in case of cached build, add link to build that built the storepath - [14]
K22TMPH5Make the info tables less compressed - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- replacement in src/lib/Hydra/Controller/Build.pm at line 76
$c->stash->{cachedBuild} = $cachedBuildStep->build if defined $cachedBuildStep;if (defined $cachedBuildStep) {$c->stash->{cachedBuild} = $cachedBuildStep->build;$c->stash->{cachedBuildStep} = $cachedBuildStep;} - replacement in src/root/build.tt at line 140
[% IF steps %]<li><a href="#tabs-buildsteps" data-toggle="tab">Build steps</a></li>[% END %][% IF steps.size() > 0 %]<li><a href="#tabs-buildsteps" data-toggle="tab">Build steps</a></li>[% END %] - replacement in src/root/build.tt at line 233
<a class="btn btn-mini" href="[% c.uri_for('/build' actualBuild.id 'log') %]">pretty</a><a class="btn btn-mini" href="[% c.uri_for('/build' actualBuild.id 'log' 'raw') %]">raw</a><a class="btn btn-mini" href="[% c.uri_for('/build' actualBuild.id 'log' 'tail') %]">tail</a>[% actualLog = cachedBuildStep ? c.uri_for('/build' cachedBuild.id 'nixlog' cachedBuildStep.stepnr) : c.uri_for('/build' build.id 'log') %]<a class="btn btn-mini" href="[%actualLog%]">pretty</a><a class="btn btn-mini" href="[%actualLog%]/raw">raw</a><a class="btn btn-mini" href="[%actualLog%]/tail">tail</a>