make changes section more compact/readable

[?]
Jan 14, 2011, 8:11 AM
22JB5HNESA5OX5ABFISGCJCO6R7GF3AUTXDHGAT3PM7IDVIBKWWAC

Dependencies

  • [2] KIU4NFD4 hydra: wrong order in diff between last succesful build and first broken build
  • [3] SMCOU72F hydra: add some admin for adding/enabling/etc build machines
  • [4] TW5ZQX5Z * Move up the build products in the builds page, since they're more
  • [5] ZI535LI6 * hydra: 'new' UI for project/jobset/job/build
  • [6] XHK7IGYI * hdyra: show last succeeded build and changes since on build status summary if build has failed
  • [7] X5OIC5FF * hydra: ui bug
  • [8] 2M7J26V4 inital version of links to diff in scm
  • [9] Z4E37VQW remove useless url in changes overview
  • [10] CEARA7OH * hydra: show running buildsteps on build page
  • [11] LUPEGYR7 Hydra: In case of failure, also show changes between last succesful build and the first failed build after this
  • [12] KAZWI5G4 * hydra: buildpage, show changes since last build/successful build
  • [13] 2B63JW6F * hydra: changes in list in stead of table, also showing changes of changed 'build output' inputs
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] IK53RV4V

Change contents

  • edit in src/root/build.tt at line 186
    [4.6891][4.596:977](),[4.977][2.0:99](),[2.99][4.1076:1142](),[4.1076][4.1076:1142]()
    [% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %]
    <h2>Changes</h2>
    <p>
    Build [% INCLUDE renderFullBuildLink build=firstBrokenBuild %] is the first build failure after the previous successful build of this job. The changes that might have caused the failure are:
    </p>
    [% INCLUDE renderInputDiff build1=prevSuccessfulBuild , build2=firstBrokenBuild %]
    <br />
    <p/>
    [% END %]
  • replacement in src/root/build.tt at line 188
    [4.205][4.205:554](),[4.554][4.0:44]()
    <h2>Changes</h2>
    <p>
    The previous successful build of this job was [% INCLUDE renderFullBuildLink build=prevSuccessfulBuild %]. The
    following changes were made since:
    </p>
    [% INCLUDE renderInputDiff build2=build , build1=prevSuccessfulBuild %]
    <br />
    <p/>
    [4.205]
    [4.554]
    <h2>Changes</h2>
    <table>
    <thead>
    <th>Last successful build</th>
    [% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %]<th>First broken build</th>[% END %]
    <th>Current build</th>
    </thead>
    <tr>
    <td valign="center">[% INCLUDE renderBuildStatusIcon build=prevSuccessfulBuild size=32 %] [% INCLUDE renderFullBuildLink build=prevSuccessfulBuild %]</td>
    [% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %]<td valign="center">[% INCLUDE renderBuildStatusIcon build=firstBrokenBuild size=32 %] [% INCLUDE renderFullBuildLink build=firstBrokenBuild %]</td>[% END %]
    <td>[% INCLUDE renderBuildStatusIcon build=build size=32 %] [% INCLUDE renderFullBuildLink build=build %]</td>
    </tr>
    <tr>
    <td></td>
    [% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %]<td>[% INCLUDE renderInputDiff build1=prevSuccessfulBuild , build2=firstBrokenBuild %]</td>[% END %]
    <td>[% INCLUDE renderInputDiff build1=prevSuccessfulBuild , build2=build %]</td>
    </tr>
    </table>
  • edit in src/root/common.tt at line 280
    [4.1836]
    [4.1836]
    [% ELSIF input.type == "string" || input.type == "boolean" %]
    <tt>"[% input.value %]"</tt>
    [% ELSE %]
    <tt>[% input.uri %][% IF input.revision %] (r. [% input.revision %])[% END %]</tt>
    [% END %]
    [% END %]
    [% BLOCK renderShortInputValue %]
    [% IF input.type == "build" || input.type == "sysbuild" %]
    <a href="[% c.uri_for('/build' build.id) %]">[% build.id %]</a>
  • replacement in src/root/common.tt at line 324
    [4.143][4.122:279]()
    <tr><td><b>[% bi1.name %]</b></td><td>[% INCLUDE renderInputValue input=bi1 %] to [% INCLUDE renderInputValue input=bi2 %]</td></tr>
    [4.143]
    [4.284]
    <tr><td><b>[% bi1.name %]</b></td><td><tt>[% INCLUDE renderShortInputValue input=bi1 %] to [% INCLUDE renderShortInputValue input=bi2 %]</tt></td></tr>
  • edit in src/root/common.tt at line 326
    [4.367]
    [4.280]
    [% IF bi1.type == "git" %]
  • replacement in src/root/common.tt at line 328
    [4.313][4.571:741]()
    <b>[% bi1.name %]</b></td><td><tt>[% INCLUDE renderDiffUri contents=('Revision changed from ' _ bi1.revision _ ' to ' _ bi2.revision) %]</tt>
    [4.313]
    [4.449]
    <b>[% bi1.name %]</b></td><td><tt>[% INCLUDE renderDiffUri contents=(bi1.revision.substr(0, 6) _ ' to ' _ bi2.revision.substr(0, 6)) %]</tt>
  • edit in src/root/common.tt at line 330
    [4.484]
    [4.555]
    [% ELSE %]
    <tr><td>
    <b>[% bi1.name %]</b></td><td><tt>[% INCLUDE renderDiffUri contents=(bi1.revision _ ' to ' _ bi2.revision) %]</tt>
    </td></tr>
    [% END %]
  • replacement in src/root/common.tt at line 337
    [4.518][4.518:661]()
    <b>[% bi1.name %]</b></td><td>[% INCLUDE renderInputValue input=bi1 %] to [% INCLUDE renderInputValue input=bi2 %]
    [4.518]
    [4.815]
    <b>[% bi1.name %]</b></td><td><tt>[% INCLUDE renderShortInputValue input=bi1 %] to [% INCLUDE renderShortInputValue input=bi2 %]</tt>
  • edit in src/root/common.tt at line 378
    [3.11897]
    [% BLOCK buildsGraph %]
    [% END %]