fixup foreach

[?]
Oct 20, 2021, 4:42 PM
YBLOX35FG6MJSM5LE5FIPOLOKQAJZXKXDKP76FKVXCNUWWZO2ATAC

Dependencies

  • [2] NGNOA7C3 perlcritic: each() called at line 752, column 35. The each function may cause undefined behavior when operating on the hash while iterating. Use a foreach loop over the hash's keys or values instead.
  • [3] 6WRGCITD Enable declarative projects.
  • [4] 34SOPSVF Allow to configure the timeout value for the GitInput plugin in different places.
  • [5] PIRYGQWS GitInput: only convert integer option values to int
  • [6] BCFAS6VO declarative projects: support fully static, declarative configuration
  • [7] K4TJNA56 updateDeclarativeJobset: only set the emailresponsible column when defined (#788)
  • [*] OOQ2D3KC * Refactoring: move fetchInput out of hydra_scheduler into a separate
  • [*] JAH3UPWA Support revision control systems via plugins

Change contents

  • replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 68
    [2.59][2.59:112]()
    my $data = $declSpec->{"inputs"}{$name};
    [2.59]
    [3.0]
    my $data = $declSpec->{"inputs"}->{$name};
  • replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 89
    [2.168][2.168:219]()
    my $spec = $declSpec{$jobsetName};
    [2.168]
    [3.3478]
    my $spec = $declSpec->{$jobsetName};
  • replacement in src/lib/Hydra/Plugin/GitInput.pm at line 122
    [2.266][2.266:311]()
    my $opt_value = $options{$opt_name};
    [2.266]
    [3.0]
    my $opt_value = $options->{$opt_name};