2010-01-22 13:31:59 +00:00
|
|
|
|
[% 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 %]
|
|
|
|
|
|
2013-02-14 14:53:34 +00:00
|
|
|
|
[% BLOCK renderNode %]
|
2013-02-20 00:02:18 +00:00
|
|
|
|
<li>
|
2013-02-14 14:53:34 +00:00
|
|
|
|
[% IF done.${node.path} %]
|
2013-02-20 00:02:18 +00:00
|
|
|
|
<tt>[% node.name %]</tt> (<em>repeated</em>)
|
2010-01-22 13:31:59 +00:00
|
|
|
|
[% ELSE %]
|
2013-02-14 14:53:34 +00:00
|
|
|
|
[% 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">
|
2013-02-14 14:53:34 +00:00
|
|
|
|
[% FOREACH ref IN node.refs; INCLUDE renderNode node=ref; END %]
|
|
|
|
|
</ul>
|
|
|
|
|
[% END %]
|
2010-01-22 13:31:59 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
</li>
|
|
|
|
|
[% END %]
|
2013-02-14 14:53:34 +00:00
|
|
|
|
|
|
|
|
|
<a name="runtime"></a>
|
|
|
|
|
<h2>Runtime dependency graph</h2>
|
|
|
|
|
[% IF available %]
|
2013-02-19 23:54:03 +00:00
|
|
|
|
<ul class="tree">
|
2013-02-14 14:53:34 +00:00
|
|
|
|
[% done={}; FOREACH node IN runtimeGraph; INCLUDE renderNode; END %]
|
2010-01-22 13:31:59 +00:00
|
|
|
|
</ul>
|
|
|
|
|
[% ELSE %]
|
2013-02-14 14:53:34 +00:00
|
|
|
|
<p><em>No longer available.</em></p>
|
2010-01-22 13:31:59 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
<a name="buildtime"></a>
|
2013-02-14 14:53:34 +00:00
|
|
|
|
<h2>Build-time dependency graph</h2>
|
2010-01-22 13:31:59 +00:00
|
|
|
|
[% IF drvAvailable %]
|
2013-02-19 23:54:03 +00:00
|
|
|
|
<ul class="tree">
|
2013-02-14 14:53:34 +00:00
|
|
|
|
[% INCLUDE renderNode node=buildTimeGraph %]
|
2010-01-22 13:31:59 +00:00
|
|
|
|
</ul>
|
|
|
|
|
[% ELSE %]
|
2013-02-14 14:53:34 +00:00
|
|
|
|
<p><em>No longer available.</em></p>
|
2010-01-22 13:31:59 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
[% END %]
|
|
|
|
|
|