* Make the "latest succeeded" query (used by the "latest" channel)
[?]
Feb 12, 2010, 2:49 PM
2I2ZX6JBPIM5D57G52MGHKUD66CJMOYAYNYN6CSHNUHAFA46A5YQCDependencies
- [2]
E2TOU3L6* More indices. - [3]
SZYY2EQQ* Make the queries more readable. - [4]
7UJ5YV4V* Provide a channel for each project containing all the latest - [5]
6QRHXIM3* Speed up the jobset index page. Especially the query to get the - [6]
Z4KRJX4Q* In the last succeeded / job status queries, use the Builds.isCurrent - [7]
SJN2QPWH* Big speed-up of the job status page and the channel generation (such - [8]
2QA4Y4G3* hydra: added index, actual build time (buildstep with same outpath, so without deps) of the build - [9]
KN3VYE5P* Cleaned up the foreign key constraints. - [10]
ZI535LI6* hydra: 'new' UI for project/jobset/job/build - [*]
LBNVQXUB* Build the /build stuff in a separate controller. - [*]
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/Helper/CatalystUtils.pm at line 68
->search_literal("exists (select 1 from buildproducts where build = me.id and type = 'nix-build')");->search_literal("exists (select 1 from buildproducts where build = resultInfo.id and type = 'nix-build')"); - replacement in src/lib/Hydra/Schema/Builds.pm at line 292
(select project, jobset, job, system, max(id) as id(select(select max(id) from builds bwhereproject = activeJobs.project and jobset = activeJobs.jobsetand job = activeJobs.job and system = activeJobs.systemand finished = 1and exists (select 1 from buildresultinfo where id = b.id and buildstatus = 0)) as id - edit in src/lib/Hydra/Schema/Builds.pm at line 301
natural join Buildsnatural join BuildResultInfowhere finished = 1 and buildStatus = 0group by project, jobset, job, system - replacement in src/lib/Hydra/Schema/Builds.pm at line 302
natural join Buildsjoin Builds using (id) - replacement in src/sql/hydra.sql at line 437
create index IndexBuildsOnJob on Builds(project, jobset, job);create index IndexBuildsOnJobAndIsCurrent on Builds(project, jobset, job, isCurrent);#create index IndexBuildsOnJob on Builds(project, jobset, job);#create index IndexBuildsOnJobAndIsCurrent on Builds(project, jobset, job, isCurrent); - edit in src/sql/hydra.sql at line 443
create index IndexBuildsOnJobFinishedId on builds(project, jobset, job, system, finished, id DESC);