[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.03-27-g670193ad16

Git repo owner gitmaster at git.koha-community.org
Fri Sep 4 17:55:06 CEST 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, 20.05.x has been updated
       via  670193ad16c7d5e6f288bc6288a0a033f8e02026 (commit)
      from  7bc51edc0f028cc73bd3214cf35981c2f4a4ec2e (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 670193ad16c7d5e6f288bc6288a0a033f8e02026
Author: David Cook <dcook at prosentient.com.au>
Date:   Fri Aug 14 01:49:40 2020 +0000

    Bug 25778: Fix var scope in koha-plack for PERL5LIB and KOHA_HOME
    
    Currently, if a koha-plack is given multiple instances, it will create
    duplicate $KOHA_HOME/installer and $KOHA_HOME/installer/lib entries
    in PERL5LIB as these changes are done at the global rather than local level.
    
    This issue can only be seen in non-dev Koha, since dev Koha installs
    rewrite PERL5LIB.
    
    This patch localizes PERL5LIB to each instance.
    
    To test dev installs:
    0. cp debian/scripts/koha-plack /usr/sbin/koha-plack
    1. koha-plack --restart kohadev
    2. Note that nothing breaks
    
    To test non-dev installs:
    0. Don't replace /usr/sbin/koha-plack yet
    1. Create multiple non-dev installs with plack enabled and running
    2. Set up one of these non-dev installs so you can use the web
    UI (that is beyong the scope of this test plan)
    3. koha-plack --restart test1 test2 test3
    4. For test3, go to /cgi-bin/koha/about.pl
    5. Note that there are duplicate /usr/share/koha/installer
    and /usr/share/koha/lib/installer entries in PERL5LIB
    6. cp debian/scripts/koha-plack /usr/sbin/koha-plack
    7. koha-plack --restart test1 test2 test3
    8. For test3, go to /cgi-bin/koha/about.pl
    9. Note that there are no duplicates entries in PERL5LIB
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 89721cb42b3928c745677c70fd9061273d1848dd)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 debian/scripts/koha-plack | 90 ++++++++++++++++++++++++++---------------------
 1 file changed, 49 insertions(+), 41 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list