Discussion:
Bug#1033509: manpages.debian.org: testing/polkitd/polkit.8.en.html has outdated content
(too old to reply)
Simon McVittie
2023-03-26 13:50:01 UTC
Permalink
Package: manpages.debian.org
Severity: important

This might well have the same root cause as #986030, but I'm reporting it
as a separate bug because I want to link to bookworm's polkit(8) in text
that I'm contributing to the bookworm release notes, and the HTML currently
displayed for that version is misleading.

To reproduce:
0. Precondition: src:policykit-1 has the following polkit(8) man pages:
- bullseye, 0.105-31+deb11u1: an old version dated January 2009
- bookworm, 122-3: a new version dated February 2021
- unstable, 122-3: identical to bookworm
1. Visit https://manpages.debian.org/bullseye/policykit-1/polkit.8.en.html
2. and https://manpages.debian.org/testing/polkitd/polkit.8.en.html
3. and https://manpages.debian.org/unstable/polkitd/polkit.8.en.html

Expected result:
1. bullseye man page is the old version dated January 2009, which mentions
pklocalauthority(8)
2. bookworm man page is the new version dated February 2021, which no
longer mentions pklocalauthority(8), but does mention JavaScript, and
has an AUTHORIZATION RULES section
3. unstable man page is also the new version dated February 2021

Actual result:
1. As expected. The "other versions" sidebar and the footer say that it is
from polkitd_0.105-31+deb11u1.
2. The sidebar and footer claim that the man page is from polkitd_122-2
(even though unstable is now at 122-3), but the HTML content is the
old 2009 version (same as bullseye).
- The text content of https://manpages.debian.org/testing/polkitd/polkit.8.en.gz
*is* the correct 2021 version, though. Perhaps the generated HTML was
cached and needs some cache invalidation to be regenerated?
3. As expected. The unstable man page has the correct February 2021 content.
Adam D. Barratt
2024-12-27 17:30:01 UTC
Permalink
Control: forwarded -1 https://github.com/Debian/debiman/issues/181
Post by Simon McVittie
This might well have the same root cause as #986030, but I'm
reporting it as a separate bug because I want to link to bookworm's
polkit(8) in text that I'm contributing to the bookworm release
notes, and the HTML currently displayed for that version is
misleading.
I believe they're likely to have the same cause, referenced in the
Github issue above.
Post by Simon McVittie
2. The sidebar and footer claim that the man page is from
polkitd_122-2
   (even though unstable is now at 122-3), but the HTML content is
the
   old 2009 version (same as bullseye).
   - The text content of
https://manpages.debian.org/testing/polkitd/polkit.8.en.gz
     *is* the correct 2021 version, though. Perhaps the generated
HTML was cached and needs some cache invalidation to be regenerated?
This sounds like one of the problems mentioned in the Github issue,
specifically "However, during my investigation I realized that we
incorrectly store a reference to the version of the current package,
even when incorrectly re-using older content".

Regards,

Adam

Loading...