[koha-commits] main Koha release repository branch master updated. v19.11.00-1073-g83da3af9da

Git repo owner gitmaster at git.koha-community.org
Mon Mar 9 15:38:52 CET 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  83da3af9dad6591516cf2bd297e7353952596435 (commit)
       via  5ead9529da75ca5fdd26e7411c5b3ee3487d0e1c (commit)
       via  d9b83c12c601ae43bcf67125e351c098b4fe1efa (commit)
       via  0f020eabbdb0d1cd358c396959049bc11631ebf2 (commit)
       via  ff39a08302f48dd127cc835686f0eef01897dc47 (commit)
       via  2c8f894b96dd2e340d3aa8562ba9914ccbfb1d4f (commit)
       via  95884c204c5bfd8f97bf0580dbf40a3e12d15f8b (commit)
       via  29411e38ee4c9122d8d9dffab1e13bcecc62f66c (commit)
       via  08b65033d0617327645bd4ddc902eed851ff0f8e (commit)
       via  e3ed060fb02528032787b56d5637f336be6bac0f (commit)
       via  89ced6c9a01a5751446af3ab7cb32b64a51a07f8 (commit)
       via  c5ac1d23f2720b975ab8bce0c798f5642d7747c3 (commit)
       via  e49f3ce3ab59b8e28697cdce3d7bc9eb204185d7 (commit)
       via  77964c9e123a7f7ffb9acc151010ec7ff12e7308 (commit)
       via  6f90d1f3bd3b73f28c21a510c90a75e69c24b389 (commit)
       via  a57754825f4a2d3d1ade770ef2d40c7e7ef5ffd5 (commit)
       via  3af76ad5c473c15e6aa8f7da0fbd6a891112da29 (commit)
       via  1c1693ddccf92573510782fff19ca0fd9c6ada09 (commit)
       via  e848d36412f60e2553301f6d6c9032140744f627 (commit)
       via  77b0151c9d2f532421ee7c906b94d1c4fa26bd17 (commit)
       via  8ad61cb07abd8a192abe29580cf368ab3cee9e44 (commit)
       via  e2fceec873300a4df70e332bf25ae32c22dc5253 (commit)
       via  01efbbf8c6cf6b42c2fbcff5eb704b2d63468d76 (commit)
       via  23b9c058ce36f559f646121a568b2d5c165aff88 (commit)
       via  dd287a7b7f64b0ce952fcb9b14fbe8cec130ad11 (commit)
       via  c56e8b58d972bb2e77394e1b9b9da885290a2288 (commit)
       via  31774a2ee8583f49bc204ce75e8a25030fcab0ac (commit)
       via  33c1ddf86b198677cca49e56b8b566288e01ec1f (commit)
       via  e925eb7a145bd6e206d6770ce7c73dbc32d1decd (commit)
       via  131183b0bfcb909be44fc64a0e78b30f97135f9b (commit)
       via  fc861f1ed93b44b5d0068f247894a77da0931c75 (commit)
       via  3edee6db6fa7f5e3c673dfa890e032f90ff234ed (commit)
      from  0706922221dcdf9fa8ed7fcf86245c5622f33a3c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 83da3af9dad6591516cf2bd297e7353952596435
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Feb 5 11:53:04 2020 -0300

    Bug 24594: Rewrite marc21_framework_DEFAULT to YAML
    
    YAML version of marc21 mandatory marc21_framework_DEFAULT.
    
    To test:
    1) Do a clean install with mandatory data,
       dump table marc_tag_structure and
       marc_subfield_structure, reserve.
    
    2) Apply this patch and it's dependencies
    
    3) Do a clean install, dump again and compare
       No major differences expected
    
    4) Try translation
      a) Go to misc/translator
      b) create files for a new language
         ./translate create xx-YY
      c) Check new file po/xx-YY-instaler-MARC21.po
         Verify strings from this file.
      d) Install new language
         ./translate install xx-YY
      e) Try clean install with new files
    
    NOTE: This patch fails with qa tools!
    Reason is that qa tools use YAML.pm module to
    check files, but Installer.pm or LangInstaller.pm
    are using YAML::Syck, using that module gives
    no error, check for example:
    
    perl -e 'use YAML::Syck qw( LoadFile ); $y = LoadFile("marc21_framework_DEFAULT.yml");'
    No error!
    
    perl -e 'use YAML qw( LoadFile ); $y = LoadFile("marc21_framework_DEFAULT.yml");'
    Error!
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 5ead9529da75ca5fdd26e7411c5b3ee3487d0e1c
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Feb 5 11:55:45 2020 -0300

    Bug 24594: Rewrite authorities_normal_marc21 to YAML
    
    YAML version of marc21 mandatory authorities_normal_marc21.
    
    To test:
    1) Do a clean install with mandatory data,
       dump table auth_types, auth_tag_structure and
       auth_subfield_structure, reserve.
    
    2) Apply this patch and it's dependencies
    
    3) Do a clean install, dump again and compare
       No major differences expected
    
    4) Try translation
      a) Go to misc/translator
      b) create files for a new language
         ./translate create xx-YY
      c) Check new file po/xx-YY-instaler-MARC21.po
         Verify strings from this file.
      d) Install new language
         ./translate install xx-YY
      e) Try clean install with new files
    
    NOTE: This patch fails with qa tools!
    Reason is that qa tools use YAML.pm module to
    check files, but Installer.pm or LangInstaller.pm
    are using YAML::Syck, using that module gives
    no error, check for example:
    
    perl -e 'use YAML::Syck qw( LoadFile ); $y = LoadFile("authorities_normal_marc21.yml");'
    No error!
    
    perl -e 'use YAML qw( LoadFile ); $y = LoadFile("authorities_normal_marc21.yml");'
    Error!
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit d9b83c12c601ae43bcf67125e351c098b4fe1efa
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Mar 4 11:31:29 2020 -0300

    Bug 24593: (follow-up) fix sql statements
    
    Original inserted values depends on the order of insertion.
    This patch rewrites the sql statements to make them order
    independent
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 0f020eabbdb0d1cd358c396959049bc11631ebf2
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Feb 5 11:12:27 2020 -0300

    Bug 24593: Rewrite marc21_simple_bib_frameworks to YAML
    
    YAML version of marc21_simple_bib_frameworks
    
    To test:
    1) Same test plan of first patch
    
    NOTE: Same problem as first patch with qa tools
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit ff39a08302f48dd127cc835686f0eef01897dc47
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Feb 5 11:08:37 2020 -0300

    Bug 24593: Rewrite marc21_sample_fastadd_framework to YAML
    
    YAML version of marc21_sample_fastadd_framework
    
    To test:
    1) Same test plan of first patch
    
    NOTE: Same problem as first patch with qa tools
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 2c8f894b96dd2e340d3aa8562ba9914ccbfb1d4f
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Feb 5 10:11:16 2020 -0300

    Bug 24593: Rewrite marc21_default_matching_rules to YAML
    
    YAML version of marc21 optional marc21_default_matching_rules.
    
    To test:
    1) Do a clean install with optional data,
       dump table marc_matchers, reserve.
    
    2) Apply this patch and it's dependencies
    
    3) Do a clean install, dump again and compare
       No major differences expected
    
    4) Try translation
      a) Go to misc/translator
      b) create files for a new language
         ./translate create xx-YY
      c) Check new file po/xx-YY-instaler-MARC21.po
         Verify strings from this file.
      d) Install new language
         ./translate install xx-YY
      e) Try clean install with new files
    
    NOTE: This patch fails with qa tools!
    Reason is that qa tools use YAML.pm module to
    check files, but Installer.pm or LangInstaller.pm
    are using YAML::Syck, using that module gives
    no error, check for example:
    
    perl -e 'use YAML::Syck qw( LoadFile ); $y = LoadFile("marc21_default_matching_rules.yml");'
    No error!
    
    perl -e 'use YAML qw( LoadFile ); $y = LoadFile("marc21_default_matching_rules.yml");'
    Error!
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 95884c204c5bfd8f97bf0580dbf40a3e12d15f8b
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Feb 5 09:53:12 2020 -0300

    Bug 24584: Rewrite optional/sample_z3950_servers to YAML
    
    YAML version of optional sample_z3950_servers
    
    To test:
    1) Same test plan of first patch, only check table
       z3950servers
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 29411e38ee4c9122d8d9dffab1e13bcecc62f66c
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Feb 5 09:51:16 2020 -0300

    Bug 24584: Rewrite optional/sample_quotes to YAML
    
    YAML version of optional sample_quotes
    
    To test:
    1) Same test plan of first patch, only check table
       quotes
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 08b65033d0617327645bd4ddc902eed851ff0f8e
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Feb 5 09:49:14 2020 -0300

    Bug 24584: Rewrite optional/sample_patrons to YAML
    
    YAML version of optional sample_patrons
    
    To test:
    1) Same test plan of first patch, only check table
       borrowers
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit e3ed060fb02528032787b56d5637f336be6bac0f
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Feb 5 09:46:28 2020 -0300

    Bug 24584: Rewrite optional/sample_news to YAML
    
    YAML version of optional sample_news
    
    To test:
    1) Same test plan of first patch, only check table
       opac_news
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 89ced6c9a01a5751446af3ab7cb32b64a51a07f8
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Feb 5 09:44:28 2020 -0300

    Bug 24584: Rewrite optional/sample_libraries_holidays to YAML
    
    YAML version of optional sample_libraries_holidays
    
    To test:
    1) Same test plan of first patch, only check table
       repeatable_holidays
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit c5ac1d23f2720b975ab8bce0c798f5642d7747c3
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Feb 5 09:42:17 2020 -0300

    Bug 24584: Rewrite optional/sample_libraries to YAML
    
    YAML version of optional sample_libraries
    
    To test:
    1) Same test plan of first patch, only check table
       branches
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit e49f3ce3ab59b8e28697cdce3d7bc9eb204185d7
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Feb 5 09:39:52 2020 -0300

    Bug 24584: Rewrite optional/sample_itemtypes to YAML
    
    YAML version of optional sample_itemtypes
    
    To test:
    1) Same test plan of first patch, only check table
       itemtypes
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 77964c9e123a7f7ffb9acc151010ec7ff12e7308
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Feb 5 09:35:53 2020 -0300

    Bug 24584: Rewrite optional/sample_creator_data to YAML
    
    YAML version of optional sample_creator_data
    
    To test:
    1) Same test plan of first patch, only check tables
       creator_layouts, creator_templates and printers_profile
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 6f90d1f3bd3b73f28c21a510c90a75e69c24b389
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Wed Feb 5 09:32:10 2020 -0300

    Bug 24584: Rewrite optional/patron_categories to YAML
    
    YAML version of optional patron_categories
    
    To test:
    1) Same test plan of first patch, only check table
       categories
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit a57754825f4a2d3d1ade770ef2d40c7e7ef5ffd5
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Tue Feb 4 21:27:01 2020 -0300

    Bug 24584: Rewrite optional/patron_atributes to YAML
    
    YAML version of optional patron_atributes
    
    To test:
    1) Same test plan of first patch, only check table
       borrower_attribute_types
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 3af76ad5c473c15e6aa8f7da0fbd6a891112da29
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Tue Feb 4 21:01:27 2020 -0300

    Bug 24584: Rewrite optional/parameters to YAML
    
    YAML version of optional parameters
    
    To test:
    1) Same test plan of first patch, only check table
       currency
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 1c1693ddccf92573510782fff19ca0fd9c6ada09
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Tue Feb 4 21:17:00 2020 -0300

    Bug 24584: Rewrite optional/marc21_relatorterms to YAML
    
    YAML version of optional marc21_relatorterms
    
    To test:
    1) Same test plan of first patch, only check table
       authorised_values
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit e848d36412f60e2553301f6d6c9032140744f627
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Tue Feb 4 21:07:44 2020 -0300

    Bug 24584: Rewrite optional/marc21_holdings_coded_values to YAML
    
    YAML version of optional marc21_holdings_coded_values
    
    To test:
    1) Same test plan of first patch, only check table
       authorised_values
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 77b0151c9d2f532421ee7c906b94d1c4fa26bd17
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Tue Feb 4 20:56:30 2020 -0300

    Bug 24584: Rewrite optional/csv_profiles to YAML
    
    YAML version of optional csv_profiles.
    
    To test:
    1) Do a clean install with optional data,
       dump table export_format, reserve.
    
    2) Apply this patch and it's dependencies
    
    3) Do a clean install, dump again and compare
       No major differences expected
    
    4) Try translation
      a) Go to misc/translator
      b) create files for a new language
         ./translate create xx-YY
      c) Check new file po/xx-YY-instaler.po
         Verify strings from this file.
      d) Install new language
         ./translate install xx-YY
      e) Try clean install with new files
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 8ad61cb07abd8a192abe29580cf368ab3cee9e44
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Thu Mar 5 10:21:55 2020 -0300

    Bug 24583: (follow-up) restore null values to labels
    
    This patch adds null values to selected label2/3 in
    sample numberpatterns
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit e2fceec873300a4df70e332bf25ae32c22dc5253
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Tue Feb 4 20:34:54 2020 -0300

    Bug 24583: Rewrite mandatory/sample_numberpatterns to YAML
    
    YAML version of mandatory sample_numberpatterns
    
    To test:
    1) Same test plan of first patch, only check table
       subscription_numberpatterns
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 01efbbf8c6cf6b42c2fbcff5eb704b2d63468d76
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Tue Feb 4 20:07:43 2020 -0300

    Bug 24583: Rewrite mandatory/sample_notices to YAML
    
    YAML version of mandatory sample_notices
    
    To test:
    1) Same test plan of first patch, only check table
       letter
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 23b9c058ce36f559f646121a568b2d5c165aff88
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Tue Feb 4 20:05:31 2020 -0300

    Bug 24583: Rewrite mandatory/sample_frequencies to YAML
    
    YAML version of mandatory sample_frequencies
    
    To test:
    1) Same test plan of first patch, only check table
       subscription_frequencies
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit dd287a7b7f64b0ce952fcb9b14fbe8cec130ad11
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Tue Feb 4 19:58:09 2020 -0300

    Bug 24583: Rewrite mandatory/class_sources to YAML
    
    YAML version of mandatory class_sources
    
    To test:
    1) Same test plan of first patch, only check tables
       class_sort_rules, class_split_rules and class_sources
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit c56e8b58d972bb2e77394e1b9b9da885290a2288
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Tue Feb 4 19:45:07 2020 -0300

    Bug 24583: Rewrite mandatory/auth_values to YAML
    
    YAML version of mandatory auth_values.
    
    To test:
    1) Do a clean install, dump auth_values, reserve.
    
    2) Apply this patch and it's dependencies
    
    3) Do a clean install, dump again and compare
       No differences expected
    
    4) Try translation
      a) Go to misc/translator
      b) create files for a new language
         ./translate create xx-YY
      c) Check new file po/xx-YY-instaler.po
         Verify strings from this file.
      d) Install new language
         ./translate install xx-YY
      e) Try clean install with new files
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 31774a2ee8583f49bc204ce75e8a25030fcab0ac
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Thu Mar 5 10:23:53 2020 -0300

    Bug 24262: (follow-up) admit null values on labels
    
    This patch adds handling of null values on translatable
    labels.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 33c1ddf86b198677cca49e56b8b566288e01ec1f
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Fri Dec 20 10:53:11 2019 -0300

    Bug 24262: Translate installer data in YAML format
    
    This patch adds the ability to:
    1) Create new translation files from yaml installer files
    2) Create installer directory for a given language
    
    It will not create a installer directory if it already exists.
    
    New (possible) translation files:
      xx-YY-installer.po
      xx-YY-installer-MARC21.po
      xx-YY-installer-UNIMARC.po
    
    Needs Bug 13897 (for yaml files)
    
    NOTE: updated version adding ability to process multiline
    fields, discard small ( < 2) strings, and discard strings
    with pure html, TT or punctuation.
    
    To test:
    1) Apply patches from Bug 13897
    2) Apply this patch
    3) Go to misc/translation
    4) Create translation files for a NEW language
       $ ./translate create xx-YY
    
       check new file 'xx-YY-installer.po'
    
    5) Copy ../../installer/data/mysql/en/optional/auth_val.yml
       into ../../installer/data/mysql/en/marcflavour/marc21/mandatory/
       and ../../installer/data/mysql/en/marcflavour/unimarc/mandatory/
    
       remove po/xx-YY*, then repeat creation
    
       check new files 'xx-YY-installer.po', 'xx-YY-installer-MARC21.po'
       and 'xx-YY-installer-UNIMARC.po'
    
       remove all new files
    
    6) Create for xx-YY again and try update
       $ ./translate create xx-YY
       edit ../../installer/data/mysql/en/optional/auth_val.yml
       and change one char in one of the translatable values,
       also edit 'xx-YY-installer.po', translate the same
       string (in msgstr).
    
       Do an update
       $ ./translate update xx-YY
    
       check in 'xx-YY-installer.po' a fuzzy value for the
       translated value and the preservation of the translation
       Fix the translation, or add a new one.
    
    7) Create an install dir for xx-YY
       ./translate install xx-YY
    
        Check new dir '../../installer/data/mysql/xx-YY/'
        Check files on it
        $ tree ../../installer/data/mysql/xx-YY/
        and compare with ../../installer/data/mysql/en/
    
        All installation files must be present
    
    8) Try a new Koha install using this language in the
       usual way.
       Check in authorised_values table for the translated string.
    
    9) Try create an install dir for an existing language
       (eg. es-ES, de-DE or fr-FR ), eg.
       ./translate install de-DE
    
       Install dir is detected and not changed, a note is printed.
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit e925eb7a145bd6e206d6770ce7c73dbc32d1decd
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Feb 12 11:27:39 2020 +0100

    Bug 13897: Surround columns with backticks
    
    We have some column's names that need to be surrounded by ` as they are
    protected keywords ('rows' for instance)
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 131183b0bfcb909be44fc64a0e78b30f97135f9b
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Thu Jan 30 11:30:30 2020 -0300

    Bug 13897: Process description, multiline values and SQL statements in YAML files
    
    This patch adds 3 features:
    1) Display description of YAML files at install time
       for frameworks, and fixes it's encoding.
    2) Enable use of multiline values, field required
    3) Process SQL statements declared in YAML files
    
    With this features we can process files with the
    following generic YAML strucure:
    
      ---
      description:
        - "File description"
    
      tables:
        - table_name:
            translatable: [ title, content ]
            multiline: [ content ]
            rows:
              - title: "Example title"
                content:
                  - "Content:"
                  - ""
                  - "This is the content."
                id: 1
                value: ~
    
      sql_statements:
        - "UPDATE table_name SET value ='empty' WHERE value IS NULL"
      ...
    
    * file description is now inside the YAML, can have multiple
      lines.
      This attribute is expected in all YAML files.
    * translatable attribute in table declare fields that can be
      translated
    * multiline attribute in table declare fields that can have
      multiple lines of content, they are joined using '\r\n'
      before insert into database.
      This is useful to express fields like 'news' content, and
      to simplify it's translation.
      '\r\n' is used for correct display in Windows clients.
    * sql_statements allows to add multiple SQL sentences, not
      insertions normally, that are executed in order.
    
    This features are not needed for the example file of this patch,
    but will be used in new bugs.
    
    To test:
    1) Use the same test plan of first patch.
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit fc861f1ed93b44b5d0068f247894a77da0931c75
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Dec 18 09:27:59 2019 +0100

    Bug 13897: Catch the error and warn it
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 3edee6db6fa7f5e3c673dfa890e032f90ff234ed
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Thu Nov 28 19:06:35 2019 -0300

    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 at ptfs-europe.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

-----------------------------------------------------------------------

Summary of changes:
 C4/Installer.pm                                    |    83 +-
 installer/data/mysql/en/mandatory/auth_values.sql  |     6 -
 installer/data/mysql/en/mandatory/auth_values.txt  |     1 -
 installer/data/mysql/en/mandatory/auth_values.yml  |    60 +
 .../data/mysql/en/mandatory/class_sources.sql      |    41 -
 .../data/mysql/en/mandatory/class_sources.txt      |     1 -
 .../data/mysql/en/mandatory/class_sources.yml      |    98 +
 .../data/mysql/en/mandatory/sample_frequencies.sql |    16 -
 .../data/mysql/en/mandatory/sample_frequencies.txt |     1 -
 .../data/mysql/en/mandatory/sample_frequencies.yml |   105 +
 .../data/mysql/en/mandatory/sample_notices.sql     |   384 -
 .../data/mysql/en/mandatory/sample_notices.txt     |     1 -
 .../data/mysql/en/mandatory/sample_notices.yml     |  1148 +
 .../mysql/en/mandatory/sample_numberpatterns.sql   |    25 -
 .../mysql/en/mandatory/sample_numberpatterns.txt   |     1 -
 .../mysql/en/mandatory/sample_numberpatterns.yml   |   119 +
 .../marc21/mandatory/authorities_normal_marc21.sql |  2389 -
 .../marc21/mandatory/authorities_normal_marc21.txt |    11 -
 .../marc21/mandatory/authorities_normal_marc21.yml | 32953 ++++++++
 .../marc21/mandatory/marc21_framework_DEFAULT.sql  |  4681 --
 .../marc21/mandatory/marc21_framework_DEFAULT.txt  |     1 -
 .../marc21/mandatory/marc21_framework_DEFAULT.yml  | 78107 +++++++++++++++++++
 .../optional/marc21_default_matching_rules.sql     |    46 -
 .../optional/marc21_default_matching_rules.txt     |     5 -
 .../optional/marc21_default_matching_rules.yml     |    70 +
 .../optional/marc21_sample_fastadd_framework.sql   |    88 -
 .../optional/marc21_sample_fastadd_framework.txt   |     1 -
 .../optional/marc21_sample_fastadd_framework.yml   |   117 +
 .../optional/marc21_simple_bib_frameworks.sql      |   494 -
 .../optional/marc21_simple_bib_frameworks.txt      |    10 -
 .../optional/marc21_simple_bib_frameworks.yml      |   502 +
 installer/data/mysql/en/optional/auth_val.sql      |    86 -
 installer/data/mysql/en/optional/auth_val.txt      |     1 -
 installer/data/mysql/en/optional/auth_val.yml      |   294 +
 installer/data/mysql/en/optional/csv_profiles.sql  |     2 -
 installer/data/mysql/en/optional/csv_profiles.txt  |     3 -
 installer/data/mysql/en/optional/csv_profiles.yml  |    36 +
 .../en/optional/marc21_holdings_coded_values.sql   |   146 -
 .../en/optional/marc21_holdings_coded_values.txt   |     2 -
 .../en/optional/marc21_holdings_coded_values.yml   |   509 +
 .../data/mysql/en/optional/marc21_relatorterms.sql |   226 -
 .../data/mysql/en/optional/marc21_relatorterms.txt |     1 -
 .../data/mysql/en/optional/marc21_relatorterms.yml |   919 +
 installer/data/mysql/en/optional/parameters.sql    |     5 -
 installer/data/mysql/en/optional/parameters.txt    |     1 -
 installer/data/mysql/en/optional/parameters.yml    |    47 +
 .../data/mysql/en/optional/patron_atributes.sql    |     2 -
 .../data/mysql/en/optional/patron_atributes.txt    |     2 -
 .../data/mysql/en/optional/patron_atributes.yml    |    36 +
 .../data/mysql/en/optional/patron_categories.sql   |    23 -
 .../data/mysql/en/optional/patron_categories.txt   |    21 -
 .../data/mysql/en/optional/patron_categories.yml   |   209 +
 .../data/mysql/en/optional/sample_creator_data.sql |    34 -
 .../data/mysql/en/optional/sample_creator_data.txt |     1 -
 .../data/mysql/en/optional/sample_creator_data.yml |   259 +
 .../data/mysql/en/optional/sample_itemtypes.sql    |     9 -
 .../data/mysql/en/optional/sample_itemtypes.txt    |     1 -
 .../data/mysql/en/optional/sample_itemtypes.yml    |    83 +
 .../data/mysql/en/optional/sample_libraries.sql    |    16 -
 .../data/mysql/en/optional/sample_libraries.txt    |     1 -
 .../data/mysql/en/optional/sample_libraries.yml    |    75 +
 .../en/optional/sample_libraries_holidays.sql      |     4 -
 .../en/optional/sample_libraries_holidays.txt      |     1 -
 .../en/optional/sample_libraries_holidays.yml      |    51 +
 installer/data/mysql/en/optional/sample_news.sql   |     2 -
 installer/data/mysql/en/optional/sample_news.txt   |     1 -
 installer/data/mysql/en/optional/sample_news.yml   |    52 +
 .../data/mysql/en/optional/sample_patrons.sql      |    51 -
 .../data/mysql/en/optional/sample_patrons.txt      |     1 -
 .../data/mysql/en/optional/sample_patrons.yml      |  2427 +
 installer/data/mysql/en/optional/sample_quotes.sql |    34 -
 installer/data/mysql/en/optional/sample_quotes.txt |     1 -
 installer/data/mysql/en/optional/sample_quotes.yml |   154 +
 .../mysql/en/optional/sample_z3950_servers.sql     |    11 -
 .../mysql/en/optional/sample_z3950_servers.txt     |     5 -
 .../mysql/en/optional/sample_z3950_servers.yml     |    82 +
 misc/translator/LangInstaller.pm                   |   291 +-
 77 files changed, 118859 insertions(+), 8924 deletions(-)
 delete mode 100644 installer/data/mysql/en/mandatory/auth_values.sql
 delete mode 100644 installer/data/mysql/en/mandatory/auth_values.txt
 create mode 100644 installer/data/mysql/en/mandatory/auth_values.yml
 delete mode 100644 installer/data/mysql/en/mandatory/class_sources.sql
 delete mode 100644 installer/data/mysql/en/mandatory/class_sources.txt
 create mode 100644 installer/data/mysql/en/mandatory/class_sources.yml
 delete mode 100644 installer/data/mysql/en/mandatory/sample_frequencies.sql
 delete mode 100644 installer/data/mysql/en/mandatory/sample_frequencies.txt
 create mode 100644 installer/data/mysql/en/mandatory/sample_frequencies.yml
 delete mode 100644 installer/data/mysql/en/mandatory/sample_notices.sql
 delete mode 100644 installer/data/mysql/en/mandatory/sample_notices.txt
 create mode 100644 installer/data/mysql/en/mandatory/sample_notices.yml
 delete mode 100644 installer/data/mysql/en/mandatory/sample_numberpatterns.sql
 delete mode 100644 installer/data/mysql/en/mandatory/sample_numberpatterns.txt
 create mode 100644 installer/data/mysql/en/mandatory/sample_numberpatterns.yml
 delete mode 100644 installer/data/mysql/en/marcflavour/marc21/mandatory/authorities_normal_marc21.sql
 delete mode 100644 installer/data/mysql/en/marcflavour/marc21/mandatory/authorities_normal_marc21.txt
 create mode 100644 installer/data/mysql/en/marcflavour/marc21/mandatory/authorities_normal_marc21.yml
 delete mode 100644 installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql
 delete mode 100644 installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.txt
 create mode 100644 installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml
 delete mode 100644 installer/data/mysql/en/marcflavour/marc21/optional/marc21_default_matching_rules.sql
 delete mode 100644 installer/data/mysql/en/marcflavour/marc21/optional/marc21_default_matching_rules.txt
 create mode 100644 installer/data/mysql/en/marcflavour/marc21/optional/marc21_default_matching_rules.yml
 delete mode 100644 installer/data/mysql/en/marcflavour/marc21/optional/marc21_sample_fastadd_framework.sql
 delete mode 100644 installer/data/mysql/en/marcflavour/marc21/optional/marc21_sample_fastadd_framework.txt
 create mode 100644 installer/data/mysql/en/marcflavour/marc21/optional/marc21_sample_fastadd_framework.yml
 delete mode 100644 installer/data/mysql/en/marcflavour/marc21/optional/marc21_simple_bib_frameworks.sql
 delete mode 100644 installer/data/mysql/en/marcflavour/marc21/optional/marc21_simple_bib_frameworks.txt
 create mode 100644 installer/data/mysql/en/marcflavour/marc21/optional/marc21_simple_bib_frameworks.yml
 delete mode 100644 installer/data/mysql/en/optional/auth_val.sql
 delete mode 100644 installer/data/mysql/en/optional/auth_val.txt
 create mode 100644 installer/data/mysql/en/optional/auth_val.yml
 delete mode 100644 installer/data/mysql/en/optional/csv_profiles.sql
 delete mode 100644 installer/data/mysql/en/optional/csv_profiles.txt
 create mode 100644 installer/data/mysql/en/optional/csv_profiles.yml
 delete mode 100644 installer/data/mysql/en/optional/marc21_holdings_coded_values.sql
 delete mode 100644 installer/data/mysql/en/optional/marc21_holdings_coded_values.txt
 create mode 100644 installer/data/mysql/en/optional/marc21_holdings_coded_values.yml
 delete mode 100644 installer/data/mysql/en/optional/marc21_relatorterms.sql
 delete mode 100644 installer/data/mysql/en/optional/marc21_relatorterms.txt
 create mode 100644 installer/data/mysql/en/optional/marc21_relatorterms.yml
 delete mode 100644 installer/data/mysql/en/optional/parameters.sql
 delete mode 100644 installer/data/mysql/en/optional/parameters.txt
 create mode 100644 installer/data/mysql/en/optional/parameters.yml
 delete mode 100644 installer/data/mysql/en/optional/patron_atributes.sql
 delete mode 100644 installer/data/mysql/en/optional/patron_atributes.txt
 create mode 100644 installer/data/mysql/en/optional/patron_atributes.yml
 delete mode 100644 installer/data/mysql/en/optional/patron_categories.sql
 delete mode 100644 installer/data/mysql/en/optional/patron_categories.txt
 create mode 100644 installer/data/mysql/en/optional/patron_categories.yml
 delete mode 100644 installer/data/mysql/en/optional/sample_creator_data.sql
 delete mode 100644 installer/data/mysql/en/optional/sample_creator_data.txt
 create mode 100644 installer/data/mysql/en/optional/sample_creator_data.yml
 delete mode 100644 installer/data/mysql/en/optional/sample_itemtypes.sql
 delete mode 100644 installer/data/mysql/en/optional/sample_itemtypes.txt
 create mode 100644 installer/data/mysql/en/optional/sample_itemtypes.yml
 delete mode 100644 installer/data/mysql/en/optional/sample_libraries.sql
 delete mode 100644 installer/data/mysql/en/optional/sample_libraries.txt
 create mode 100644 installer/data/mysql/en/optional/sample_libraries.yml
 delete mode 100644 installer/data/mysql/en/optional/sample_libraries_holidays.sql
 delete mode 100644 installer/data/mysql/en/optional/sample_libraries_holidays.txt
 create mode 100644 installer/data/mysql/en/optional/sample_libraries_holidays.yml
 delete mode 100644 installer/data/mysql/en/optional/sample_news.sql
 delete mode 100644 installer/data/mysql/en/optional/sample_news.txt
 create mode 100644 installer/data/mysql/en/optional/sample_news.yml
 delete mode 100644 installer/data/mysql/en/optional/sample_patrons.sql
 delete mode 100644 installer/data/mysql/en/optional/sample_patrons.txt
 create mode 100644 installer/data/mysql/en/optional/sample_patrons.yml
 delete mode 100644 installer/data/mysql/en/optional/sample_quotes.sql
 delete mode 100644 installer/data/mysql/en/optional/sample_quotes.txt
 create mode 100644 installer/data/mysql/en/optional/sample_quotes.yml
 delete mode 100644 installer/data/mysql/en/optional/sample_z3950_servers.sql
 delete mode 100644 installer/data/mysql/en/optional/sample_z3950_servers.txt
 create mode 100644 installer/data/mysql/en/optional/sample_z3950_servers.yml


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list