[koha-commits] main Koha release repository branch master updated. v16.11.00-973-g4d941f3

Git repo owner gitmaster at git.koha-community.org
Fri May 5 17:13:51 CEST 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  4d941f36c72cedd1f006025393b194a8d695e298 (commit)
      from  1f007ca2e93aa05abdeb8ae78a59b313074abaf0 (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 4d941f36c72cedd1f006025393b194a8d695e298
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu Apr 27 11:37:27 2017 -0300

    Bug 18502: Make koha-shell set the right PERL5LIB on dev installs
    
    Bug 16749 introduced a nice way to have flexible paths. During the discussion on how to do it, we moved from having it contain the path to the git dir to just a boolean. The 'koha-shell' script didn't get attention it seems, and it is broken on dev installs.
    
    This was hidden by the fact that many of us run dev installs on kohadevbox, which sets a .bashrc file for de instance's user, containing the right path when opening the new shell.
    
    This patch changes the logic so on a dev install, intranetdir is picked as the right path. This is how it is handled in koha-functions.sh
    
    To test:
    - On kohadevbox, run:
      $ sudo koha-shell kohadev -c "perl misc4dev/populate_db.pl"
    => FAIL: C4/Installer.pm not found on PERL5LIB error.
    - Apply this patch
    - Replace /usr/bin/koha-shell with debian/scripts/koha-shell
      $ sudo cp kohaclone/debian/scripts/koha-shell /usr/bin/koha-shell
    - Run:
      $ sudo koha-shell kohadev -c "perl misc4dev/populate_db.pl"
    => SUCCESS: No warning about missing libs is raised.
    - Sign off :-D
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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

Summary of changes:
 debian/scripts/koha-shell |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list