Fix UTF-8 handling of log files
[?]
Aug 13, 2014, 4:53 PM
KZ55DLPHCMOBWZRUMNGPNG3N2XK65K7VKFKVZH27W3KVUEQWGCTQCDependencies
- [2]
DOQSWDUGmark lines with FAILURE as error - [3]
X6RB5HQ6Put a 5-second CPU time limit on the log processing pipeline. - [4]
VHV6GI4LAdd a jobset eval action to restart all aborted/cancelled builds - [5]
ZH6B56XRTry harder to find build logs - [6]
BA46C5LN* Pretty-print the logs. - [7]
6F4UNDTC* Provide access to the raw, non-pretty-printed logfiles. - [8]
HKQWF5RQhydra: refine error marking - [9]
RBHHV7P7* Read logs using logContents function in stead of handling it everywhere separately. - [10]
4JPNFWRB* Use jquery for the logfile manipulation. - [11]
SAIUFDP3hydra: make sure viewing logs works when logs are bz2'd - [12]
LBNVQXUB* Build the /build stuff in a separate controller. - [13]
Y6AHH4THRemove the logfile and logSize columns from the database - [14]
O3CGTZFGSimplify the log tree implementation a bit - [15]
3JCIP7EZUse a span instead of a div in the pretty logs - [*]
PMNWRTGJAdd multiple output support - [*]
HSVVEKTY* Start of a JSON API to get information about a specific build. - [*]
2GK5DOU7* Downloading closures. - [*]
AFTXA575* $HYDRA_DATA environment variable.
Change contents
- edit in src/lib/Hydra/Controller/Build.pm at line 15
use Encode; - replacement in src/lib/Hydra/Controller/Build.pm at line 145
. " | xsltproc " . $c->path_to("xsl/log2html.xsl") . " - | tail -n +2";. " | xsltproc " . $c->path_to("xsl/log2html.xsl") . " -"; - replacement in src/lib/Hydra/Controller/Build.pm at line 147
$c->stash->{logtext} = `ulimit -t 5 ; $pipeline`;$c->stash->{logtext} = decode("utf-8", `ulimit -t 5 ; $pipeline`); - edit in src/lib/Hydra/Helper/Nix.pm at line 11[4.687][20.127]
use Encode; - replacement in src/lib/Hydra/Helper/Nix.pm at line 314
return `$cmd`;return decode("utf-8", `$cmd`); - replacement in src/xsl/log2html.xsl at line 5
<xsl:output method='html' encoding="UTF-8"doctype-public="-//W3C//DTD HTML 4.01//EN"doctype-system="http://www.w3.org/TR/html4/strict.dtd" /><xsl:output method='html' encoding="UTF-8" omit-xml-declaration="yes" /> - edit in src/xsl/mark-errors.xsl at line 4
<xsl:output method='xml' encoding="UTF-8" /> - replacement in src/xsl/mark-errors.xsl at line 28