[diffoscope] Procyon decompiler outputs with ANSI color codes so --text-color has no effect on it

Chris Lamb chris at reproducible-builds.org
Fri Aug 16 10:27:54 UTC 2024


Hi Aman,

Thanks for the report.

> 3. We use regex to remove all ANSI codes while processing the diff in
> diffoscope.

I think this is the best solution as we already have a code to strip
ANSI codes elsewhere in the codebase and we can quickly turn that into
a library module.

Indeed, can you try applying these commits that I've just pushed to
master?

 * https://salsa.debian.org/reproducible-builds/diffoscope/commit/d16faf7c78ba84f759c417a9412c92f6dd08adca.diff
 * https://salsa.debian.org/reproducible-builds/diffoscope/commit/12e34398cf72c46eb0eb1d3883a9b215f1aec06b.diff


Best wishes,

-- 
      o
    ⬋   ⬊      Chris Lamb
   o     o     reproducible-builds.org 💠
    ⬊   ⬋
      o


More information about the diffoscope mailing list