automatic reload of tail log when build is running
[?]
Feb 2, 2011, 9:00 AM
MMDLWWZ2W2XVHHOTG2S5XCPITVNIJQ6F7GLCF2MKQANFNFEID7DACDependencies
- [2]
ELABMHJI* hydra: layout changes - [3]
SAIUFDP3hydra: make sure viewing logs works when logs are bz2'd - [4]
XHK7IGYI* hdyra: show last succeeded build and changes since on build status summary if build has failed - [5]
J5UVLXOK* Start of a basic Catalyst web interface. - [6]
TW5ZQX5Z* Move up the build products in the builds page, since they're more - [7]
UVMFS73T* Some jQuery / CSS hackery. - [8]
KAZWI5G4* hydra: buildpage, show changes since last build/successful build - [9]
AX5EQJO3hydra: show machine in buildsteps - [10]
45ESKY6T* hydra: show finish time on build status overview - [11]
BEKA3TMMHydra/25: At job pages, show the hash of the output - [12]
ZI535LI6* hydra: 'new' UI for project/jobset/job/build - [*]
LBNVQXUB* Build the /build stuff in a separate controller. - [*]
6F4UNDTC* Provide access to the raw, non-pretty-printed logfiles.
Change contents
- edit in src/lib/Hydra/Controller/Build.pm at line 128[3.396][15.797]
}elsif ($mode eq "tail-reload") {my $url = $c->request->uri->as_string;$url =~ s/tail-reload/tail/g;$c->stash->{url} = $url;$c->stash->{reload} = defined $c->stash->{build}->schedulingInfo && $c->stash->{build}->schedulingInfo->busy;$c->stash->{title} = "";$c->stash->{contents} = (scalar `$pipestart | tail -n 50`) || " ";$c->stash->{template} = 'plain-reload.tt'; - replacement in src/root/build.tt at line 57
(<a href="[% log %]">log</a>, <a href="[% "$log/raw" %]">raw</a>, <a href="[% "$log/tail" %]">tail</a>)(<a href="[% log %]">log</a>, <a href="[% "$log/raw" %]">raw</a>, <a href="[% "$log/tail-reload" %]">tail</a>) - replacement in src/root/build.tt at line 146
<a href="[% c.uri_for('/build' build.id 'log' 'tail') %]">tail</a>)<a href="[% c.uri_for('/build' build.id 'log' 'tail-reload') %]">tail</a>) - replacement in src/root/build.tt at line 354
<a href="[% c.uri_for('/build' build.id 'log' 'tail') %]">tail</a>)<a href="[% c.uri_for('/build' build.id 'log' 'tail-reload') %]">tail</a>) - replacement in src/root/static/css/hydra.css at line 144
border: 1px solid black;border: 3px solid darkblue; - edit in src/root/static/css/hydra.css at line 147
background: black;color: #ffffff;