Remove dead code
[?]
Feb 21, 2013, 12:45 PM
SSMN5MPTOC6JN7WLWDUKAVEI2VUD4WB2ULOOJ6ELQDIESUT5M76QCDependencies
- [2]
LGNML7VJDon't use a prepared statement for the active build steps query - [3]
3PNG7NIBRemove trailing whitespace - [4]
U2ZK6LZ7Fix some warnings - [5]
LBNVQXUB* Build the /build stuff in a separate controller. - [6]
7UJ5YV4V* Provide a channel for each project containing all the latest - [7]
SJN2QPWH* Big speed-up of the job status page and the channel generation (such - [8]
JUZVPV6Squalify id column in queries - [9]
MOX7XJ2EMerge the BuildSchedulingInfo table into the Builds table - [10]
RI4S7SYT* Job status: show the active jobs. - [11]
ODNCGFQ5* Improved the navigation bar: don't include all projects (since that - [12]
FPK5LF53* Put the project-related actions in a separate controller. Put the - [13]
KAZWI5G4* hydra: buildpage, show changes since last build/successful build - [14]
AKAXJDMW* Disable the statistics on the project, jobset and job pages for now - [15]
3E6IP3R3* Add the name of the jobset to ReleaseSetJobs, otherwise we can't - [16]
S4V64WMTWhitespace - [17]
HPEG2RHVMerge the BuildResultInfo table into the Builds table - [18]
N45RZUQ6Reduce I/O in build listings by only fetching required columns - [19]
H27UAGSXproject with 0 build resulted in error - [20]
HXBXDEFKSpeed up channel processing - [21]
UWVMQIAC* Refactoring. - [22]
BTUDUY6F* Provide some redirects to the latest successful build for a job (or - [23]
LUPEGYR7Hydra: In case of failure, also show changes between last succesful build and the first failed build after this - [24]
CS7T2XFI - [25]
DEMSSSB2* Controller for jobs which inherits all actions in ListBuilds. So
Change contents
- edit in src/lib/Hydra/Controller/Job.pm at line 25
#getBuildStats($c, scalar $c->stash->{job}->builds); - edit in src/lib/Hydra/Controller/Project.pm at line 24
#getBuildStats($c, scalar $c->stash->{project}->builds); - replacement in src/lib/Hydra/Helper/CatalystUtils.pm at line 11
getBuild getPreviousBuild getNextBuild getPreviousSuccessfulBuild getBuildStatsgetBuild getPreviousBuild getNextBuild getPreviousSuccessfulBuild - edit in src/lib/Hydra/Helper/CatalystUtils.pm at line 82
- edit in src/lib/Hydra/Helper/CatalystUtils.pm at line 83
sub getBuildStats {my ($c, $builds) = @_; - edit in src/lib/Hydra/Helper/CatalystUtils.pm at line 84[3.2563]→[5.9837:9910](∅→∅),[5.9837]→[5.9837:9910](∅→∅),[5.9910]→[3.2564:2565](∅→∅),[3.2565]→[5.4867:4959](∅→∅),[5.9915]→[5.4867:4959](∅→∅),[5.4959]→[3.2566:2567](∅→∅),[3.2567]→[5.10057:10131](∅→∅),[5.10057]→[5.10057:10131](∅→∅),[5.10131]→[3.2568:2569](∅→∅),[3.2569]→[5.3231:3311](∅→∅),[5.10140]→[5.3231:3311](∅→∅),[5.3311]→[5.0:14](∅→∅),[5.10265]→[5.0:14](∅→∅),[5.14]→[5.4960:5059](∅→∅),[5.5059]→[3.2570:2571](∅→∅),[3.2571]→[5.81:163](∅→∅),[5.81]→[5.81:163](∅→∅),[5.163]→[5.10459:10461](∅→∅),[5.10459]→[5.10459:10461](∅→∅),[5.10584]→[5.10584:10585](∅→∅),[5.673]→[5.1998:1999](∅→∅)
$c->stash->{finishedBuilds} = $builds->search({finished => 1}) || 0;$c->stash->{succeededBuilds} = $builds->search({finished => 1, buildStatus => 0}) || 0;$c->stash->{scheduledBuilds} = $builds->search({finished => 0}) || 0;$c->stash->{busyBuilds} = $builds->search({finished => 0, busy => 1}) || 0;my $res;$res = $builds->search({}, {select => {sum => 'stoptime - starttime'}, as => ['sum']})->first;$c->stash->{totalBuildTime} = defined ($res) ? $res->get_column('sum') : 0 ;}