[Koha-bugs] [Bug 13216] fix koha-shell to work with git/dev installs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 13 16:51:07 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13216

Mason James <mtj at kohaaloha.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #50126|0                           |1
        is obsolete|                            |

--- Comment #17 from Mason James <mtj at kohaaloha.com> ---
Created attachment 50202
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50202&action=edit
Bug 13216 - fix koha-shell to work with git/dev installs

The aim of this patch is to enable developers to begin testing Koha tools from
a gitified Koha directory, using koha-shell

this patch set adds a --gitify arg and a --kohadir arg to koha-shell

To test:
gitify an install
apply both patches, then copy patched koha-shell to /usr/sbin dir

run sudo koha-shell instance
run env | grep PERL5LIB, it should be set to /usr/share/koha/lib

run sudo koha-shell -d /path/to/your/git/install instance
 run env | grep PERL5LIB, it should be set to /path/to/your/git/install
 run which koha-list, it should be set to /usr/sbin/koha-list

run sudo koha-shell -g -d /path/to/your/git/install instance
 run env | grep PERL5LIB, it should be set to /path/to/your/git/install
 run env | grep PATH, it should be set to
/path/to/your/git/install/debian/scripts:$PATH
 run env | grep KOHA_GITIFY, it should be set to 1
 run which koha-list, it should be set to
/path/to/your/git/install/debian/scripts/koha-list
 run koha-list, it should work as expected

run sudo koha-shell -g instance, it should give error...
 'You must supply --kohadir when using --gitify'

https://bugs.koha-community.org/show_bug.cgi?id=13295

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list