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

Bug#797178: lintian.d.o: report for Debian-Med Packaging Team is virtually empty



Control: tags -1 + patch

* Dr. Tobias Quathamer <toddy@debian.org>, 2016-01-14, 18:12:
I've now discovered how to "fix" this: Lintian seems to use the maintainer's name for collecting the HTML output. If the name differs between packages, lintian silently discards those reports with other names, although the e-mail address stays the same.

Aha, thanks for the hint!

Actually, there's already code to deal with different names for the same e-mail address, but AFAICS it was only applied to Maintainer, not to Uploaders.

The attached patch should fix the problem. (Unfortunately I have no idea how to test it...)

--
Jakub Wilk
diff --git a/reporting/html_reports b/reporting/html_reports
index 79803f3..efc0c95 100755
--- a/reporting/html_reports
+++ b/reporting/html_reports
@@ -838,6 +838,7 @@ sub parse_lintian_log {
                 # between hashes).
                 if ($uploaders) {
                     for my $uploader (@{$uploaders}) {
+                        $uploader = map_maintainer($uploader);
                         next if $uploader eq $maintainer;
                         $by_uploader{$uploader}{$source}{$source_version}
                           = $list_ref;

Reply to: