Bug#296285: reporting/html_reports: Don't show removed packages on the webpages
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Package: lintian
Severity: wishlist
Tags: patch
If one uses the incremental mode to create lintian reports, removed
packages keep showing up on the html pages.
I think this can be solved by the attached patch, though I didn't test it.
Cheers
Luk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCGfGl5UTeB5t8Mo0RAh7hAKCdIsxSJrgta7c/+npWBz3v/kpxUQCfU+mV
gKFEI/JMwGeokEIPcBljxp0=
=ZQMc
-----END PGP SIGNATURE-----
diff -Nru lintian/lintian-1.23.8/reporting/html_reports lintian-1.23.8/reporting/html_reports
--- lintian/lintian-1.23.8/reporting/html_reports 2004-07-04 19:35:13.000000000 +0200
+++ lintian-1.23.8/reporting/html_reports 2005-02-21 15:33:55.259381872 +0100
@@ -101,12 +101,13 @@
$src = $pkg;
unless (exists $source_info{$pkg}) {
print STDERR "error: source package $pkg not listed!\n";
+ next;
}
} else {
$src = $bin_src_ref{$pkg};
unless ($src) {
print STDERR "error: source for package $pkg not found!\n";
- $src = $pkg;
+ next; #$src = $pkg;
}
}
Reply to: