[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 14:06:47 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13216
Mason James <mtj at kohaaloha.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50125|0 |1
is obsolete| |
--- Comment #12 from Mason James <mtj at kohaaloha.com> ---
Created attachment 50126
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50126&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