On the build page, show how many aggregate constituents failed

[?]
Aug 15, 2013, 12:17 AM
HN3V252LIH47SV655UM22DJUWEXVFAT265A7AGKLG6W73E3FE3ZAC

Dependencies

  • [2] M6WGSGNM Don't show duration of unfinished builds
  • [3] JJHVQGEL Show aggregate members
  • [4] K22TMPH5 Make the info tables less compressed
  • [5] R6B5CAFF Let Builds.timestamp refer to the time the build was added
  • [6] 2GUAKGTB Fix indentation of build.tt
  • [7] FU4GO5VN On build pages, provide a link to the build's first eval
  • [8] Z6MDQIGO * A quick (non-Web 2.0) interface to manually add builds to a release.
  • [9] 3TZYSSGX built.tt: Handle the case where the original build is not known
  • [10] 3PNG7NIB Remove trailing whitespace
  • [11] A52HEFHQ * Allow builds to be restarted (if they failed with a transient error,
  • [12] CAFO4ATE Always show the build duration (using the cached build if necessary)
  • [13] MMJYE535 Also show number of evaluations of which a build is a part
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [*] PMNWRTGJ Add multiple output support

Change contents

  • edit in src/root/build.tt at line 10
    [16.6589]
    [17.11433]
    [% isAggregate = build.members_ ? 1 : 0 %]
  • replacement in src/root/build.tt at line 72
    [4.1610][3.82:179]()
    [% IF build.members_ %]<li><a href="#tabs-members" data-toggle="tab">Members</a></li>[% END %]
    [4.1610]
    [4.0]
    [% IF isAggregate %]<li><a href="#tabs-constituents" data-toggle="tab">Constituents</a></li>[% END %]
  • replacement in src/root/build.tt at line 119
    [4.2610][4.2610:2679]()
    <td>[% INCLUDE renderStatus build=build icon=0 %]</td>
    [4.2610]
    [4.2679]
    <td>
    [% INCLUDE renderStatus build=build icon=0 %]
    [% IF isAggregate;
    nrMembers = 0;
    nrFinished = 0;
    nrFailedMembers = 0;
    FOREACH b IN build.members_;
    nrMembers = nrMembers + 1;
    IF b.finished; nrFinished = nrFinished + 1; END;
    IF b.finished && b.buildstatus != 0; nrFailedMembers = nrFailedMembers + 1; END;
    END;
    %];
    [%+ IF nrFinished == 0 && nrFailedMembers == 0 %]
    all [% nrMembers %] constituent builds succeeded
    [% ELSE %]
    [% nrFailedMembers %] out of [% nrMembers %] constituent builds failed
    [% IF nrFinished < nrMembers %]
    ([% nrMembers - nrFinished %] still pending)
    [% END %]
    [% END %]
    [% END %]
    </td>
  • replacement in src/root/build.tt at line 172
    [4.3656][2.0:36]()
    [% IF build.finished %]
    [4.3656]
    [4.0]
    [% IF !isAggregate && build.finished %]
  • replacement in src/root/build.tt at line 180
    [2.59][4.3656:3703](),[4.347][4.3656:3703](),[4.3656][4.3656:3703]()
    [% IF log_exists(build.drvpath) %]
    [2.59]
    [4.6492]
    [% IF !isAggregate && log_exists(build.drvpath) %]
  • replacement in src/root/build.tt at line 208
    [4.9948][4.4634:4667]()
    [% IF build.buildproducts %]
    [4.9948]
    [4.1105]
    [% IF build.buildproducts && !isAggregate %]
  • replacement in src/root/build.tt at line 277
    [3.181][3.181:207]()
    [% IF build.members_ %]
    [3.181]
    [4.11259]
    [% IF isAggregate %]
  • replacement in src/root/build.tt at line 279
    [4.11260][3.208:253]()
    <div id="tabs-members" class="tab-pane">
    [4.11260]
    [3.253]
    <div id="tabs-constituents" class="tab-pane">