Job: $b -> $build (perlcritic)

[?]
Aug 21, 2021, 1:26 AM
6BXI6G6KS3T7EHAE6AKO43ECFQZQLDISH5BELNTDOXKGZGWINCOQC

Dependencies

  • [2] NZXX6PLD Remove the Jobs table
  • [3] EVYSAFB2 Transpose the aggregate constituents table
  • [4] G2WXEQHE Remove the Errors page
  • [5] CQQSJLON On aggregate job pages, show a matrix showing all the constituent builds
  • [*] DEMSSSB2 * Controller for jobs which inherits all actions in ListBuilds. So

Change contents

  • replacement in src/lib/Hydra/Controller/Job.pm at line 124
    [3.607][3.607:643](),[3.643][2.656:736](),[2.736][3.491:579](),[3.491][3.491:579](),[3.579][2.737:776]()
    foreach my $b (@constituents) {
    $aggregates->{$b->get_column('aggregate')}->{constituents}->{$b->job} =
    { id => $b->id, finished => $b->finished, buildstatus => $b->buildstatus };
    $constituentJobs{$b->job} = 1;
    [3.607]
    [3.199]
    foreach my $build (@constituents) {
    $aggregates->{$build->get_column('aggregate')}->{constituents}->{$build->job} =
    { id => $build->id, finished => $build->finished, buildstatus => $build->buildstatus };
    $constituentJobs{$build->job} = 1;