* hydra: add dependency list with links to logfiles
This commit is contained in:
@ -132,7 +132,7 @@
|
||||
<td>
|
||||
<tt>[% build.drvpath %]</tt>
|
||||
[% IF drvAvailable %]
|
||||
(<a href="[% c.uri_for('/build' build.id 'buildtime-deps') %]">build-time dependencies</a>)
|
||||
(build-time dependencies: <a href="[% c.uri_for('/build' build.id 'buildtime-deps') %]">graph</a> | <a href="[% c.uri_for('/build' build.id 'deps') %]#buildtime">list</a>)
|
||||
[% END %]
|
||||
</td>
|
||||
</tr>
|
||||
@ -141,7 +141,7 @@
|
||||
<td>
|
||||
<tt>[% build.outpath %]</tt>
|
||||
[% IF available %]
|
||||
(<a href="[% c.uri_for('/build' build.id 'runtime-deps') %]">runtime dependencies</a>)
|
||||
(runtime dependencies: <a href="[% c.uri_for('/build' build.id 'runtime-deps') %]">graph</a> | <a href="[% c.uri_for('/build' build.id 'deps') %]#runtime">list</a>)
|
||||
[% END %]
|
||||
</td>
|
||||
</tr>
|
||||
|
46
src/root/deps.tt
Normal file
46
src/root/deps.tt
Normal file
@ -0,0 +1,46 @@
|
||||
[% WRAPPER layout.tt title="Job ‘$project.name:$jobset.name:$job.name’ build $id" %]
|
||||
[% PROCESS common.tt %]
|
||||
[% USE HTML %]
|
||||
|
||||
[% project = build.project %]
|
||||
[% jobset = build.jobset %]
|
||||
[% job = build.job %]
|
||||
|
||||
<a name="runtime"></a>
|
||||
[% IF available %]
|
||||
<h1>Runtime dependencies for [% build.outpath %]</h1>
|
||||
<ul>
|
||||
[% FOREACH dep IN runtimedeps -%]
|
||||
<li>
|
||||
[% IF dep.buildstep %]
|
||||
<a href="[% c.uri_for('/build' dep.buildstep.get_column('build') 'nixlog' dep.buildstep.stepnr) %]">[% dep.path %]</a>
|
||||
[% ELSE %]
|
||||
[% dep.path %]
|
||||
[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
[% ELSE %]
|
||||
Path not available anymore!<br />
|
||||
[% END %]
|
||||
|
||||
<a name="buildtime"></a>
|
||||
[% IF drvAvailable %]
|
||||
<h1>Build time dependencies for [% build.drvpath %]</h1>
|
||||
<ul>
|
||||
[% FOREACH dep IN buildtimedeps -%]
|
||||
<li>
|
||||
[% IF dep.buildstep %]
|
||||
<a href="[% c.uri_for('/build' dep.buildstep.get_column('build') 'nixlog' dep.buildstep.stepnr) %]">[% dep.path %]</a>
|
||||
[% ELSE %]
|
||||
[% dep.path %]
|
||||
[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
[% ELSE %]
|
||||
Derivation not available anymore!<br />
|
||||
[% END %]
|
||||
|
||||
[% END %]
|
||||
|
Reference in New Issue
Block a user