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

Screenshot_2018-09-11 Display Preferences.png (876×1 px, 112 KB)

Screenshot_2018-09-11 ♻ Build Log 1809.png (558×1 px, 164 KB)

Black Background Mode:

Screenshot_2018-09-11 Display Preferences(1).png (888×1 px, 112 KB)

Screenshot_2018-09-11 ♻ Build Log 1809(1).png (507×1 px, 111 KB)

White Background Mode:

Screenshot_2018-09-11 Display Preferences(2).png (888×1 px, 113 KB)

Screenshot_2018-09-11 ♻ Build Log 1809(2).png (615×1 px, 181 KB)