Bug#915972: Broken policy documentation links in p.d.o

Laura Arjona Reina <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <1bf67eaa-35cd-555a-d3d9-6f21dc239117__33875.5138953731$1544303593$gmane$org@debian.org>
Package: www.debian.org
Severity: normal
Tags: newcomer
User: [email protected]
Usertags: packages
X-Debbugs-CC: [email protected]

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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.