diff --git a/src/lib/Hydra/Controller/Job.pm b/src/lib/Hydra/Controller/Job.pm index 8dd657a0..ab35ae3f 100644 --- a/src/lib/Hydra/Controller/Job.pm +++ b/src/lib/Hydra/Controller/Job.pm @@ -23,7 +23,7 @@ sub overview : Chained('job') PathPart('') Args(0) { $c->stash->{template} = 'job.tt'; - getBuildStats($c, scalar $c->stash->{job}->builds); + #getBuildStats($c, scalar $c->stash->{job}->builds); $c->stash->{currentBuilds} = [$c->stash->{job}->builds->search({iscurrent => 1}, { join => 'resultInfo', '+select' => ["resultInfo.releasename", "resultInfo.buildstatus"] , '+as' => ["releasename", "buildstatus"], order_by => 'system' })]; diff --git a/src/lib/Hydra/Controller/Jobset.pm b/src/lib/Hydra/Controller/Jobset.pm index 0b8b4124..f6ab3d17 100644 --- a/src/lib/Hydra/Controller/Jobset.pm +++ b/src/lib/Hydra/Controller/Jobset.pm @@ -26,7 +26,7 @@ sub index : Chained('jobset') PathPart('') Args(0) { $c->stash->{template} = 'jobset.tt'; - getBuildStats($c, scalar $c->stash->{jobset}->builds); + #getBuildStats($c, scalar $c->stash->{jobset}->builds); $c->stash->{activeJobs} = [ $c->stash->{jobset}->builds->search( diff --git a/src/lib/Hydra/Controller/Project.pm b/src/lib/Hydra/Controller/Project.pm index 69abfa6b..d86bdf69 100644 --- a/src/lib/Hydra/Controller/Project.pm +++ b/src/lib/Hydra/Controller/Project.pm @@ -22,7 +22,7 @@ sub view : Chained('project') PathPart('') Args(0) { $c->stash->{template} = 'project.tt'; - getBuildStats($c, scalar $c->stash->{project}->builds); + #getBuildStats($c, scalar $c->stash->{project}->builds); $c->stash->{views} = [$c->stash->{project}->views->all]; } diff --git a/src/lib/Hydra/View/NixManifest.pm b/src/lib/Hydra/View/NixManifest.pm index 315982d1..6e8afae0 100644 --- a/src/lib/Hydra/View/NixManifest.pm +++ b/src/lib/Hydra/View/NixManifest.pm @@ -40,4 +40,5 @@ sub process { return 1; } + 1; diff --git a/src/root/job.tt b/src/root/job.tt index 4e2b237e..338496a9 100644 --- a/src/root/job.tt +++ b/src/root/job.tt @@ -14,7 +14,7 @@