Bugzilla – Attachment 60874 Details for
Bug 18069
koha-rebuild-zebra still calls rebuild_zebra with -x
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18069: Remove residue of rebuild_zebra -x
Bug-18069-Remove-residue-of-rebuildzebra--x.patch (text/plain), 2.07 KB, created by
Marcel de Rooy
on 2017-03-07 13:59:31 UTC
(
hide
)
Description:
Bug 18069: Remove residue of rebuild_zebra -x
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-03-07 13:59:31 UTC
Size:
2.07 KB
patch
obsolete
>From 72215e34f86b5373551cca89f7c6ad9953049643 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 7 Feb 2017 09:10:42 +0100 >Subject: [PATCH] Bug 18069: Remove residue of rebuild_zebra -x >Content-Type: text/plain; charset=utf-8 > >Bug 17731 removed the -x option of rebuild_zebra but koha-rebuild-zebra >still cals the script with this option. > >"Warning: You passed -x which is already the default and is now deprecated" > >Test plan: >sudo koha-rebuild-zebra -f >should no longer raise the warning > >Signed-off-by: Mason James <mtj@kohaaloha.com> >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > debian/scripts/koha-rebuild-zebra | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) > >diff --git a/debian/scripts/koha-rebuild-zebra b/debian/scripts/koha-rebuild-zebra >index d131207..6c0fce3 100755 >--- a/debian/scripts/koha-rebuild-zebra >+++ b/debian/scripts/koha-rebuild-zebra >@@ -84,8 +84,6 @@ is to do an incremental rebuild. > > Usage: $scriptname [options] instancename1 instancename2... > Options: >- --usmarc|-u Runs the process as USMARC rather than >- the default of MARCXML. > --authorities|-a Only run process for authorities. > --biblios|-b Only run process for biblios. > --full|-f Does a reindex of the whole collection. >@@ -101,7 +99,6 @@ EOF > > # Default parameters > opt_idx="-z" >-opt_xml="-x" > opt_verbose="" > opts_other="" > biblios_only="no" >@@ -127,9 +124,6 @@ while [ -n "$*" ]; do > -a|--authorities) > toggle_authorities_only > ;; >- -u|--usmarc) >- opt_xml="" >- ;; > -f|--full) > full_reindex="yes" > opt_idx="-r" >@@ -173,7 +167,7 @@ do > if is_instance $name; then > if [ "$biblios" = "yes" ]; then > if ! run_rebuild_zebra $name \ >- -b $opt_verbose $opt_idx $opt_xml $opts_other; then >+ -b $opt_verbose $opt_idx $opts_other; then > warn "Something went wrong rebuilding biblio indexes for $name" > fi > fi >-- >2.1.4
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 18069
:
59970
|
60556
| 60874