[Koha-bugs] [Bug 6540] Make ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE configurable for koha-create

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jul 17 23:49:06 CEST 2011


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

Magnus Enger <magnus at enger.priv.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|robin at catalyst.net.nz       |magnus at enger.priv.no

--- Comment #3 from Magnus Enger <magnus at enger.priv.no> 2011-07-17 21:49:06 UTC ---
Created attachment 4649
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4649
Proposed patch

This patch should make it possible to set ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE
by way of /etc/koha/koha-sites.conf

This patch does NOT create command line options for ZEBRA_MARC_FORMAT and
ZEBRA_LANGUAGE - that seems to be beyond my shell scripting abilities at the
moment, but hopefully it still a step in the right direction. 

Maybe koha-create would be a good candidate for rewriting as a Perl script
anyway, as suggested by Bug 4876, and similar to what was done for
build-git-snapshot by Bug 5602? 

To test: 
* Apply patch
* Build packages with build-git-snapshot
* Install your newly built koha-common
* Set ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE to something other than the defaults
in /etc/koha/koha-sites.conf: 
ZEBRA_MARC_FORMAT="unimarc|normarc"
ZEBRA_LANGUAGE="fr|nb"
* Create a new instance with koha-create
* Check that the values you set are reflected in the "profilePath" line in the
/etc/koha/sites/<yoursite>/zebra-* files that were created
* Check that indexing and searching works as expected

(Remember to change the example at
http://wiki.koha-community.org/wiki/Debian#Quick_Start if this gets pushed.)

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list