http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13971
M. de Rooy <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #37582|0 |1 is obsolete| | --- Comment #4 from M. de Rooy <[email protected]> --- Created attachment 37616 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37616&action=edit Bug 13971: Adjusted locations in koha-rebuild-zebra for gitified instance This patch adds a few lines to koha-rebuild-zebra in order to adjust the locations for PERL5LIB and rebuild_zebra.pl script. It also adds two functions to koha-functions: is_gitified and get_perl5lib. It builds on the notion that koha-conf.xml contains a <gitified> tag for gitified installs. It also looks for a perl5lib tag in koha-conf. NOTE: If the gitified or the perl5lib tag does not exist, behavior does not change. I will submit a separate follow-up report for adding those tags. The use of function get_perl5lib can replace hardcoded paths in the other scripts too; I will also move that to a new report. Furthermore, I would like to use the Zebra setup from the gitified instance instead of the default files in /etc/koha/zebradb. Will put that in another report too. Test plan: [1] Verify that your koha-conf does not contain: <gitified>1</gitified> [2] Run koha-rebuild-zebra -a -b -v [instance] [3] If you have a gitified instance, add the gitified tag to your koha-conf and the path in a perl5lib tag. [4] Run koha-rebuild-zebra -a -b -v [instance] Verify that you run the right version of rebuild_zebra.pl. You could do that by adding a simple debug print. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
