[lintian] 01/01: c/r-html-reports: Exclude classification tags from reports
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 5c0553a4c540822201159e7ac3ece4fee7a41059
Author: Niels Thykier <niels@thykier.net>
Date: Wed Feb 14 20:24:51 2018 +0000
c/r-html-reports: Exclude classification tags from reports
For now to reduce the overhead of the full reports by 20%. Once we
have an idea for how to solve #890356 or a separate
reporting/aggregation for these tags, this will probably be reverted.
Signed-off-by: Niels Thykier <niels@thykier.net>
---
commands/reporting-html-reports.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands/reporting-html-reports.pm b/commands/reporting-html-reports.pm
index 1eaaa49..560db3c 100644
--- a/commands/reporting-html-reports.pm
+++ b/commands/reporting-html-reports.pm
@@ -917,7 +917,7 @@ sub parse_lintian_log {
# Ignore unknown tags - happens if we removed a tag that is
# still present in the log file.
my $tag_info = $profile->get_tag($tag, 1);
- next unless $tag_info;
+ next if not $tag_info or $tag_info->severity eq 'classification';
# Update statistics.
my $key = $expanded_code{$code};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: