Page MenuHomePhabricator

Parse ANSI-style color strings in build output
Open, NormalPublic

Description

This is (part of) the build output of a Ruby project, where dependencies are installed with Bundler:

Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.

Note the [33m and [0m; these are ANSI-style color markers that can be parsed so the output is rendered in the actual color in the build output panel. Is that something Harbormaster should do?

Event Timeline

marceldegraaf raised the priority of this task from to Needs Triage.
marceldegraaf updated the task description. (Show Details)
marceldegraaf added a project: Harbormaster.
marceldegraaf added a subscriber: marceldegraaf.
epriestley triaged this task as Normal priority.Aug 10 2015, 2:41 PM
epriestley moved this task from Backlog to v2 on the Harbormaster board.
eadler added a project: Restricted Project.Jan 8 2016, 10:37 PM
eadler moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jan 8 2016, 10:40 PM
eadler moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jun 22 2016, 3:14 PM
eadler moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jul 4 2016, 9:00 PM

I wrote a patch for this, for both new log prototype and old log viewer here some screenshots for the view. If it is look OK, I will submit it.

Default Mode: No Changes

Black Background Mode:

White Background Mode: