html_reports: replace %tag_extra with %tag_info

%tag_extra only tracked severity and certainty about tags, whereas
%tag_info stores the "Lintian::Tag::Info" object for each tag.

Also skip unknown tags.  When removing a tag from Lintian it may still
appear in a Lintian log (e.g. when using incremental runs).  These
tags are now silently skipped in the log.

Signed-off-by: Niels Thykier <niels@thykier.net>
Use profile information about tags in HTML reports

Modifications to original patch:
 * Obtain the list of tags as before.
   - This ensures all tags are present on lintian.d.o.
 * Drop some changes to %tag_extra that are no longer required.

Acked-by: Niels Thykier <niels@thykier.net>
Fixed a mistake in (my correction of) the last commit

Signed-off-by: Niels Thykier <niels@thykier.net>
Added new archive sections

Also corrected the placement of the "kernel" section.

Signed-off-by: Niels Thykier <niels@thykier.net>
Bumped ancient S-V date and worked around a changelog issue

changelog.t gets the length of lines for non-ASCII names wrong.  The
particular issue was worked around as convincing perl to do proper
width calculation was simply too much work.

Signed-off-by: Niels Thykier <niels@thykier.net>
Implemented a simple file-conflict check in group-checks

Most test are solved properly.  Though in a few cases, conflicts
have been (ab)used.

Signed-off-by: Niels Thykier <niels@thykier.net>
Check for incomplete Multi-arch'ification

Acked-by: Niels Thykier <niels@thykier.net>
Added missing check for file overlaps

Also fixed a description issue with another test.

Signed-off-by: Niels Thykier <niels@thykier.net>
Add "racket" interpreter in checks/scripts

Signed-off-by: James McCoy <jamessan@debian.org>
Acked-by: Niels Thykier <niels@thykier.net>
Allow a trailing slash in the DEP-5 1.0 URL

Acked-by: Niels Thykier <niels@thykier.net>
Added fontforge as a valid interpreter

Acked-by: Niels Thykier <niels@thykier.net>
Skip "brace expansion" check for executable debhelper file

Lintian does not know how the interpreter of the file handles
"{...}"-constructs (if at all).

Signed-off-by: Niels Thykier <niels@thykier.net>
debhelper only treats executable files specially with compat 9

Signed-off-by: Niels Thykier <niels@thykier.net>
Check for M-A foreign packages with shared libraries

... in public library directories.

Acked-by: Niels Thykier <niels@thykier.net>
Handle executable files in debian/

Check for executable files that are never meant to be executable
(e.g. "control").  Also catch executable debhelper files without using
compat 9 (as debhelper only executes them in compat 9).

Finally check that a debhelper file marked executable have a #!-line.
ELF executables are not accepted (see _can_be_run for rationale).

Signed-off-by: Niels Thykier <niels@thykier.net>
Added test for multi-arch foreign pkg with shared lib

Signed-off-by: Niels Thykier <niels@thykier.net>
Also detect COFF object files as Windows binaries.

Changes to the orignal patch:
 - Merged the if statement with the conditional above it.

Acked-by: Niels Thykier <niels@thykier.net>
Added changelog entry for previous commit

Signed-off-by: Niels Thykier <niels@thykier.net>
Minor correction to the path of the dch in _guess_version

Signed-off-by: Niels Thykier <niels@thykier.net>
Refactor "proc->lpkg" code into a sub and use it for pkg removal

Signed-off-by: Niels Thykier <niels@thykier.net>