Koha-clms/installer/data/mysql
Bernardo Gonzalez Kriegel 3edee6db6f
Bug 13897: Use YAML files for installer data
This patch modifies C4/Installer.pm to add support
for loading YAML files into database.

As an example of the functionality, optional
auth_val.sql file is replaced by auth_val.yml

The rationale behind this feature is to enable the
translation of the data that is loaded into the
database. That will be addressed in another bug.

But taking into account that goal, translatable
values are declared in the YAML files, to ease
identification by translate script.

Also file description is moved into the yaml
file.

To test:
0) Do a clean install with all optional data,
   then dump authorised_values table, reserve.
1) Apply the patch
2) Do a clean install in English (marc21/unimarc)
3) On optional data check for description of auth_val
   "Some basic default authorised values for ..."
4) Select all optional data
5) Finish installation
6) Dump again authorised_values table and compare with that
   of point '0'.
   No differences should be found.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-09 13:49:57 +00:00
..
atomicupdate Bug 23051: DBRev 19.12.00.037 2020-03-06 10:09:27 +00:00
de-DE Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
en Bug 13897: Use YAML files for installer data 2020-03-09 13:49:57 +00:00
es-ES Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
fr-CA Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
fr-FR Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
it-IT Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
mandatory Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
nb-NO Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
pl-PL Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
ru-RU Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
uk-UA Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
account_credit_types.sql Bug 24081: Add credit_types, offset_types and permissions 2020-03-04 14:46:13 +00:00
account_debit_types.sql Bug 23354: (follow-up) Make display of debit types configurable 2020-01-13 14:05:14 +00:00
account_offset_types.sql Bug 24081: (QA follow-up) Fix small typo 2020-03-04 14:46:25 +00:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl Bug 13795: Remove occurences of unused columns in code 2019-04-18 10:05:51 +00:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17135: [QA Follow-up] Changes as to reporting 2016-09-16 10:47:03 +00:00
kohastructure.sql Bug 23355: (RM follow-up) Add DROP statement for cash_register_actions 2020-03-03 16:09:55 +00:00
labels_upgrade.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
patroncards_upgrade.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
sysprefs.sql Bug 23051: (follow-up) Add renewal feedback and move code to subroutines and test 2020-03-06 10:03:34 +00:00
update22to30.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
updatedatabase.pl Bug 23051: DBRev 19.12.00.037 2020-03-06 10:09:27 +00:00
userflags.sql Bug 22868: Move suggestions_manage subperm out of acquisition perm 2020-01-30 08:27:00 +00:00
userpermissions.sql Bug 24082: Add `anonymous_refund` permission to `cash_management` 2020-03-04 16:14:37 +00:00