Don't set Expires header for logs of unfinished builds/steps
[?]
Aug 12, 2015, 10:22 AM
FQAZTEK6XMBH3RUZO4A72P5EPHCFR7WKDRIWJ45VY3KBR3CGU5RACDependencies
- [2]
KI423DCQStream logs if possible and remove size limit - [3]
ZH6B56XRTry harder to find build logs - [4]
SAIUFDP3hydra: make sure viewing logs works when logs are bz2'd - [5]
LZVO64YGMerge in the first bits of the API work - [6]
Y6AHH4THRemove the logfile and logSize columns from the database - [7]
6F4UNDTC* Provide access to the raw, non-pretty-printed logfiles. - [8]
LBNVQXUB* Build the /build stuff in a separate controller.
Change contents
- replacement in src/lib/Hydra/Controller/Build.pm at line 122
showLog($c, $mode, $step->drvpath, map { $_->path } $step->buildstepoutputs->all);showLog($c, $mode, $step->busy == 0, $step->drvpath,map { $_->path } $step->buildstepoutputs->all); - replacement in src/lib/Hydra/Controller/Build.pm at line 129
showLog($c, $mode, $c->stash->{build}->drvpath, map { $_->path } $c->stash->{build}->buildoutputs->all);showLog($c, $mode, $c->stash->{build}->finished,$c->stash->{build}->drvpath,map { $_->path } $c->stash->{build}->buildoutputs->all); - replacement in src/lib/Hydra/Controller/Build.pm at line 136
my ($c, $mode, $drvPath, @outPaths) = @_;my ($c, $mode, $finished, $drvPath, @outPaths) = @_; - edit in src/lib/Hydra/Controller/Build.pm at line 160
$c->stash->{finished} = $finished; - replacement in src/lib/Hydra/View/NixLog.pm at line 23
setCacheHeaders($c, 365 * 24 * 60 * 60);setCacheHeaders($c, 365 * 24 * 60 * 60) if $c->stash->{finished};