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

Holger Wansing <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <20201206140705.d466c6306304adc48843cb11__44282.1431833849$1607260164$gmane$org@mailbox.org>
Hi,

Holger Wansing <[email protected]> wrote:
> 
> Laura Arjona Reina <[email protected]> wrote:
> > 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>
> 
> I have created an refreshed patch according to the current situation (aka the 
> current version of debian-policy on the webpage).
> 
> I will apply it shortly, if there are no objections.

This was pushed to git with
https://salsa.debian.org/webmaster-team/packages/-/commit/701c38c69512b5ac541ff2790c0d67cc3be5f24e
~2 months ago, however it's not visible on the webpage, since it seems there
is a "git pull" required on the packages.d.o host.


Anyone?
(I am lacking permission for this.)


Holger
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.