Make cloning of jobsets work again.

[?]
Jul 14, 2015, 7:39 AM
DGHAIZTOPYJCEG7MRADPTCNX2NPS75IWGWHSPHCWAW4BYATCPH2QC

Dependencies

  • [2] 77BG3TYK Use c.req.captures
  • [3] UQA4FMUA Allow a jobset to be created from an evaluation
  • [4] 4NTIBJ74 Implement DELETE for jobsets and use it in the web interface
  • [5] TQVKZQUG Use the REST API in the web interface for editing jobsets
  • [6] ZFEN2MAO Simplify jobset cloning
  • [7] OX6NYJDV Split viewing and editing a jobset
  • [8] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [9] GEADFVZ5 hydra-queue-runner: Improved scheduling
  • [*] 3HZY24CX * Make jobsets viewable under

Change contents

  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 165
    [4.46][4.678:705](),[4.678][4.678:705]()
    $c->stash->{edit} = 1;
    [4.46]
    [3.0]
    $c->stash->{edit} = !defined $c->stash->{params}->{cloneJobset};
  • replacement in src/root/jobset.tt at line 54
    [4.905][2.149:295]()
    [% INCLUDE menuItem title="Clone this jobset" uri=c.uri_for(c.controller('Jobset').action_for('edit'), c.req.captures, { clone => 1 }) %]
    [4.905]
    [4.1020]
    [% INCLUDE menuItem title="Clone this jobset" uri=c.uri_for(c.controller('Jobset').action_for('edit'), c.req.captures, { cloneJobset => 1 }) %]