Package: debci
Severity: normal

Hi!
We generally expect build/autopkgtest log output to be plain text -- but
a lot of new-fangled build/test systems decorate it with colors.  Also,
optimizing long runs of spaces into horizontal cursor movement is not
unheard of.

Such pretty-printing got more popular these days, as common CI services
such as Travis do support colors.

debci webpages currently pass such escapes as unprintables to a http
browser, one example:
https://ci.debian.net/data/autopkgtest/testing/arm64/d/diaspora-installer/11276425/log.gz


To fix that, you could filter the logs through a converter such as ansi2html
(if colors are welcome) or ansi2txt (if not).

As discussed on IRC, it would be far cheaper to do such a conversion
on-the-fly when a particular log is requested, as the vast majority of
logs never get read.

Reply via email to