[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 04:53:56 CEST 2016


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

--- Comment #7 from Mason James <mtj at kohaaloha.com> ---
(In reply to Marcel de Rooy from comment #4)
> This is an interesting change.
> I added an see-also to a blocked bug 13971 from myself. I was not yet
> satisfied with the solution there.
> 
> Instead of passing the kohadir on all individual scripts like koha-shell
> here, koha-rebuild-zebra or even another one in the other see-also, imo we
> would benefit from a more general approach.
> The get_perl5lib function in koha-functions.sh would do (from 13971); we
> should forget the other function is_gitified.
> 
> Instead of passing the alternative path all the time, why not once record it
> in koha-conf.xml ? What do you think ?

just my 2 cents...  we need to know 2 things here...

1/ what the base directory of the Koha is?
2/ what kind of install type the Koha is? (eg: tar, git, .deb), as the
directory structure is difference for each type

we do need something like a is_gitified() function, that checks the
koha-conf.xml file for some value

knowing the base directory of the Koha, and 'guessing' the install type - wont
give us enough info to sort this problem?

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


More information about the Koha-bugs mailing list