#1057073 debian-cd: adapt script to match the new release-notes situation for trixie

Package:
debian-cd
Source:
debian-cd
Submitter:
Holger Wansing
Date:
2023-11-29 08:06:04 UTC
Severity:
normal
Tags:
#1057073#5
Date:
2023-11-29 08:03:31 UTC
From:
To:
For trixie we have some changings regarding the release-notes:

They have been migrated from Docbook to reStructedText / Sphinx [1].
During this migration, it has been decided to no longer build separate
versions per architecture, but only one generic variant.

This leads to a changed directory structure on the website for trixie:
While the release-notes had in the past (for example for bookworm):

	/www.d.o/releases/bookworm/amd64/release-notes/index.en.html
	                                              /index.de.html
	                                              /index.da.html
	                        [and many more html files for amd64]
	/www.d.o/releases/bookworm/i386/release-notes/index.en.html
	                                             /index.de.html
	                                             /index.da.html
	                        [and many more html files for i386]
	/www.d.o/releases/bookworm/armel/release-notes/index.en.html
	                                              /index.de.html
	                                              /index.da.html
	                        [and many more html files for armel]

	... and so on


And for trixie we have now:

	/www.d.o/releases/trixie/release-notes/index.en.html
                                              /index.de.html
	                                      /index.da.html
	                          [and many more html files]

So, the architecture part is skipped from the path.




This requires changes in debian-cd/tools/trixie/installtools.sh, so that
this script can find the release-notes again:

The script uses a r-n tarball, which for bookworm is under
https://www.debian.org/releases/bookworm/release-notes-amd64.tar.gz
https://www.debian.org/releases/bookworm/release-notes-i386.tar.gz
https://www.debian.org/releases/bookworm/release-notes-armel.tar.gz
... and so on.

For trixie, the tarball is under
https://www.debian.org/releases/trixie/release-notes.tar.gz


BTW:
AFAICS the release-notes are not integrated in the installation images
currently, but we should keep the script working nevertheless.



I have attached a patch with the required changings.
This is however untested, since I'm unable to use debian-cd due to the
lack of a local mirror. So, could someone do a test build, to check the
script works again?


Regards
Holger




[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932957#245