Bug#858039: lintian: Graph (SVG) files on https://lintian.debian.org/ lack tag name
Package: lintian
Version: 2.5.50.1
Severity: wishlist
Hi,
today I was talking with a colleague about the result of some action
which had a severe impact on some lintian tag. Since it was irrelevant
which packages were affected and it was only relevant how the number
shrunk over time, I only sent him the link the graph:
https://lintian.debian.org/resources/beeef37b8e3ee13c9d12dc0374b1f60f3f16c2acec234986cdabc5d2ad429ef8.svg
He was totally confused by the graph and asked "What does «Tags» mean?
Is that good or bad?".
Only when I saw the graphic on his screen without the surrounding
context, I realized that the graph actually doesn't contain the tag name
at all. (Or said the other way round: Try to guess for which Lintian tag
the above mentioned graph is. I assume that a few Debianers will
recognize it, but also that it won't be too many people. See the hint at
the very end of this mail. :-)
So I propose to add at least the tag name to the SVG somewhere,
e.g. below the X axis, as a title or instead of "Tags". If we can afford
using more vertical space, I'd suggest to changing the legend as
follows:
Tags ⇒ Tag <actual tag name> emitted
Packages ⇒ Packages which emitted <actual tag name>
Overridden ⇒ Tag <actual tag name> overridden
(Maybe we need to use a smaller font, too.)
Another thing which is very similar is the file name of that images. Are
there reasons why the above mentioned graph file is named
"beeef37b8e3ee13c9d12dc0374b1f60f3f16c2acec234986cdabc5d2ad429ef8.svg"
and not "<actual tag name>.svg"? That would probably also provide
permanent URLs for passing links to just the graph around.
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages lintian depends on:
ii binutils 2.28-2
ii bzip2 1.0.6-8.1
ii diffstat 1.61-1+b1
ii file 1:5.29-3
ii gettext 0.19.8.1-2
ii intltool-debian 0.35.0+20060710.4
ii libapt-pkg-perl 0.1.30
ii libarchive-zip-perl 1.59-1
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.38-2+b1
ii libdigest-sha-perl 5.96-1+b1
ii libdpkg-perl 1.18.23
ii libemail-valid-perl 1.202-1
ii libfile-basedir-perl 0.07-1
ii libipc-run-perl 0.94-1
ii liblist-moreutils-perl 0.416-1+b1
ii libparse-debianchangelog-perl 1.2.0-12
ii libperl5.24 [libdigest-sha-perl] 5.24.1-1
ii libtext-levenshtein-perl 0.13-1
ii libtimedate-perl 2.3000-2
ii liburi-perl 1.71-1
ii libyaml-libyaml-perl 0.63-2
ii man-db 2.7.6.1-2
ii patchutils 0.3.4-2
ii perl 5.24.1-1
ii t1utils 1.39-2
ii xz-utils 5.2.2-1.2+b1
Versions of packages lintian recommends:
ii dpkg 1.18.23
ii libautodie-perl 2.29-2
ii libperlio-gzip-perl 0.19-1+b2
ii perl 5.24.1-1
ii perl-modules-5.24 [libautodie-perl] 5.24.1-1
Versions of packages lintian suggests:
ii binutils-multiarch 2.28-2
ii dpkg-dev 1.18.23
ii libhtml-parser-perl 3.72-3
ii libtext-template-perl 1.46-1
-- no debconf information
-- Hint mentioned inside the bug report above
It's the graph from
https://lintian.debian.org/tags/hardening-no-pie.html :-)
Reply to: