Ticket #154 (new task)

Opened 8 months ago

Last modified 5 months ago

add a config option to disable color by default

Reported by: bonsaikitten Owned by: masterdriverz
Priority: minor Milestone:
Component: ui Version:
Keywords: Cc:

Description

Emerge has a NOCOLOR switch that works quite well (nice for logging to textfiles :) )

pkgcore supports --nocolor for all scripts I tested, but it does not honour the NOCOLOR variable set in make.conf

Change History

comment:1 Changed 7 months ago by ferringb

  • milestone 0.3.5 deleted

Only going to be addressed via a patch being supplied I suspect.

comment:2 Changed 5 months ago by masterdriverz

  • owner set to masterdriverz
  • component changed from pkgcore to ui

I'm thinking we could change --nocolor to --color=none, and then have the --color option default to a config setting if unspecified.

comment:3 Changed 5 months ago by masterdriverz

  • type changed from defect to task
  • summary changed from NOCOLOR="true" is not honoured to add a config option to disable color by default
Note: See TracTickets for help on using tickets.