Fix 'Can't locate object method "buildstepoutputs"'

[?]
Dec 15, 2015, 10:55 AM
5G5PZ3TXJNUWSXRL3KSPCA4LWTO7VQGVK7EEJGPF3DMGDIFZTXCQC

Dependencies

  • [2] 4IH6RYSG Fix reproduce script
  • [3] OTNJLJHA Sort build steps
  • [4] 3EJABTVV Show build products on aggregates with channels.
  • [5] GNIEG2GC * Disambiguate jobs by jobset name. I.e. jobs with the same name in
  • [6] BYGDNBDF Fix Changes section on build page. Now shows the changes of the first evaluation a build was part of compared to the previous one. Also separated previous builds from the changes section, as that was confusing sometimes.
  • [7] ZH6B56XR Try harder to find build logs
  • [8] MMJYE535 Also show number of evaluations of which a build is a part
  • [9] 2T3XCADO Build.pm: Don't get isChannel using buildproducts.
  • [10] TPNHTE5V Remove obsolete Builds columns and provide accurate "Running builds"
  • [11] UYWFRWQ6 Sort constituents by job name
  • [12] HB3OHPJL hydra: in case of cached build, add link to build that built the storepath
  • [13] FU4GO5VN On build pages, provide a link to the build's first eval
  • [14] LBNVQXUB * Build the /build stuff in a separate controller.
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.

Change contents

  • replacement in src/lib/Hydra/Controller/Build.pm at line 97
    [4.57][4.0:100]()
    ($c->stash->{nrEvals}) = $c->stash->{build}->jobsetevals->search({ hasnewbuilds => 1 })->count;
    [4.57]
    [2.0]
    ($c->stash->{nrEvals}) = $build->jobsetevals->search({ hasnewbuilds => 1 })->count;
  • replacement in src/lib/Hydra/Controller/Build.pm at line 110
    [4.60][4.60:164]()
    $c->stash->{constituents} = [$c->stash->{build}->constituents_->search({}, {order_by => ["job"]})];
    [4.60]
    [4.1111]
    $c->stash->{constituents} = [$build->constituents_->search({}, {order_by => ["job"]})];
    $c->stash->{steps} = [$build->buildsteps->search({}, {order_by => "stepnr desc"})];
  • edit in src/root/build.tt at line 9
    [4.1998][3.0:50]()
    steps = build.buildsteps.nsort('stepnr').reverse;