* hydra: 'new' UI for project/jobset/job/build

This commit is contained in:
Rob Vermaas
2010-02-05 14:48:22 +00:00
parent 3677a5fc6e
commit 9dba2127cb
37 changed files with 952 additions and 663 deletions

View File

@ -191,6 +191,14 @@ __PACKAGE__->has_many(
use Hydra::Helper::Nix;
# order buildsteps
__PACKAGE__->has_many(
"buildsteps",
"Hydra::Schema::BuildSteps",
{ "foreign.build" => "self.id" },
{ order_by => "stepnr" },
);
__PACKAGE__->has_many(
"dependents",
"Hydra::Schema::BuildInputs",
@ -273,6 +281,8 @@ QUERY
$joinWithStatusChange
QUERY
);
makeSource("ActiveJobs$name", "(select distinct project, jobset, job from Builds where isCurrent = 1 $constraint)");
makeSource(
"LatestSucceeded$name",

View File

@ -97,6 +97,12 @@ __PACKAGE__->has_many(
# Created by DBIx::Class::Schema::Loader v0.04999_09 @ 2009-11-17 16:05:10
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+HDJ8tIPcvj5+IwgHqTnaw
__PACKAGE__->has_many(
"jobsets",
"Hydra::Schema::Jobsets",
{ "foreign.project" => "self.name" },
{ order_by => "name" },
);
# You can replace this text with custom content, and it will be preserved on regeneration
1;