Build.pm: Don't get isChannel using buildproducts.
[?]
Apr 21, 2015, 6:09 AM
2T3XCADO3TVJM2TONBE46KC2XMOVO5IPYN6CRQG5HHFTDDPJFH5QCDependencies
- [2]
3EJABTVVShow build products on aggregates with channels. - [3]
2GUAKGTBFix indentation of build.tt - [4]
UYWFRWQ6Sort constituents by job name - [5]
ELABMHJI* hydra: layout changes - [6]
3PNG7NIBRemove trailing whitespace - [7]
BYGDNBDFFix Changes section on build page. Now shows the changes of the first evaluation a build was part of compared to the previous one. Also separated previous builds from the changes section, as that was confusing sometimes. - [8]
2R7GHSA4* hydra: added initial version of build graph - [9]
ZI535LI6* hydra: 'new' UI for project/jobset/job/build - [10]
M6WGSGNMDon't show duration of unfinished builds - [11]
3TZYSSGXbuilt.tt: Handle the case where the original build is not known - [12]
ZH6B56XRTry harder to find build logs - [13]
HN3V252LOn the build page, show how many aggregate constituents failed - [14]
MSIHMO45Tweak build steps - [15]
Z6MDQIGO* A quick (non-Web 2.0) interface to manually add builds to a release. - [16]
XTKCALUAMake "Add to release" a modal dialog - [17]
LBNVQXUB* Build the /build stuff in a separate controller. - [18]
CAFO4ATEAlways show the build duration (using the cached build if necessary) - [19]
OEPUOUNBUsing twitter bootstrap for more consistent looks for Hydra - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- edit in src/lib/Hydra/Controller/Build.pm at line 111
$c->stash->{isChannel} = $c->stash->{build}->buildproducts->search({type => "channel"})->count > 0; - replacement in src/root/build.tt at line 191
[% IF (!isAggregate || !isChannel) && build.finished; actualBuild = build.iscachedbuild ? cachedBuild : build %][% IF (!isAggregate || !build.isChannel) && build.finished; actualBuild = build.iscachedbuild ? cachedBuild : build %] - replacement in src/root/build.tt at line 203
[% IF (!isAggregate || !isChannel) && buildLogExists(build) %][% IF (!isAggregate || !build.isChannel) && buildLogExists(build) %] - replacement in src/root/build.tt at line 218
[% IF isChannel || (build.buildproducts && !isAggregate) %][% IF build.isChannel || (build.buildproducts && !isAggregate) %]