Bugzilla – Attachment 148632 Details for
Bug 33168
Timeline on "About Koha" is not working for package installs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33168: Prevent debhelper from renaming history.txt to changelog
Bug-33168-Prevent-debhelper-from-renaming-historyt.patch (text/plain), 1.43 KB, created by
Marcel de Rooy
on 2023-03-24 08:22:08 UTC
(
hide
)
Description:
Bug 33168: Prevent debhelper from renaming history.txt to changelog
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-03-24 08:22:08 UTC
Size:
1.43 KB
patch
obsolete
>From aa26925c06c4e22d61f5d8b0cbca625fe0fde2c5 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Tue, 21 Mar 2023 23:09:20 +0000 >Subject: [PATCH] Bug 33168: Prevent debhelper from renaming history.txt to > changelog >Content-Type: text/plain; charset=utf-8 > >This change prevents debhelper from renaming history.txt to changelog, >since that renaming was breaking the Timeline feature in Koha. > >Another option would've been to rename history.txt to something else >but that filename is already embedded in Koha and the Koha release >tools, so this seems the safer option. > >Test plan: >0. Apply patch >1. Build Debian package >2. Confirm that /usr/share/doc/koha-common/history.txt is created >and /usr/share/doc/koha-common/changelog.gz is not created > >Signed-off-by: Mason James <mtj@kohaaloha.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > debian/rules | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/debian/rules b/debian/rules >index 211649ad1d..572d5533cc 100755 >--- a/debian/rules >+++ b/debian/rules >@@ -46,3 +46,7 @@ override_dh_auto_install: > override_dh_compress: > # exclude history.txt from compression as about.pl needs it uncompressed > dh_compress --exclude=history.txt --exclude=contributors.yaml --exclude=teams.yaml >+ >+override_dh_installchangelogs: >+ # Debian Buster onwards renames history.txt to changelog which breaks Koha's timeline feature >+ dh_installchangelogs --exclude=history.txt >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33168
:
148497
|
148501
| 148632 |
149038
|
149055