Bug#915972: Broken policy documentation links in p.d.o
Package: www.debian.org
Severity: normal
Tags: newcomer
User: www.debian.org@packages.debian.org
Usertags: packages
X-Debbugs-CC: alfred@agrell.info
Hello all
As reported in the mail message below (thanks Alfred!, you may want to
subscribe to the bug number or even submit a patch), some links in
packages.debian.org need to be updated to point to the current Debian
Policy URLs.
I have searched for debian-policy links in the packages repo
(https://salsa.debian.org/webmaster-team/packages) and tried the URLs
found. These ones need to be updated:
lib/Parse/DebianChangelog.pm:1258:L<https://www.debian.org/doc/debian-policy/#debian-changelog-debian-changelog>.
templates/config/archive_layout.tmpl:22: main =>
'https://www.debian.org/doc/debian-policy/#the-main-archive-area',
templates/config/archive_layout.tmpl:23: contrib =>
'https://www.debian.org/doc/debian-policy/#the-contrib-archive-area',
templates/config/archive_layout.tmpl:24: 'non-free' =>
'https://www.debian.org/doc/debian-policy/#the-non-free-archive-area',
templates/html/show.tmpl:61:[%- PROCESS marker text=g('essential')
title=g('package manager will refuse to remove this package by default')
url='https://www.debian.org/doc/debian-policy/#essential-packages' IF
page.get_newest('essential') == 'yes' %]</h1>
Kind regards,
--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
El 13/11/18 a las 23:48, Alfred Agrell escribió:
> Hello,
>
> bug report: the [contrib] links on packages.debian.org currently lead to
> <https://www.debian.org/doc/debian-policy/#the-contrib-archive-area>,
> which is just an index page. The intended target has an extra
> ch-archive.html,
> <https://www.debian.org/doc/debian-policy/ch-archive.html#the-contrib-archive-area>.
>
>
> This shows up on, for example,
> <https://packages.debian.org/stretch-backports/virtualbox> and
> <https://packages.debian.org/search?keywords=virtualbox>. The same issue
> exists on [non-free] packages too.
>
> - Alfred Agrell
>
--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
Reply to: