Bugzilla – Attachment 41297 Details for
Bug 12216
One should be able to override zebra configuration on a per instance basis
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 12216: One should be able to override zebra config
SIGNED-OFF-Bug-12216-One-should-be-able-to-overrid.patch (text/plain), 5.12 KB, created by
Tomás Cohen Arazi (tcohen)
on 2015-08-02 13:33:29 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 12216: One should be able to override zebra config
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2015-08-02 13:33:29 UTC
Size:
5.12 KB
patch
obsolete
>From 1ce94e595c3d4b0e4147d73b19b84d21debe36ac Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 8 May 2014 15:48:42 +0000 >Subject: [PATCH] [SIGNED OFF] Bug 12216: One should be able to override zebra > config > >One should be able to override zebra configuration on a per instance >basis. This patch adds /etc/koha/sites/instance to the 'profilePath' >in the zebra config files such that that location is sources first >for any override config files. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Great catch Martin. I thought this was already pushed by the way. >--- > debian/templates/zebra-authorities-dom-site.cfg.in | 2 +- > debian/templates/zebra-authorities-site.cfg.in | 2 +- > debian/templates/zebra-biblios-dom-site.cfg.in | 2 +- > debian/templates/zebra-biblios-site.cfg.in | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/debian/templates/zebra-authorities-dom-site.cfg.in b/debian/templates/zebra-authorities-dom-site.cfg.in >index 8f45e1f..be2e0c3 100644 >--- a/debian/templates/zebra-authorities-dom-site.cfg.in >+++ b/debian/templates/zebra-authorities-dom-site.cfg.in >@@ -4,7 +4,7 @@ > # $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $ > # > # Where are the config files located? >-profilePath:/etc/koha/zebradb/authorities/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/authorities:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__:/etc/koha/zebradb/xsl >+profilePath:/etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/authorities/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/authorities:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__:/etc/koha/zebradb/xsl > > encoding: UTF-8 > # modulePath - where to look for loadable zebra modules >diff --git a/debian/templates/zebra-authorities-site.cfg.in b/debian/templates/zebra-authorities-site.cfg.in >index 5bb15a5..f14a223 100644 >--- a/debian/templates/zebra-authorities-site.cfg.in >+++ b/debian/templates/zebra-authorities-site.cfg.in >@@ -4,7 +4,7 @@ > # $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $ > # > # Where are the config files located? >-profilePath:/etc/koha/zebradb/authorities/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/authorities:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__ >+profilePath:/etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/authorities/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/authorities:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__ > > encoding: UTF-8 > # modulePath - where to look for loadable zebra modules >diff --git a/debian/templates/zebra-biblios-dom-site.cfg.in b/debian/templates/zebra-biblios-dom-site.cfg.in >index 2c7fc60..7b5e52c 100644 >--- a/debian/templates/zebra-biblios-dom-site.cfg.in >+++ b/debian/templates/zebra-biblios-dom-site.cfg.in >@@ -3,7 +3,7 @@ > # $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $ > # > # Where are the config files located? >-profilePath:/etc/koha/zebradb/biblios/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__:/etc/koha/zebradb/xsl >+profilePath:/etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/biblios/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__:/etc/koha/zebradb/xsl > # modulePath - where to look for loadable zebra modules > modulePath: /usr/lib/idzebra-2.0/modules:/usr/lib/x86_64-linux-gnu/idzebra-2.0/modules:/usr/lib/i386-linux-gnu/idzebra-2.0/modules:/usr/lib/aarch64-linux-gnu/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabi/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabihf/idzebra-2.0/modules:/usr/lib/mips-linux-gnu/idzebra-2.0/modules:/usr/lib/mipsel-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc64le-linux-gnu/idzebra-2.0/modules:/usr/lib/s390x-linux-gnu/idzebra-2.0/modules > >diff --git a/debian/templates/zebra-biblios-site.cfg.in b/debian/templates/zebra-biblios-site.cfg.in >index 15dda4d..75fe59f 100644 >--- a/debian/templates/zebra-biblios-site.cfg.in >+++ b/debian/templates/zebra-biblios-site.cfg.in >@@ -3,7 +3,7 @@ > # $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $ > # > # Where are the config files located? >-profilePath:/etc/koha/zebradb/biblios/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__ >+profilePath:/etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/biblios/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__ > # modulePath - where to look for loadable zebra modules > modulePath: /usr/lib/idzebra-2.0/modules:/usr/lib/x86_64-linux-gnu/idzebra-2.0/modules:/usr/lib/i386-linux-gnu/idzebra-2.0/modules:/usr/lib/aarch64-linux-gnu/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabi/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabihf/idzebra-2.0/modules:/usr/lib/mips-linux-gnu/idzebra-2.0/modules:/usr/lib/mipsel-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc64le-linux-gnu/idzebra-2.0/modules:/usr/lib/s390x-linux-gnu/idzebra-2.0/modules > >-- >2.5.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12216
:
28112
|
41297
|
41304