Join to builds via jobset_id when easy

[?]
Jun 1, 2021, 3:16 PM
DF2M3RPSHTVOH67M3NX3X7DZNQXCKP7T2LPC2KAO3RQYFCFCAB3AC

Dependencies

  • [2] ZQUPXSBM Tie custom channels into channel-contents.tt.
  • [3] NZXX6PLD Remove the Jobs table
  • [4] LUPEGYR7 Hydra: In case of failure, also show changes between last succesful build and the first failed build after this
  • [5] 3PNG7NIB Remove trailing whitespace
  • [6] JLGDA7AM Channel.pm: Actually deliver channel expressions.
  • [7] HPEG2RHV Merge the BuildResultInfo table into the Builds table
  • [8] KAZWI5G4 * hydra: buildpage, show changes since last build/successful build
  • [9] PMNWRTGJ Add multiple output support
  • [10] VBWHG272 Re-add the history tab (store size and build time), now as lazy-loaded tab on build page.
  • [11] JAUTUNGI bug fix
  • [12] 6HWIUOSU Avoid fetching Projects/Jobsets just to get the name column
  • [13] 2R7GHSA4 * hydra: added initial version of build graph
  • [14] O5DYTVGA Add jobset/job menus on buid log pages
  • [15] VU2OLHD2 Move most of AddBuilds to hydra-eval-jobset
  • [*] LBNVQXUB * Build the /build stuff in a separate controller.
  • [*] N22GPKYT * Put info about logs / build products in the DB.

Change contents

  • replacement in src/lib/Hydra/Controller/Build.pm at line 86
    [4.3246][4.348:400](),[4.348][4.348:400](),[4.400][4.103:153]()
    { project => $c->stash->{project}->name
    , jobset => $c->stash->{jobset}->name
    [4.3246]
    [3.0]
    { jobset_id => $c->stash->{jobset}->id
  • replacement in src/lib/Hydra/Controller/Channel.pm at line 25
    [2.731][2.731:797]()
    , project => $projectName
    , jobset => $jobsetName
    [2.731]
    [2.797]
    , jobset_id => $c->stash->{jobset}->id,
  • replacement in src/lib/Hydra/Helper/CatalystUtils.pm at line 67
    [4.366][4.356:452]()
    , project => $build->get_column('project')
    , jobset => $build->get_column('jobset')
    [4.366]
    [4.452]
    , jobset_id => $build->get_column('jobset_id')
  • replacement in src/lib/Hydra/Helper/CatalystUtils.pm at line 83
    [4.855][4.494:590]()
    , project => $build->get_column('project')
    , jobset => $build->get_column('jobset')
    [4.855]
    [4.590]
    , jobset_id => $build->get_column('jobset_id')
  • replacement in src/script/hydra-eval-jobset at line 429
    [4.14661][4.1664:1767]()
    { project => $jobset->get_column('project'), jobset => $jobset->name, job => $jobName,
    [4.14661]
    [4.14756]
    { jobset_id => $jobset->get_column('id'), job => $jobName,