Remove obsolete JobStatus source
[?]
Oct 3, 2013, 1:05 PM
MESO2HDVD2JAL7S2YTKTO5LOCW6LNJY5PCIBRJVUSMZ6RL5LLZBACDependencies
- [2]
2FT4LEIPRemove unused ActiveJobs source - [3]
L7RW467ZAdd a test for darcs inputs. - [4]
2JQ7WEFM - [5]
ZI535LI6* hydra: 'new' UI for project/jobset/job/build - [6]
R2PON6R7Allow non-admin users to see the machine status page - [7]
SZYY2EQQ* Make the queries more readable. - [8]
3PNG7NIBRemove trailing whitespace - [9]
3HEMN2Q2* Speed up the jobstatus query a little bit. - [10]
HPEG2RHVMerge the BuildResultInfo table into the Builds table - [11]
C5XKS77Nhydra: added missing fields to query - [12]
FPK5LF53* Put the project-related actions in a separate controller. Put the - [13]
6FRLEP4Pfirst try for timeline of last 24 hours in hydra - [14]
AK66K4KYFix the test - [15]
YDW2NUIWFix "make check" - [16]
P43FHUUVthere are 43 tests - [17]
E7FID72SRemove the BuildMachines and BuildMachinesSystemTypes tables - [18]
VVOAXWH4fix wrong dbix:class:loader generation - [19]
WZ7PXAITDoh - [20]
RI4S7SYT* Job status: show the active jobs. - [21]
EFWN7JBV* Added a status page that shows all the currently executing build steps. - [22]
Z4KRJX4Q* In the last succeeded / job status queries, use the Builds.isCurrent - [23]
JSG5QEZJ* Only show status changes from successful to failed and failed to - [24]
3HZY24CX* Make jobsets viewable under - [25]
MOX7XJ2EMerge the BuildSchedulingInfo table into the Builds table - [26]
5SMQ2PLKFix tests - [27]
4HPT4SDDRevert "Remove now-unused SystemTypes table" - [28]
SJN2QPWH* Big speed-up of the job status page and the channel generation (such - [29]
JD7AWXQGRemove now-unused SystemTypes table - [30]
G2WXEQHERemove the Errors page - [31]
FANTYCR7Materialize the number of finished builds - [32]
OZ5UBJEK - [33]
Q5HZWFCYAdd support for darcs repositories. - [34]
75XUS62Y* Added a page to quickly see all failed builds and failed evaluations - [35]
3XM2QEGWFix query-all-tables test count, there are more tables now - [36]
G2ZB6464first test, not yet in buildprocess - [37]
S5NPXZG3Fix indentation - [38]
DES4PSRLadd basic query tests for JobStatus/LatestSucceeded/ActiveJobs - [39]
D6EL7KR6Fix broken test - [40]
JM3DPYOMgenerated schema with new dbix class schema loader, grrrrrr - [41]
UWVMQIAC* Refactoring. - [42]
FDHQ2OLBForgot to commit - [43]
DEMSSSB2* Controller for jobs which inherits all actions in ListBuilds. So - [44]
AKAZKCR6* At top-level and for each project, provide two channels: "latest" - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- edit in src/lib/Hydra/Controller/Job.pm at line 74
$c->stash->{jobStatus} = $c->model('DB')->resultset('JobStatusForJob')->search({}, {bind => [$c->stash->{project}->name, $c->stash->{jobset}->name, $c->stash->{job}->name]}); - edit in src/lib/Hydra/Controller/Jobset.pm at line 186
$c->stash->{jobStatus} = $c->model('DB')->resultset('JobStatusForJobset')->search({}, {bind => [$c->stash->{project}->name, $c->stash->{jobset}->name]}); - edit in src/lib/Hydra/Controller/Project.pm at line 205
$c->stash->{jobStatus} = $c->model('DB')->resultset('JobStatusForProject')->search({}, {bind => [$c->stash->{project}->name]}); - edit in src/lib/Hydra/Controller/Root.pm at line 153
$c->stash->{jobStatus} = $c->model('DB')->resultset('JobStatus'); - edit in src/lib/Hydra/Schema/Builds.pm at line 578[4.732]→[4.408:553](∅→∅),[4.408]→[4.408:553](∅→∅),[4.553]→[4.6863:6941](∅→∅),[4.6941]→[4.862:877](∅→∅),[4.862]→[4.862:877](∅→∅),[4.877]→[4.2619:2639](∅→∅),[4.2639]→[4.6942:6989](∅→∅),[4.323]→[4.6942:6989](∅→∅),[4.6989]→[4.2640:2814](∅→∅),[4.2814]→[4.545:603](∅→∅),[4.545]→[4.545:603](∅→∅),[4.302]→[4.733:777](∅→∅),[4.603]→[4.733:777](∅→∅),[4.10076]→[4.733:777](∅→∅),[4.941]→[4.733:777](∅→∅),[4.777]→[4.604:663](∅→∅),[4.663]→[4.6990:7417](∅→∅),[4.7417]→[4.1122:1135](∅→∅),[4.1122]→[4.1122:1135](∅→∅)
makeSource("JobStatus$name",# Urgh, can't use "*" in the "select" here because of the status change join.<<QUERYselect x.*, b.id as statusChangeId, b.timestamp as statusChangeTimefrom(select(select max(b.id) from Builds bwhereproject = activeJobs.project and jobset = activeJobs.jobsetand job = activeJobs.job and system = activeJobs.systemand finished = 1) as idfrom $activeJobs as activeJobs) as latestjoin Builds x using (id)left join Builds b onb.id =(select max(c.id) from Builds cwherec.finished = 1 andx.project = c.project and x.jobset = c.jobset and x.job = c.job and x.system = c.system andx.id > c.id and((x.buildStatus = 0 and c.buildStatus != 0) or(x.buildStatus != 0 and c.buildStatus = 0)))QUERY); - replacement in tests/query-all-tables.pl at line 10
use Test::Simple tests => 42;use Test::Simple tests => 38; - replacement in tests/query-all-tables.pl at line 16
} elsif( $source !~ m/^(LatestSucceeded|JobStatus)/) {} elsif( $source !~ m/^LatestSucceeded/) {