Do you want to render ANSI in Zuul console?
smooney at redhat.com
Thu Aug 27 16:24:58 UTC 2020
On Thu, 2020-08-27 at 08:37 -0700, Clark Boylan wrote:
> On Thu, Aug 27, 2020, at 1:11 AM, Sorin Sbarnea wrote:
> > At this moment Zuul web interfaces displays output of commands as raw,
> > so any ANSI terminal output will display ugly artifacts.
> > I tried enabling ANSI about half a year ago but even after providing
> > two different implementations, I was not able to popularize it enough.
> > As this is a UX related feature, I think would like more appropriate to
> > ask for feedback from openstack-discuss, likely the biggest consumer of
> > zuul web interface.
> > Please comment/+/- on review below even if you are not a zuul core. At
> > least it should show if this is a desired feature to have or not:
> Without my Zuul hat on but with my "I debug a lot of openstack jobs" hat I would prefer we remove ansi color controls
> from our log files entirely. They make using grep and other machine processing tools more difficult. I find the
> utility of grep, ^F, elasticsearch, and the log level severity filtering far more useful than scrolling and looking
> for colors that may be arbitrarily applied by the source.
if we can remove them form the logs but use a javascpit lib in the viewer to still highlight thing that might be the
best of both worlds
i do fine the syntax hyilighign nice but we dont need color codes to do that.
> > https://review.opendev.org/#/c/739444/ ✅
> > This review also includes a screenshot that shows how the rendering
> > looks (an alternative for using the sitepreview)
> > Thanks
> > Sorin Sbarnea
More information about the openstack-discuss