Minor style changes

[?]
Nov 29, 2011, 5:08 PM
JXPHAZMVKLQZ6NHALF3IH4EP34ZGP7QW75OMUTAJYK4YGU3FRGOAC

Dependencies

  • [2] UMFB2767 Hydra/64: Leaving number of builds empty gives DBIx error
  • [3] 6QRHXIM3 * Speed up the jobset index page. Especially the query to get the
  • [4] AKAXJDMW * Disable the statistics on the project, jobset and job pages for now
  • [5] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [6] 3HZY24CX * Make jobsets viewable under
  • [7] 6ABZ4GQY * hydra: alphabetical order of systems in status overview
  • [8] ZI535LI6 * hydra: 'new' UI for project/jobset/job/build

Change contents

  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 38
    [3.258][3.258:409]()
    \("exists (select 1 from builds where project = '$projectName' and jobset = '$jobsetName' and job = me.name and isCurrent = 1) as active")
    [3.258]
    [3.409]
    \ ("exists (select 1 from builds where project = '$projectName' and jobset = '$jobsetName' and job = me.name and isCurrent = 1) as active")
  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 53
    [2.5][3.0:146](),[3.843][3.0:146]()
    $c->stash->{systems} = [$c->stash->{jobset}->builds->search({iscurrent => 1}, {select => ["system"], distinct => 1, order_by => "system" })];
    [2.5]
    [2.6]
    $c->stash->{systems} =
    [ $c->stash->{jobset}->builds->search({ iscurrent => 1 }, { select => ["system"], distinct => 1, order_by => "system" }) ];
  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 82
    [2.11][3.1315:1344](),[3.1315][3.1315:1344]()
    # last builds for jobset
    [2.11]
    [3.1344]
    # Last builds for jobset.
  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 84
    [3.1387][3.1387:1528]()
    $c->stash->{lastBuilds} = [joinWithResultInfo($c, $tmp)
    ->search({finished => 1}, {order_by => "timestamp DESC", rows => 5 })] ;
    [3.1387]
    [3.819]
    $c->stash->{lastBuilds} =
    [ joinWithResultInfo($c, $tmp)->search({ finished => 1 }, { order_by => "timestamp DESC", rows => 5 }) ];