Build page: Show output / closure sizes

[?]
Oct 7, 2014, 4:12 PM
PMTIAQEPKFUZSK7HGDHGLFXNXOPVDTZV35JS7COVEKPVIPS7LUIAC

Dependencies

  • [2] 2GUAKGTB Fix indentation of build.tt
  • [3] 6KIJX24R Get rid of unnecessary [%- and -%] tags
  • [4] VVDQKVNL
  • [5] TPSX6J6W Show links on products of type "doc"
  • [6] JFZNAYJX * Showing releases.
  • [7] D5QIOJGP * Move everything up one directory.
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] IK53RV4V
  • [*] 4WZQW2N6 Fix indentation and get rid of some unnecessary whitespace in the output
  • [*] JLDUSNUO * Unify rendering of finished and scheduled builds.
  • [*] H7CNGK4O * Log evaluation errors etc. in the DB.

Change contents

  • edit in src/root/build.tt at line 345
    [2.9528]
    [2.10274]
    [% chartsURL = c.uri_for('/job' build.project.name build.jobset.name build.job.name) _ "#tabs-charts" %]
    [% IF build.finished && build.closuresize %]
    <tr>
    <th>Closure size:</th>
    <td>[% mibs(build.closuresize / (1024 * 1024)) %] MiB
    (<a href="[%chartsURL%]">history</a>)</td>
    </tr>
    [% END %]
    [% IF build.finished && build.closuresize %]
    <tr>
    <th>Output size:</th>
    <td>[% mibs(build.size / (1024 * 1024)) %] MiB
    (<a href="[%chartsURL%]">history</a>)</td>
    </tr>
    [% END %]
  • edit in src/root/common.tt at line 5
    [11.35]
    [12.695]
  • edit in src/root/common.tt at line 7
    [12.696]
    [13.5204]
    USE mibs=format("%.2f");
  • edit in src/root/common.tt at line 9
    [13.5205]
    [11.413]
  • edit in src/root/product-list.tt at line 1
    [3.3098][3.0:31]()
    [% USE mibs=format("%.2f") %]