Allow dots in jobset names (like "release-13.09")

[?]
Sep 24, 2013, 1:15 PM
HNUZZHS4I762NGDMXOSQFPMU5BEKCFYFG64F6CJGXFOIZVTLDACQC

Dependencies

  • [2] LZVO64YG Merge in the first bits of the API work
  • [3] HQGXL4MX Add validation for project and jobset names
  • [4] 4KLYYXWW Allow dashes in attrNames
  • [5] PCKLFRT5 Support push notification of repository changes
  • [6] XJRJ4J7M Add user registration
  • [7] CS7T2XFI
  • [8] RSEGBU6C Hydra/20: Jobset clone feature
  • [*] 3HZY24CX * Make jobsets viewable under
  • [*] LBNVQXUB * Build the /build stuff in a separate controller.

Change contents

  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 369
    [2.14123][3.159:261](),[3.159][3.159:261]()
    error($c, "Invalid jobset name: $newJobsetName") unless $newJobsetName =~ /^[[:alpha:]][\w\-]*$/;
    [2.14123]
    [3.594]
    error($c, "Invalid jobset name: $newJobsetName") if $newJobsetName !~ /^$jobsetNameRE$/;
  • replacement in src/lib/Hydra/Helper/CatalystUtils.pm at line 218
    [3.1886][3.1886:1948]()
    Readonly our $jobsetNameRE => "(?:[A-Za-z_][A-Za-z0-9-_]*)";
    [3.1886]
    [3.1948]
    Readonly our $jobsetNameRE => "(?:[A-Za-z_][A-Za-z0-9-_\.]*)";