Show build products on aggregates with channels.

[?]
Apr 21, 2015, 1:58 AM
3EJABTVV4M2U77HKHPKMFTR6KAKOXKLUB2PKGE2RRPWCAX2BC56QC

Dependencies

  • [2] UYWFRWQ6 Sort constituents by job name
  • [3] MSIHMO45 Tweak build steps
  • [4] M6WGSGNM Don't show duration of unfinished builds
  • [5] 3TZYSSGX built.tt: Handle the case where the original build is not known
  • [6] 2GUAKGTB Fix indentation of build.tt
  • [7] Z6MDQIGO * A quick (non-Web 2.0) interface to manually add builds to a release.
  • [8] HN3V252L On the build page, show how many aggregate constituents failed
  • [9] ZH6B56XR Try harder to find build logs
  • [10] 2R7GHSA4 * hydra: added initial version of build graph
  • [11] XTKCALUA Make "Add to release" a modal dialog
  • [12] 3PNG7NIB Remove trailing whitespace
  • [13] CAFO4ATE Always show the build duration (using the cached build if necessary)
  • [*] LBNVQXUB * Build the /build stuff in a separate controller.
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.

Change contents

  • edit in src/lib/Hydra/Controller/Build.pm at line 111
    [2.164]
    [15.1111]
    $c->stash->{isChannel} = $c->stash->{build}->buildproducts->search(
    {type => "channel"}
    )->count > 0;
  • replacement in src/root/build.tt at line 191
    [4.3656][3.426:535]()
    [% IF !isAggregate && build.finished; actualBuild = build.iscachedbuild ? cachedBuild : build %]
    [4.3656]
    [3.535]
    [% IF (!isAggregate || !isChannel) && build.finished; actualBuild = build.iscachedbuild ? cachedBuild : build %]
  • replacement in src/root/build.tt at line 203
    [4.59][4.2568:2627]()
    [% IF !isAggregate && buildLogExists(build) %]
    [4.59]
    [4.6492]
    [% IF (!isAggregate || !isChannel) && buildLogExists(build) %]
  • replacement in src/root/build.tt at line 218
    [4.9948][4.1300:1349]()
    [% IF build.buildproducts && !isAggregate %]
    [4.843]
    [4.1105]
    [% IF isChannel || (build.buildproducts && !isAggregate) %]