[koha-commits] main Koha release repository branch master updated. v16.11.00-317-g57568b9

Git repo owner gitmaster at git.koha-community.org
Fri Jan 20 15:19:50 CET 2017


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  57568b9a0bf38706e41580e5a9e48777793c00ac (commit)
       via  08ece513cd202a8d4bd26002b5e72746f971adeb (commit)
       via  2a7d595736d132dac5831f990bc17836d4d22bef (commit)
       via  2fc1b469e223065d168a6e33a0a7c541a76a6ada (commit)
       via  513618e627d90d7996267befe940ab850ef1fd62 (commit)
      from  7d140258a051921d78f46ac1d9e9443cbcfbd51b (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 57568b9a0bf38706e41580e5a9e48777793c00ac
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Mon Sep 12 12:22:05 2016 +0200

    Bug 16733: [Follow-up] Add $home to api path too
    
    In the meantime api was enabled in plack.psgi and needs a little tweak
    too for a dev install.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 08ece513cd202a8d4bd26002b5e72746f971adeb
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Wed Jun 15 14:08:28 2016 +0200

    Bug 16733: Adjust other debian scripts using PERL5LIB
    
    This patch makes the following changes:
    
    koha-foreach, koha-upgrade-schema (shell scripts):
    [1] Read default file
    [2] Include helper functions
    [3] Add call to adjust_paths_dev_install
    [4] Replace hardcoded path by $PERL5LIB
    
    koha-shell (perl script):
    [1] Remove hardcoded lib path
    [2] Add a sub that reads PERL5LIB from default or koha-conf, just as the
        shell scripts do.
    
    koha-plack (shell script), plack.psgi:
    [1] Add call to adjust_paths_dev_install
    [2] Remove hardcoded lib path
    [3] Add installer path to PERL5LIB, remove it from plack.pgsi
    
    koha-sitemap (shell script):
    [1] Add call to adjust_paths_dev_install
    [2] Remove hardcoded lib path
    [3] Add installer path to PERL5LIB
    [4] Adjust path for call to sitemap cron job
    
    koha-start-sip (shell script):
    [1] Read default file
    [2] Include helper functions
    [3] Add call to adjust_paths_dev_install
    [4] Adjust path to C4/SIP
    
    koha-stop-sip (shell script):
    [1] Remove KOHA_CONF and PERL5LIB (not needed to stop the daemon)
    [2] Same for paths in daemon client options
    
    NOTE: Script debian/scripts/koha-upgrade-to-3.4 has been left out
    intentionally.
    
    Test plan:
    [1] Regular install:
        Run koha-foreach echo Hi
        Run koha-upgrade-schema yourinstance
        Run koha-shell yourinstance
        If you have plack, run koha-plack --start|--stop yourinstance
        Run koha-sitemap --generate yourinstance
        Run koha-start-sip yourinstance
        Run koha-stop-sip yourinstance
    
    [2] Dev install [yourinstance] with <dev_install> in koha-conf.xml:
        Run koha-upgrade-schema yourinstance
        Run koha-shell yourinstance
        If you have plack: koha-plack --start|--stop yourinstance
        Run koha-sitemap --generate yourinstance
        Run koha-start-sip yourinstance
        Run koha-stop-sip yourinstance
    
    [3] Git grep on koha/lib
        You should no longer see occurrences in debian/scripts except:
        koha-translate: see report 16749
        koha-upgrade-to-3.4: left out intentionally
    
    [4] Git grep on koha/bin
        You should only see hits for lines with koha-functions in the
        debian scripts except:
        koha-upgrade-to-3.4: left out intentionally
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Most scripts tested on Wheezy (although it would not matter much).
    Plack script tested on Jessie.
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 2a7d595736d132dac5831f990bc17836d4d22bef
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Wed Jun 15 13:57:12 2016 +0200

    Bug 16733: Adjust koha-rebuild-zebra
    
    [1] Add a call to the new adjust_paths_dev_install
    [2] Differentiate location of rebuild_zebra.pl
    [3] Replace a hardcoded path by $PERL5LIB
    
    Test plan:
    Adjust a biblio record in package or dev install.
    Run koha-rebuild-zebra -b -z for same instance.
    Verify that the change has been indexed.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 2fc1b469e223065d168a6e33a0a7c541a76a6ada
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Wed Jun 15 13:43:41 2016 +0200

    Bug 16733: Adjust koha-indexer
    
    [1] Add a call to the new adjust_paths_dev_install
    [2] Differentiate location of rebuild_zebra.pl
    
    NOTE: The scripts assume koha-functions.sh to be in /usr/share/koha/bin.
    Finding a better location for this shell library may be hard.
    
    Test plan:
    Run koha-indexer for a regular package install or a dev install.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 513618e627d90d7996267befe940ab850ef1fd62
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Tue Jun 14 16:00:58 2016 +0200

    Bug 16733: Add adjust_paths_dev_install to koha-functions.sh
    
    This new function checks koha-conf.xml for a given instance and if it
    contains a dev_install line, it adjusts PERL5LIB and KOHA_HOME
    accordingly. Otherwise it does not touch the values of these
    variables as normally read from /etc/default/koha-common.
    
    The function will be used in various debian scripts to allow for more
    flexibility with dev installs. And at the same time aiming to make better
    use of PERL5LIB and KOHA_HOME.
    
    Test plan:
    [1] Add <dev_install>/not/there</dev_install> to your koha-conf.xml.
    [2] Run on the command line:
            PERL5LIB=test
            source [path-to-your-instance]/debian/scripts/koha-functions.sh
            echo $PERL5LIB
            adjust_paths_dev_install [name-of-your-instance]
            echo $PERL5LIB
        The last echo should be: /not/there
    [3] Remove the <dev_install> line and repeat step 2.
        The last echo should be: test
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 debian/scripts/koha-foreach        |   17 +++++++++++++++--
 debian/scripts/koha-functions.sh   |   19 +++++++++++++++++++
 debian/scripts/koha-indexer        |   14 +++++++++-----
 debian/scripts/koha-plack          |   23 +++++++++++++++++------
 debian/scripts/koha-rebuild-zebra  |   13 +++++++++++--
 debian/scripts/koha-shell          |   18 +++++++++++++++++-
 debian/scripts/koha-sitemap        |   12 ++++++++++--
 debian/scripts/koha-start-sip      |   23 +++++++++++++++++++++--
 debian/scripts/koha-stop-sip       |    9 +--------
 debian/scripts/koha-upgrade-schema |   25 ++++++++++++++++++++-----
 debian/templates/plack.psgi        |   10 ++++------
 11 files changed, 144 insertions(+), 39 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list