Remove the job status pages

[?]
Aug 28, 2013, 1:17 PM
GIWHL67VPEW5NQ6HVIUSVKBHRQKVJCZBJJMQNMQAIOAB53UK76CQC

Dependencies

  • [2] NRSKJPP4 makeLink -> menuItem
  • [3] Q4VDOA76 Replace last 5 builds on jobset page with last 5 evaluations. Moved hide/unhide and evaluate options to jobset topmenu.
  • [4] DEMSSSB2 * Controller for jobs which inherits all actions in ListBuilds. So
  • [5] 2DTJNAMX Allow project members to create jobsets, regression introduced by bootstrap make-over. Currently all logged in users see these options, however, only on performing the action the privileges are checked. Need to change that in the future.
  • [6] ZD5AEKWM * Job status / error pages: show only active jobs.
  • [7] 4JS4DWHD All/recent builds -> Latest builds
  • [8] LKPVSUCI Builds page: Remove redundant tab titles
  • [9] GEL2WHSU Move channel link to top menu of Project and Jobset.
  • [10] 3EGKZC3C hydra: in jobstatus pages, allow maintainer query argument to show only the packages you are maintaining
  • [11] RI4S7SYT * Job status: show the active jobs.
  • [12] FAUCW4NH Remove project/jobset/job/build id from the navbar
  • [13] FPK5LF53 * Put the project-related actions in a separate controller. Put the
  • [14] HU5DPGCV There is only one channel, so drop the "(latest)" suffix
  • [15] SJN2QPWH * Big speed-up of the job status page and the channel generation (such
  • [16] 75XUS62Y * Added a page to quickly see all failed builds and failed evaluations
  • [17] LZVO64YG Merge in the first bits of the API work
  • [18] OEPUOUNB Using twitter bootstrap for more consistent looks for Hydra
  • [19] QL55ECJ6 - adapted ui for hydra, more in line with nixos.org website

Change contents

  • replacement in src/lib/Hydra/Base/Controller/ListBuilds.pm at line 26
    [3.351][3.167:249](),[3.167][3.167:249](),[3.249][3.0:44](),[3.44][3.352:416](),[3.416][3.0:2](),[3.63][3.0:2]()
    sub jobstatus : Chained('get_builds') PathPart Args(0) {
    my ($self, $c) = @_;
    $c->stash->{template} = 'jobstatus.tt';
    $c->stash->{latestBuilds} = [getJobStatus($self, $c)->all];
    }
    [3.167]
    [3.2]
    #sub jobstatus : Chained('get_builds') PathPart Args(0) {
    # my ($self, $c) = @_;
    # $c->stash->{template} = 'jobstatus.tt';
    # $c->stash->{latestBuilds} = [getJobStatus($self, $c)->all];
    #}
  • edit in src/lib/Hydra/Base/Controller/ListBuilds.pm at line 33
    [3.4][3.2:3]()
  • edit in src/root/topbar.tt at line 42
    [3.209][3.11637:11768](),[3.11637][3.11637:11768]()
    [% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('jobstatus'), [project.name]) title = "Job status" %]
  • edit in src/root/topbar.tt at line 66
    [3.245][2.206:232](),[2.232][3.12848:12981](),[3.12848][3.12848:12981]()
    [% INCLUDE menuItem
    uri = c.uri_for(c.controller('Jobset').action_for('jobstatus'), [project.name, jobset.name])
    title = "Job status" %]
  • edit in src/root/topbar.tt at line 111
    [2.340][3.13874:14014](),[3.13874][3.13874:14014](),[3.14014][2.341:367]()
    uri = c.uri_for(c.controller('Job').action_for('jobstatus'), [project.name, jobset.name, job.name])
    title = "Job status" %]
    [% INCLUDE menuItem