Allow manually scheduling disabled jobsets for evaluation

[?]
May 2, 2013, 3:21 PM
SPHE6E75EP6VKB2B4QHRDJUFEYK4PCKP4AOOY5PEIHZSFMCIZ3RAC

Dependencies

  • [2] 4SFOPTHW Use query_params instead of params
  • [3] 7FGLLQL5 api/push: Don't barf on non-existent jobsets
  • [4] YG6VGK4F "Evaluate" command: push the jobset to the front of the eval queue
  • [5] TLJC6BJ3 Add a menu item for deleting jobsets
  • [6] PCKLFRT5 Support push notification of repository changes
  • [7] OEPUOUNB Using twitter bootstrap for more consistent looks for Hydra
  • [*] BKOIYITR added some json responses
  • [*] QL55ECJ6 - adapted ui for hydra, more in line with nixos.org website

Change contents

  • edit in src/lib/Hydra/Controller/API.pm at line 294
    [5.630]
    [2.92]
    my $force = exists $c->request->query_params->{force};
  • replacement in src/lib/Hydra/Controller/API.pm at line 299
    [3.61][3.61:147]()
    next unless defined $jobset && $jobset->project->enabled && $jobset->enabled;
    [3.61]
    [5.955]
    next unless defined $jobset && ($force || ($jobset->project->enabled && $jobset->enabled));
  • replacement in src/root/topbar.tt at line 86
    [4.274][4.274:377]()
    $.post("[% c.uri_for('/api/push', { jobsets = project.name _ ':' _ jobset.name }) %]")
    [4.274]
    [4.377]
    $.post("[% c.uri_for('/api/push', { jobsets = project.name _ ':' _ jobset.name, force = "1" }) %]")