[koha-commits] main Koha release repository branch 19.05.x updated. v19.05.07-31-g8a98bcb05a

Git repo owner gitmaster at git.koha-community.org
Thu Feb 6 16:12:36 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, 19.05.x has been updated
       via  8a98bcb05ade420cb8ca1b7b13b8ff1eb6c3168b (commit)
       via  528ac9395045044e6204b130e01d9b00e0c6268a (commit)
      from  936a69aba75061b3323daa657cbc21c3d27b5403 (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 8a98bcb05ade420cb8ca1b7b13b8ff1eb6c3168b
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Fri Jan 10 10:49:45 2020 +0000

    Bug 23377: (QA follow-up) Use OVERRIDE_SYSPREF
    
    SYSPREF_OVERRIDE unfortunately is not supported ;)
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>
    (cherry picked from commit a8659229be16dc8d8b2beaae370528afd373192e)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

commit 528ac9395045044e6204b130e01d9b00e0c6268a
Author: Ian Walls <ian at bywatersolutions.com>
Date:   Wed Jul 31 16:32:23 2019 +0000

    Bug 23377: use ENV syspref override instead of complete disable
    
    In an attempt to save time, bulkmarcimport temporarily sets CataloguingLog
    and AuthoritiesLog to 0.  It does this by disabling syspref caching and saving
    the changes to the database (then replacing the original values at completion).
    
    Unfortunately, this disables other key sysprefs from being cached, and results in
    a 50% increase in processing time for the script.
    
    This patch instead utilizes the ENV variable override feature of sysprefs, which
    preempts the cache in C4::Context->preference().
    
    To test:
    1. Perform a bulkmarcimport with a reasonable number of biblios (~1000 will do)
    2. Note the time taken to complete
    3. Apply patch
    4. Revert the biblio load performed
    5. Perform another bulkmarcimport with the same biblios and commandline options
    6. Note the time taken to complete
    7. Compare times.  The time from step 6 should be about 33% less than the time from step 2
    8. Check Cataloguing and Authorities Logs to verify imported records were not logged
    9. Profit!
    
    Signed-off-by: Michal Denar <black23 at gmail.com>
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>
    (cherry picked from commit 91befb973d9b646b15c78ba535348fa2cf139639)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 misc/migration_tools/bulkmarcimport.pl | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list