hydra/src/root/deps.tt

57 lines
1.5 KiB
Plaintext
Raw Normal View History

[% 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 %]
[% BLOCK renderNode %]
2013-02-20 00:02:18 +00:00
<li>
[% IF done.${node.path} %]
2013-02-20 00:02:18 +00:00
<tt>[% node.name %]</tt> (<em>repeated</em>)
[% ELSE %]
[% done.${node.path} = 1 %]
[% IF node.refs.size > 0 %]
2013-02-20 00:02:18 +00:00
<a href="javascript:" class="tree-toggle"></a>
[% END %]
[% IF node.buildStep %]
<a href="[% c.uri_for('/build' node.buildStep.get_column('build')) %]"><tt>[% node.name %]</tt></a> [%
IF log_exists(node.buildStep.drvpath);
INCLUDE renderLogLinks url=c.uri_for('/build' node.buildStep.get_column('build') 'nixlog' node.buildStep.stepnr);
END %]
[% ELSE %]
<tt>[% node.name %]</tt>
[% END %]
[% IF node.refs.size > 0 %]
<ul class="subtree">
[% FOREACH ref IN node.refs; INCLUDE renderNode node=ref; END %]
</ul>
[% END %]
[% END %]
</li>
[% END %]
<a name="runtime"></a>
<h2>Runtime dependency graph</h2>
[% IF available %]
<ul class="tree">
[% done={}; FOREACH node IN runtimeGraph; INCLUDE renderNode; END %]
</ul>
[% ELSE %]
<p><em>No longer available.</em></p>
[% END %]
<a name="buildtime"></a>
<h2>Build-time dependency graph</h2>
[% IF drvAvailable %]
<ul class="tree">
[% INCLUDE renderNode node=buildTimeGraph %]
</ul>
[% ELSE %]
<p><em>No longer available.</em></p>
[% END %]
[% END %]