Bugzilla – Attachment 100538 Details for
Bug 24131
Improved formatting for output of updatedatabase
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24131: Always display bug numbers on 5 characters
Bug-24131-Always-display-bug-numbers-on-5-characte.patch (text/plain), 1.51 KB, created by
Jonathan Druart
on 2020-03-11 11:18:45 UTC
(
hide
)
Description:
Bug 24131: Always display bug numbers on 5 characters
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-03-11 11:18:45 UTC
Size:
1.51 KB
patch
obsolete
>From 603e5f74a526e7c305af950eb8043248398fadb6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 11 Mar 2020 12:16:39 +0100 >Subject: [PATCH] Bug 24131: Always display bug numbers on 5 characters > >To correctly align bug numbers < 10000 >--- > installer/data/mysql/updatedatabase.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 7fcf8c7f62..fd69cad7cf 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -21160,7 +21160,7 @@ sub NewVersion { > unless ( $bug_number ) { > say sprintf "Upgrade to %s done: %s", $DBversion, $description > } else { >- say sprintf "Upgrade to %s done: Bug %s - %s", $DBversion, $bug_number, $description; >+ say sprintf "Upgrade to %s done: Bug %5s - %s", $DBversion, $bug_number, $description; > } > } > say sprintf "\t\t\t\t\t- %s", $description >@@ -21168,7 +21168,7 @@ sub NewVersion { > unless ( $bug_number ) { > say sprintf "Upgrade to %s done: %s", $DBversion, $description; > } else { >- say sprintf "Upgrade to %s done: Bug %s - %s", $DBversion, $bug_number, $description; >+ say sprintf "Upgrade to %s done: Bug %5s - %s", $DBversion, $bug_number, $description; > } > } > $first = 0; >-- >2.20.1
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 24131
:
98536
|
98537
|
99315
|
99316
|
99317
|
99521
|
99522
|
99523
|
99524
|
100161
|
100162
|
100163
|
100164
|
100464
|
100465
|
100466
|
100467
|
100468
|
100530
|
100531
|
100532
|
100533
|
100534
|
100535
|
100536
|
100538
|
101155
|
101159
|
101160
|
101162
|
101164
|
101166
|
101168
|
101187
|
103001