Builds: LatestSucceeded*: remove project, jobset references
[?]
Jan 9, 2022, 2:46 PM
VRVS4K6XIYJH6Y5ZB42CXI2ULQMIUDMETFSZGT77NIA4HVNIHCTQCDependencies
- [2]
VGUFW62Fschema/Builds: use jobset_id instead of jobset name matches - [3]
HPEG2RHVMerge the BuildResultInfo table into the Builds table - [4]
MMBKNEQBLatestSucceededForJob{,set}: Filter with jobset_id - [5]
3PNG7NIBRemove trailing whitespace - [6]
L2E6EVE2* Merged the Build and Job tables. - [7]
Z4KRJX4Q* In the last succeeded / job status queries, use the Builds.isCurrent - [8]
SZYY2EQQ* Make the queries more readable. - [9]
MOX7XJ2EMerge the BuildSchedulingInfo table into the Builds table - [10]
SJN2QPWH* Big speed-up of the job status page and the channel generation (such - [11]
7ZSVXUGFsequence fix for postgresql - [12]
MESO2HDVRemove obsolete JobStatus source - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- replacement in src/lib/Hydra/Schema/Result/Builds.pm at line 541
my $activeJobs = "(select distinct project, jobset, job, system from Builds where isCurrent = 1 $constraint)";my $activeJobs = "(select distinct jobset_id, job, system from Builds where isCurrent = 1 $constraint)"; - replacement in src/lib/Hydra/Schema/Result/Builds.pm at line 551
project = activeJobs.project and jobset = activeJobs.jobsetjobset_id = activeJobs.jobset_id - replacement in src/lib/Hydra/Schema/Result/Builds.pm at line 563
makeQueries('ForProject', "and project = ?");makeQueries('ForProject', "and jobset_id in (select id from jobsets j where j.project = ?)");