Disable channels on binary cached based Hydra instances

[?]
Mar 2, 2016, 2:08 PM
IT5AXPY2VAG2ECQN23UROQCTC4AUN7ZMCBVJC3ZK2CT4MSFSKVUAC

Dependencies

  • [2] TX7Q4RAS Add page showing latest build steps
  • [*] LBNVQXUB * Build the /build stuff in a separate controller.
  • [*] PMNWRTGJ Add multiple output support
  • [*] OD5FSS5A * Quick hack to allow viewing of dependency graphs (via nix-store -q
  • [*] DEMSSSB2 * Controller for jobs which inherits all actions in ListBuilds. So
  • [*] UWVMQIAC * Refactoring.
  • [*] 3HZY24CX * Make jobsets viewable under
  • [*] RI4S7SYT * Job status: show the active jobs.
  • [*] U4TD3AIQ Add support for viewing jobset evaluations
  • [*] T273UOB7 Support obtaining the contents of an evaluation as a channel
  • [*] FPK5LF53 * Put the project-related actions in a separate controller. Put the
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] CS7T2XFI
  • [*] AFNDUSGD Set Expires headers for Hydra's binary cache

Change contents

  • edit in src/lib/Hydra/Controller/Build.pm at line 441
    [5.2550]
    [6.1010]
    requireLocalStore($c);
  • edit in src/lib/Hydra/Controller/Job.pm at line 133
    [7.685]
    [8.364]
    requireLocalStore($c);
  • edit in src/lib/Hydra/Controller/Jobset.pm at line 151
    [9.963]
    [10.477]
    requireLocalStore($c);
  • edit in src/lib/Hydra/Controller/JobsetEval.pm at line 225
    [12.191]
    [12.191]
    requireLocalStore($c);
  • edit in src/lib/Hydra/Controller/Project.pm at line 164
    [13.9307]
    [8.975]
    requireLocalStore($c);
  • edit in src/lib/Hydra/Controller/Root.pm at line 169
    [13.9596]
    [13.9596]
    requireLocalStore($c);
  • edit in src/lib/Hydra/Helper/CatalystUtils.pm at line 28
    [2.662]
    [15.180]
    requireLocalStore
  • edit in src/lib/Hydra/Helper/CatalystUtils.pm at line 344
    [2.883]
    [16.311]
    }
    sub requireLocalStore {
    my ($c) = @_;
    notFound($c, "Nix channels are not supported by this Hydra server.")
    if ($c->config->{store_mode} // "direct") ne "direct";