
Hi, On 12/5/20 12:47 AM, Hans-Peter Jansen wrote:
Hi,
is it possible to trick a local osc build into producing colored output without much fuzz?
The point is, if I 'osc chroot' into the package and trigger a build manually, colored output is generated. Therefor I guess, rpmbuild ignores/avoids certain environment values (COLORTERM?) for better parsebility.
For local builds of huge projects, colored output would be much nicer, since it would be easier to distinguish between warnings and errors.
There is a tool "grc" that uses regular expressions, it does a reasonable job and is certainly better then nothing. I've been using it for around 5 years and it works well enough for me but patches to make it better are more then welcome. zypper in grc grc osc build -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B