LatestSucceededForJob{,set}: Filter with jobset_id

[?]
Feb 5, 2020, 10:02 PM
MMBKNEQBZPMWFPMZ7F77ZRURR5WWX6ONNTJBYBNUQKA2GB5MXYPAC

Dependencies

  • [2] G2WXEQHE Remove the Errors page
  • [3] VU2OLHD2 Move most of AddBuilds to hydra-eval-jobset
  • [4] UWVMQIAC * Refactoring.
  • [5] UEMB7PTH Add option eval_substituter
  • [6] RI4S7SYT * Job status: show the active jobs.
  • [7] DEMSSSB2 * Controller for jobs which inherits all actions in ListBuilds. So
  • [8] 3HZY24CX * Make jobsets viewable under
  • [9] L2E6EVE2 * Merged the Build and Job tables.
  • [10] JM3DPYOM generated schema with new dbix class schema loader, grrrrrr
  • [11] 7ZSVXUGF sequence fix for postgresql
  • [12] CQQSJLON On aggregate job pages, show a matrix showing all the constituent builds
  • [13] SJN2QPWH * Big speed-up of the job status page and the channel generation (such
  • [14] 75XUS62Y * Added a page to quickly see all failed builds and failed evaluations
  • [15] EVYSAFB2 Transpose the aggregate constituents table
  • [16] VVOAXWH4 fix wrong dbix:class:loader generation
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] N22GPKYT * Put info about logs / build products in the DB.

Change contents

  • replacement in src/lib/Hydra/Controller/Job.pm at line 85
    [2.130][2.130:187]()
    { join => 'aggregateconstituents_constituents',
    [2.130]
    [2.187]
    { join => 'aggregateconstituents_constituents',
  • replacement in src/lib/Hydra/Controller/Job.pm at line 102
    [2.665][2.665:705]()
    $aggregates->{$agg}->{build} =
    [2.665]
    [2.705]
    $aggregates->{$agg}->{build} =
  • replacement in src/lib/Hydra/Controller/Job.pm at line 175
    [4.665][4.665:778]()
    ->search({}, {bind => [$c->stash->{project}->name, $c->stash->{jobset}->name, $c->stash->{job}->name]});
    [4.665]
    [4.799]
    ->search({}, {bind => [$c->stash->{jobset}->name, $c->stash->{job}->name]});
  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 165
    [4.1036][4.1036:1125]()
    ->search({}, {bind => [$c->stash->{project}->name, $c->stash->{jobset}->name]});
    [4.1036]
    [4.1029]
    ->search({}, {bind => [$c->stash->{jobset}->name]});
  • replacement in src/lib/Hydra/Schema/Builds.pm at line 640
    [4.3099][4.3099:3228]()
    makeQueries('ForJobset', "and project = ? and jobset = ?");
    makeQueries('ForJob', "and project = ? and jobset = ? and job = ?");
    [4.3099]
    [4.3228]
    makeQueries('ForJobset', "and jobset_id = (select id from jobsets j where j.name = ?)");
    makeQueries('ForJob', "and jobset_id = (select id from jobsets j where j.name = ?) and job = ?");
  • replacement in src/script/hydra-eval-jobset at line 146
    [3.3346][3.3346:3417]()
    ->search({}, {bind => [$projectName, $jobsetName, $jobName]});
    [3.3346]
    [3.3417]
    ->search({}, {bind => [$jobsetName, $jobName]});