Package: sbuild
Version: 0.70.0-1
Severity: wishlist
Tags: patch

Dear maintainer,

In its final build summary, sbuild highlights "Lintian: pass" in green
and "Lintian: fail" in red.  This is useful for seeing at a glance
whether there is anything to fix.

The attached patch extends this behaviour to autopkgtest & piuparts.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 4.5.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sbuild depends on:
ii  adduser         3.115
ii  apt-utils       1.3~pre2
ii  gnupg           2.1.14-2
ii  libsbuild-perl  0.70.0-1
ii  perl            5.22.2-3

Versions of packages sbuild recommends:
ii  debootstrap  1.0.81
ii  fakeroot     1.21-1

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  wget       1.18-2

-- no debconf information

-- 
Sean Whitton
From 658e0d3314eff0817ad856aad2214028aaad599e Mon Sep 17 00:00:00 2001
From: Sean Whitton <spwhit...@spwhitton.name>
Date: Fri, 5 Aug 2016 14:19:17 -0700
Subject: [PATCH] colour for piuparts & autopkgtest success/failure

---
 lib/Sbuild/Build.pm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/Sbuild/Build.pm b/lib/Sbuild/Build.pm
index e37867d..efca137 100644
--- a/lib/Sbuild/Build.pm
+++ b/lib/Sbuild/Build.pm
@@ -471,6 +471,10 @@ END
 	$self->build_log_colour('yellow', '^Keeping session: ');
 	$self->build_log_colour('red', '^Lintian:');
 	$self->build_log_colour('green', '^Lintian: pass$');
+	$self->build_log_colour('red', '^Piuparts:');
+	$self->build_log_colour('green', '^Piuparts: pass$');
+	$self->build_log_colour('red', '^Autopkgtest:');
+	$self->build_log_colour('green', '^Autopkgtest: pass$');
 
 	# Log filtering
 	my $filter;
-- 
2.8.1

Attachment: signature.asc
Description: PGP signature

Reply via email to