Koha-clms/installer/data/mysql
Emily Lamancusa c79d533a04
Bug 38299: Use say_failure when printing update errors to the console
Bug 35681 added subroutines to print colored output from database
updates. Incorporate the subroutine say_failure into the error handling
in the upstream code, so that errors caught upstream can take advantage
of this new subroutine and display in red.

To test:
1. Apply patch for test dbrev
2. From the kshell, run updatedatabase
--> The messages for success, info, warning, and failure that were
    explicitly printed in the dbrev are colored, but the database error
    is not colored.
3. Apply other patches
4. Run updatedatabase again
--> All messages including the database error are now colored

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-11-18 17:44:38 +01:00
..
atomicupdate Bug 38299: [DO NOT PUSH] Test dbrev 2024-11-18 17:44:37 +01:00
db_revs Bug 36822: (follow-up) Catch MySQL 8 failure in update 2024-11-14 14:19:43 +01:00
en Bug 35659: (QA follow-up) Fix capitalisation in notice 2024-10-28 14:01:35 +01:00
localization Bug 27490: (follow-up) Fix custom installer files 2024-09-13 13:54:26 +02:00
mandatory Bug 34355: (QA follow-up) Add permission marc_order_manage to govern control of account creation 2024-11-11 17:43:15 +01:00
backfill_statistics.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
kohastructure.sql Bug 33641: DBRev 24.06.00.063 2024-11-14 14:19:41 +01:00
labels_upgrade.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
needs_update.pl Bug 34088: Move the 'needs update' test to a separate script 2024-09-17 10:48:39 +02:00
patroncards_upgrade.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
update22to30.pl Bug 29180: (QA follow-up) Don't alter old DB up date 2021-11-05 12:13:25 +01:00
updatedatabase.pl Bug 38299: Use say_failure when printing update errors to the console 2024-11-18 17:44:38 +01:00