Turn repeated dependencies into hyperlinks
[?]
Feb 20, 2013, 12:28 AM
7IJXKGHDJRP4V72E37GRKA4EVC7QO7QCVLCKMUY2EJS4U4IAYS5ACDependencies
- [2]
HQ54SEMSAdd more spacing between products - [3]
5NHZT4UHRender the dependencies as a tree - [4]
XDDCO6CH* hydra: add dependency list with links to logfiles - [5]
ZHHFJ4K5Simplify the tree implementation a bit more - [6]
YPDYBK5GShow dependencies as a tree rather than a list - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- replacement in src/root/deps.tt at line 5
[% project = build.project %][% jobset = build.jobset %][% job = build.job %][% project = build.project;jobset = build.jobset;job = build.job;global.nodeId = 1 %] - replacement in src/root/deps.tt at line 13
<tt>[% node.name %]</tt> (<em>repeated</em>)<a href="#[% done.${node.path} %]"><tt>[% node.name %]</tt></a> - replacement in src/root/deps.tt at line 15
[% done.${node.path} = 1 %][% done.${node.path} = global.nodeId; global.nodeId = global.nodeId + 1; %] - replacement in src/root/deps.tt at line 19
[% 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 %]<span class="dep-tree-line" id="[% done.${node.path} %]">[% 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> (<em>no info</em>)[% END %]</span> - edit in src/root/static/css/hydra.css at line 27[2.83]
span.dep-tree-line:target {background-color: #f8f8e0;font-style: italic;}