Package: apt-listdifferences Version: 1.20230122 Severity: normal X-Debbugs-Cc: [email protected]
Dear Maintainer, when i install a new package apt-listdifferences detects it is new and does basically nothing but spewing out the banner of colordiff. I first thought i could disable it somehow and found the default setting of colordiff is "banner=no" and then realized you are shiping a patched version which doesn't honor that configuration due to errors that might submerge from newer versions of in #1012272. Maybe you could add that to your patch as it is a bit irritating in the logs. sincerly, Christopher Bock -- System Information: Debian Release: 12.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (400, 'proposed-updates'), (90, 'testing'), (80, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-25-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages apt-listdifferences depends on: ii debconf [debconf-2.0] 1.5.82 ii debian-keyring 2022.12.24 ii devscripts 2.23.4+deb12u1 ii less 590-2.1~deb12u2 ii python3 3.11.2-1+b1 ii python3-apt 2.6.0 ii python3-debian 0.1.49 Versions of packages apt-listdifferences recommends: ii diffstat 1.65-1 apt-listdifferences suggests no packages. -- debconf information: * apt-listdifferences/initialize: true apt-listdifferences/purge: false
--- colordiff +++ colordiff-git @@ -31,7 +31,7 @@ my $author = 'Dave Ewart'; my $author_email = '[email protected]'; my $app_www = 'http://www.colordiff.org/'; my $copyright = '(C)2002-2022'; -my $show_banner = 1; +my $show_banner = 0; my $diff_cmd = "diff"; # ANSI sequences for colours @@ -56,11 +56,11 @@ # Default colours if /etc/colordiffrc or ~/.colordiffrc do not exist my $plain_text = $colour{white}; -my $file_old = $colour{red}; -my $file_new = $colour{blue}; +my $file_old = $colour{darkred}; +my $file_new = $colour{darkgreen}; my $diff_stuff = $colour{magenta}; my $diff_file = $diff_stuff; -my $cvs_stuff = $colour{green}; +my $cvs_stuff = $colour{darkblack}; # Config options controlling presence or absence of colour in output # cfg_* options come from config files @@ -77,7 +77,7 @@ @ENV{qw/HOME USERPROFILE/})[0] || ''; my $etcdir = '/etc'; my ($setting, $value); -my @config_files = ("$etcdir/colordiffrc"); +my @config_files = (); my $USER_CONFIG_DIR = (grep { defined && length } @ENV{qw/XDG_CONFIG_HOME LOCALAPPDATA APPDATA/})[0] || ''; if (length $USER_CONFIG_DIR) {

