[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
Mon Apr 11 13:19:59 CEST 2016


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

--- Comment #11 from Mason James <mtj at kohaaloha.com> ---
Created attachment 50125
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50125&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 adds a new --gitify arg to koha-shell, to be used with the new -d
option

to test new --gitify arg...

1/ apply 1st patch

2/ run a "koha-shell -c 'which koha-*'" on a Koha tool, with -d arg

 # perl ~/koha-master/debian/scripts/koha-shell  -d ~/koha-master  -c 'which
koha-list ' moof
/usr/sbin/koha-list <<<<

3/ observe existing /usr/share/koha/* file is selected, hmm...

4/ apply 2nd patch - and repeat 2/ with --gitify arg

 # perl ~/koha-master/debian/scripts/koha-shell  -d ~/koha-master  -g -c 'which
koha-list ' moof
~/koha-master/debian/scripts/koha-list <<<<

5/ observe file from the git repo is now selected

 .-=bonus points, xXxtra merit=-.
6/ run tool to make sure it works
 # perl ~/koha-master/debian/scripts/koha-shell  -d ~/koha-master  -g -c
'koha-list' moof
...

7/ run the old tool too
 # perl ~/koha-master/debian/scripts/koha-shell  -c 'koha-list' moof
...

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


More information about the Koha-bugs mailing list