[Koha-bugs] [Bug 13971] Adjusted locations in koha-rebuild-zebra for gitified instance

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 9 13:21:06 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13971

--- Comment #5 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Robin Sheat from comment #3)
> So, Liz and I were chatting about this just yesterday. What I was thinking
> was having a library file/function that all the scripts run that exports
> PERL5LIB into the environment, taking it from, perhaps, koha-conf.xml.
> 
> Currently koha-conf.xml doesn't really have a facility for a path for this,
> but adding one wouldn't be a big deal.
> 
> On the other hand, I like better your more general (and easier to work with
> programmatically) method of having a file, though I'd be not inclined to
> call it 'gitify' just because it's useful in other situations too, I'm sure
> (though I don't know what :)
> 
> So yeah, like the plan and the approach, just think it should be generalised
> a bit more using the library stuff we have so it works for other scripts too
> (_especially_ koha-upgrade-schema.)

Thanks.
Submitted an adjusted patch for those two actually separate things:
1) get a path from koha-conf with get_perl5lib
2) get gitified status from koha-conf too with is_gitified (no longer a file)

So two new functions in koha-functions. Please look too at the scriptdir lines
in koha-rebuild-zebra at the start.

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


More information about the Koha-bugs mailing list