[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1055767: marked as done (release-notes and sphinx: incompatible formatting of manpage links in bookworm and trixie)



Your message dated Sat, 11 Nov 2023 15:14:15 +0100
with message-id <[🔎] 20231111151415.ddb32765b4c88501b30f680d@mailbox.org>
and subject line Re: Bug#1055767: release-notes and sphinx: incompatible formatting of manpage links in bookworm and trixie
has caused the Debian Bug report #1055767,
regarding release-notes and sphinx: incompatible formatting of manpage links in bookworm and trixie
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1055767: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055767
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release-notes


Now that the release-notes for trixie are based on and built with Sphinx /
restructedText, we got an issue with manpage links.

The manpage links are created with the Sphinx extension "extlinks" with a line
like this

extlinks = {'url-man-stable': ('https://manpages.debian.org/trixie/%s', '%s')}

in source/conf.py. 

A sentence like 
"Further information about this are in :url-man-stable:`rsyslog.conf(5)`. "
leads to html output
"Further information about this are in rsyslog.conf(5). "
where "rsyslog.conf(5)" is a link to https://manpages.debian.org/trixie/rsyslog.conf(5).



extlinks has just introduced a change, that makes it impossible to build the 
release-notes on both bookworm and unstable systems, and getting the same 
result with both builds.

Above example is the state of the r-n we actually have in git on Salsa, and
the gitlab CI pipelines running via Salsa are happily building like shown above.

But now looking at the Debian website, for example
https://www.debian.org/releases/testing/release-notes/issues.en.html#rsyslog-changes-affecting-log-analyzers-such-as-logcheck
you find the link to manpages.debian.org crippled, showing "%srsyslog.conf(5)" 
as link text.
This is because *this* build of release-notes is happening on wolkenstein,
which is currently a Bullseye system.
wolkenstein will of course upgraded to Bookworm some time, but when Trixie
is released, wolkenstein will still be a Bookworm system, and the Sphinx
version in Bookworm suffers from the same issue as today under Bullseye.


So the situation is: with the current source code we cannot have the release-notes 
correct on the Debian website and at the same time have succeeding pipelines
on Salsa, when people are doing changes.
(If we change the source code in a way, that the links are showing up ok 
on the Debian website, every r-n pipeline on Salsa will fail. See
https://salsa.debian.org/ddp-team/release-notes/-/commit/281b371e731f8abd4a0ea755eea8165e1991bad0/pipelines?ref=master
for an example of such a failure.)


Need to investigate, how to proceed here...


Holger


-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

--- End Message ---
--- Begin Message ---
Hi Paul,

Paul Gevers <elbrus@debian.org> wrote (Sat, 11 Nov 2023 14:35:42 +0100):
> Hi,
> 
> On 10-11-2023 22:31, Holger Wansing wrote:
> > So the situation is: with the current source code we cannot have the release-notes
> > correct on the Debian website and at the same time have succeeding pipelines
> > on Salsa, when people are doing changes.
> 
> > Need to investigate, how to proceed here...
> 
> I didn't check, but can't we switch the relevant pipelines to run on 
> bookworm instead on trixie? Sooner or later we *need* the website to be 
> correct and I agree that the pipelines are really nice to have too.

yes, that was the idea I had this morning too :-))
So simple, but I didn't get that yesterday...

I have already committed that, the pipeline was fine then, and now I see the
website also fine again, so this is fixed.

Closing this bug
Thanks for your time anyway


Holger


-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

--- End Message ---

Reply to: