Use inputTypes from plugins to determine valid input types

[?]
Jul 29, 2013, 9:42 PM
ZCTQCN3EQDFYIKRKM3SJIGLTZ6QVKNPCIR3V6CRZ3W4PP2V2YQ2AC

Dependencies

  • [2] LZVO64YG Merge in the first bits of the API work
  • [3] UMFB2767 Hydra/64: Leaving number of builds empty gives DBIx error
  • [4] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [*] 3HZY24CX * Make jobsets viewable under

Change contents

  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 331
    [2.13176][2.13176:13582]()
    error($c, "Invalid input type: $inputType") unless
    $inputType eq "svn" || $inputType eq "svn-checkout" || $inputType eq "hg" || $inputType eq "tarball" ||
    $inputType eq "string" || $inputType eq "path" || $inputType eq "boolean" || $inputType eq "bzr" || $inputType eq "bzr-checkout" ||
    $inputType eq "git" || $inputType eq "build" || $inputType eq "sysbuild" ;
    [2.13176]
    [3.186]
    error($c, "Invalid input type: $inputType") unless defined $c->stash->{inputTypes}->{$inputType};