Job page: show queued as well as running builds

[?]
Feb 22, 2013, 11:51 AM
2QISRMJKMVAGTFW3FBHEROD5KV4EQFRJ7U3RBN2H3XBGRZSYMWSQC

Dependencies

  • [2] WGUKOIQZ Fix indentation
  • [3] 777XFGVY Hydra/22: on job page, 'finished builds' shows nothing for old (non-current) jobs
  • [4] CQTN62OH Die tabs die
  • [5] 2PEN43XF Hydra/40: Last 5 builds on job page incorrect
  • [6] G4X5IUYJ Remove default logo, replaced by text for now. Hide template in jobset edit.
  • [7] N4ODPYP7 Job page: Remove channel tab
  • [8] J7EE2XZA Fix a huge performance regression in the jobstatus page
  • [9] MOX7XJ2E Merge the BuildSchedulingInfo table into the Builds table
  • [10] BAN2M7JI hydra: show all running builds on job page, in stead of only showing the 'current' builds that are running
  • [11] HPEG2RHV Merge the BuildResultInfo table into the Builds table
  • [12] FN6V3C7M always show latest 10 builds on job page
  • [13] HQ54SEMS Add more spacing between products
  • [14] ADP54EI4 Fix the spacing around some <h3> headers
  • [15] KIJNIVML Some overriding of bootstrap default css
  • [16] N45RZUQ6 Reduce I/O in build listings by only fetching required columns
  • [17] 3PNG7NIB Remove trailing whitespace
  • [*] DEMSSSB2 * Controller for jobs which inherits all actions in ListBuilds. So
  • [*] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.

Change contents

  • replacement in src/lib/Hydra/Controller/Job.pm at line 32
    [3.329][3.1645:1680]()
    $c->stash->{runningBuilds} = [
    [3.329]
    [3.1888]
    $c->stash->{queuedBuilds} = [
  • replacement in src/lib/Hydra/Controller/Job.pm at line 34
    [3.1930][3.1890:1917]()
    { busy => 1 },
    [3.1930]
    [3.1958]
    { finished => 0 },
  • replacement in src/root/job.tt at line 14
    [2.341][2.341:390]()
    <h2>Latest builds (latest evaluation)</h2>
    [2.341]
    [2.390]
    <h3>Latest builds (latest evaluation)</h3>
  • replacement in src/root/job.tt at line 17
    [2.480][2.480:642]()
    [% IF runningBuilds.size != 0 %]
    <h2>Running builds</h2>
    [% INCLUDE renderBuildList builds=runningBuilds showSchedulingInfo=1 hideResultInfo=1 %]
    [2.480]
    [2.642]
    [% IF queuedBuilds.size != 0 %]
    <h3>Queued builds</h3>
    [% INCLUDE renderBuildList builds=queuedBuilds showSchedulingInfo=1 hideResultInfo=1 %]
  • replacement in src/root/job.tt at line 22
    [2.690][2.690:720]()
    <h2>Last 10 builds</h2>
    [2.690]
    [2.720]
    <h3>Last 10 builds</h3>
  • edit in src/root/static/css/hydra.css at line 16
    [3.741][3.90:119]()
    }
    h3 {
    margin-top: 1em;