Bug#918963: lintian: manual-references contains broken/obsolete URLs for Debian Policy Manual

2019-01-11 Thread Chris Lamb
Hi Mike,

> I then noticed that all Debian Policy URLs in manual-references use URLs
> of the first form, all of which are now invalid.
> 
> Maybe these URLs used to be valid, if the Debian Policy Manual used to
> be presented as a single HTML page? In its current form all of these
> cross references are broken and not helpful to a new user.

Thanks for the report.

I think this was a regression since the Policy moved to Sphinx. The
script in question (private/refresh-manual-refs) will thus require
updating.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#918963: lintian: manual-references contains broken/obsolete URLs for Debian Policy Manual

2019-01-10 Thread Mike Miller
Package: lintian
Version: 2.5.120
Severity: minor

Dear Maintainer,

I noticed that a link to the Debian Policy Manual from the Lintian tag
page

  https://lintian.debian.org/tags/description-too-long.html

points to

  https://www.debian.org/doc/debian-policy/#the-single-line-synopsis

which references an invalid anchor. The correct URL should now be

  
https://www.debian.org/doc/debian-policy/ch-binary.html#the-single-line-synopsis

I then noticed that all Debian Policy URLs in manual-references use URLs
of the first form, all of which are now invalid.

Maybe these URLs used to be valid, if the Debian Policy Manual used to
be presented as a single HTML page? In its current form all of these
cross references are broken and not helpful to a new user.


-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lintian depends on:
ii  binutils   2.31.1-11
ii  bzip2  1.0.6-9
ii  diffstat   1.62-1
ii  dpkg   1.19.2
ii  dpkg-dev   1.19.2
ii  file   1:5.34-2
ii  gettext0.19.8.1-9
ii  gpg2.2.12-1
ii  intltool-debian0.35.0+20060710.4
ii  libapt-pkg-perl0.1.34+b1
ii  libarchive-zip-perl1.64-1
ii  libcgi-pm-perl 4.40-1
ii  libclass-accessor-perl 0.51-1
ii  libclone-perl  0.41-1+b1
pn  libdigest-sha-perl 
ii  libdpkg-perl   1.19.2
ii  libemail-valid-perl1.202-1
ii  libfile-basedir-perl   0.08-1
ii  libipc-run-perl20180523.0-1
ii  liblist-moreutils-perl 0.416-1+b4
ii  libparse-debianchangelog-perl  1.2.0-13
ii  libtext-levenshtein-perl   0.13-1
ii  libtimedate-perl   2.3000-2
ii  liburi-perl1.74-1
ii  libxml-simple-perl 2.25-1
ii  libyaml-libyaml-perl   0.75+repack-1
ii  man-db 2.8.4-3
ii  patchutils 0.3.4-2
ii  perl   5.28.1-3
ii  t1utils1.41-3
ii  xz-utils   5.2.2-1.3

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1+b5

Versions of packages lintian suggests:
pn  binutils-multiarch 
ii  libhtml-parser-perl3.72-3+b3
ii  libtext-template-perl  1.53-1

-- no debconf information