[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#400342: lintian: root/reporting/harness -i does not work



Package: lintian
Version: 1.23.26
Severity: normal

Hello Debian Lintian Maintainers,

root/reporting/harness -i perform a full update not an incremental update.

I tracked the issue to the call to lintian --setup-lab. For some
reason this call delete the history files of the last run.

Please find the patch I use to work around the issue.

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large blue swirl here. 
Index: lib/Lab.pm
===================================================================
--- lib/Lab.pm	(revision 792)
+++ lib/Lab.pm	(working copy)
@@ -118,7 +118,7 @@
 
     # just create empty files
     for my $pkgtype (qw( binary source udeb )) {
-	_touch("$dir/info/$pkgtype-packages")
+	-f "$dir/info/$pkgtype-packages" || _touch("$dir/info/$pkgtype-packages")
 	    or fail("cannot create $pkgtype package list");
     }

Reply to: