[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 Jonathan Druartchanged: What|Removed |Added Keywords|rel_17_11_candidate | --- Comment #29 from Jonathan Druart --- Tomas, please add a text to go to the release notes. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 Jonathan Druartchanged: What|Removed |Added Keywords||release-notes-needed -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 Jonathan Druartchanged: What|Removed |Added Status|Passed QA |Pushed to Master --- Comment #28 from Jonathan Druart --- Pushed to master for 17.11, thanks to everybody involved! -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #22 from Nick Clemens--- Created attachment 68624 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68624=edit Bug 17467: (followup) Make koha-zebra handle legacy script names This patch adds the new koha-zebra script the ability to handle being called by other script names, for backwards compatibility with the legacy koha-*-zebra scripts. It is intended to be used in conjunction with a patch that replaces the old koha-*-zebra scripts for symbolic links, pointing to the new koha-zebra script. To test: - Apply this patch - Create symbolic links to the new script: vagrant@kohadevbox:~$ ln -s kohaclone/debian/scripts/koha-zebra koha-start-zebra vagrant@kohadevbox:~$ ln -s kohaclone/debian/scripts/koha-zebra koha-stop-zebra vagrant@kohadevbox:~$ ln -s kohaclone/debian/scripts/koha-zebra koha-restart-zebra - Run: $ sudo ./koha-start-zebra kohadev => SUCCESS: Same behaviour than the koha-start-zebra script - Run: sudo ./koha-stop-zebra kohadev => SUCCESS: Same behaviour than the koha-stop-zebra script - Run: sudo ./koha-restart-zebra kohadev => SUCCESS: Same behaviour than the koha-restart-zebra script Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #27 from Nick Clemens--- Created attachment 68629 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68629=edit Bug 17467: Restart failing, missing instance parameter This follow up should make it work. Perhaps there is a more elegant way, but wanted to generate something that works. Before this patch, the --restart stops Zebra, but does not restart it. After, it does restart. Before this patch, the --status gives nasty long help. After this patch, reasonable output. Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #25 from Nick Clemens--- Created attachment 68627 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68627=edit Bug 17467: Add tab-completion for koha-zebra This patch adds tab-completion for bash, for the koha-zebra script. To test: - Run (on the vagrant user): $ source kohaclone/debian/koha-common.bash-completion - Run: $ sudo koha-zebra - ( means press the tab key) => SUCCESS: Tab completion works as expected for the koha-zebra command. - Sign off :-D Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #24 from Nick Clemens--- Created attachment 68626 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68626=edit Bug 17467: (followup) Make the install script install koha-zebra Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 Nick Clemenschanged: What|Removed |Added Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 Nick Clemenschanged: What|Removed |Added Attachment #66420|0 |1 is obsolete|| Attachment #66421|0 |1 is obsolete|| Attachment #66422|0 |1 is obsolete|| Attachment #66423|0 |1 is obsolete|| Attachment #66424|0 |1 is obsolete|| Attachment #66425|0 |1 is obsolete|| Attachment #66426|0 |1 is obsolete|| --- Comment #21 from Nick Clemens --- Created attachment 68623 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68623=edit Bug 17467: Add koha-zebra script to handle Zebra daemons This script is intended to replace the following currently used scripts on packages setups: - koha-start-zebra - koha-stop-zebra - koha-restart-zebra It also introduces a --status option switch, for asking for daemon statuses To test - Apply the patch - Run: $ sudo debian/scripts/koha-zebra --start kohadev => SUCCESS: same behaviour than koha-start-zebra kohadev - Run: $ sudo debian/scripts/koha-zebra --stop kohadev => SUCCESS: same behaviour as koha-stop-zebra kohadev - Run: $ sudo debian/scripts/koha-zebra --restart kohadev => SUCCESS: same behaviour than koha-restart-zebra kohadev - Run: $ sudo debian/scripts/koha-zebra --status kohadev => SUCCESS: It correctly shows the status for the running (or not) process Play with different combinations of this commands Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #26 from Nick Clemens--- Created attachment 68628 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68628=edit Bug 17467: Add missing --status switch handling Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #23 from Nick Clemens--- Created attachment 68625 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68625=edit Bug 17467: Add koha-zebra documentation Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 Jonathan Druartchanged: What|Removed |Added CC||jonathan.dru...@bugs.koha-c ||ommunity.org Keywords||rel_17_11_candidate -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #20 from Marcel de Rooy--- Tomas, this patch does (indeed) not need dev_install/adjust_paths_dev_install since it does not refer to KOHA_HOME or PERL5LIB. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #19 from Josef Moravec--- Created attachment 66426 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66426=edit [SIGNED-OFF] Bug 17467: Restart failing, missing instance parameter This follow up should make it work. Perhaps there is a more elegant way, but wanted to generate something that works. Before this patch, the --restart stops Zebra, but does not restart it. After, it does restart. Before this patch, the --status gives nasty long help. After this patch, reasonable output. Signed-off-by: Josef Moravec -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #15 from Josef Moravec--- Created attachment 66422 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66422=edit [SIGNED-OFF] Bug 17467: Add koha-zebra documentation Signed-off-by: Josef Moravec -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #18 from Josef Moravec--- Created attachment 66425 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66425=edit [SIGNED-OFF] Bug 17467: Add missing --status switch handling Signed-off-by: Josef Moravec -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #17 from Josef Moravec--- Created attachment 66424 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66424=edit [SIGNED-OFF] Bug 17467: Add tab-completion for koha-zebra This patch adds tab-completion for bash, for the koha-zebra script. To test: - Run (on the vagrant user): $ source kohaclone/debian/koha-common.bash-completion - Run: $ sudo koha-zebra - ( means press the tab key) => SUCCESS: Tab completion works as expected for the koha-zebra command. - Sign off :-D Signed-off-by: Josef Moravec -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #14 from Josef Moravec--- Created attachment 66421 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66421=edit [SIGNED-OFF] Bug 17467: (followup) Make koha-zebra handle legacy script names This patch adds the new koha-zebra script the ability to handle being called by other script names, for backwards compatibility with the legacy koha-*-zebra scripts. It is intended to be used in conjunction with a patch that replaces the old koha-*-zebra scripts for symbolic links, pointing to the new koha-zebra script. To test: - Apply this patch - Create symbolic links to the new script: vagrant@kohadevbox:~$ ln -s kohaclone/debian/scripts/koha-zebra koha-start-zebra vagrant@kohadevbox:~$ ln -s kohaclone/debian/scripts/koha-zebra koha-stop-zebra vagrant@kohadevbox:~$ ln -s kohaclone/debian/scripts/koha-zebra koha-restart-zebra - Run: $ sudo ./koha-start-zebra kohadev => SUCCESS: Same behaviour than the koha-start-zebra script - Run: sudo ./koha-stop-zebra kohadev => SUCCESS: Same behaviour than the koha-stop-zebra script - Run: sudo ./koha-restart-zebra kohadev => SUCCESS: Same behaviour than the koha-restart-zebra script Signed-off-by: Josef Moravec -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #16 from Josef Moravec--- Created attachment 66423 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66423=edit [SIGNED-OFF] Bug 17467: (followup) Make the install script install koha-zebra Signed-off-by: Josef Moravec -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 Josef Moravecchanged: What|Removed |Added Attachment #56662|0 |1 is obsolete|| Attachment #56663|0 |1 is obsolete|| Attachment #56664|0 |1 is obsolete|| Attachment #56665|0 |1 is obsolete|| Attachment #56669|0 |1 is obsolete|| Attachment #56693|0 |1 is obsolete|| Attachment #58550|0 |1 is obsolete|| --- Comment #13 from Josef Moravec --- Created attachment 66420 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66420=edit [SIGNED-OFF] Bug 17467: Add koha-zebra script to handle Zebra daemons This script is intended to replace the following currently used scripts on packages setups: - koha-start-zebra - koha-stop-zebra - koha-restart-zebra It also introduces a --status option switch, for asking for daemon statuses To test - Apply the patch - Run: $ sudo debian/scripts/koha-zebra --start kohadev => SUCCESS: same behaviour than koha-start-zebra kohadev - Run: $ sudo debian/scripts/koha-zebra --stop kohadev => SUCCESS: same behaviour as koha-stop-zebra kohadev - Run: $ sudo debian/scripts/koha-zebra --restart kohadev => SUCCESS: same behaviour than koha-restart-zebra kohadev - Run: $ sudo debian/scripts/koha-zebra --status kohadev => SUCCESS: It correctly shows the status for the running (or not) process Play with different combinations of this commands Signed-off-by: Josef Moravec -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 Josef Moravecchanged: What|Removed |Added Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 Tomás Cohen Arazichanged: What|Removed |Added Blocks||18114 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18114 [Bug 18114] koha-start-* and koha-stop-* should be replaced with the new command style -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 Marcel de Rooychanged: What|Removed |Added CC||m.de.r...@rijksmuseum.nl --- Comment #12 from Marcel de Rooy --- What about adding dev_install here now, Tomas? -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 M. Tompsettchanged: What|Removed |Added Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #11 from M. Tompsett--- Created attachment 58550 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58550=edit Bug 17467: Restart failing, missing instance parameter This follow up should make it work. Perhaps there is a more elegant way, but wanted to generate something that works. Before this patch, the --restart stops Zebra, but does not restart it. After, it does restart. Before this patch, the --status gives nasty long help. After this patch, reasonable output. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #10 from M. Tompsett--- Also, while I understand the change of logic makes sense in terms of the verbose switch, the script before defaulted to verbose, so perhaps the switch should be silent? That's not a Failed QA issue for me, but the ones in comment #9 are. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 M. Tompsettchanged: What|Removed |Added Status|Needs Signoff |Failed QA CC||mtomp...@hotmail.com -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #9 from M. Tompsett--- Comment on attachment 56662 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56662 Bug 17467: Add koha-zebra script to handle Zebra daemons Review of attachment 56662: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html=17467=56662) - ::: debian/scripts/koha-zebra @@ +135,5 @@ > + > +if is_zebra_running ${name}; then > + > +stop_zebra ${name} && \ > +start_zebra ${name} This logic is failing. The stop always runs, but the start never does. Remember 0 success, but 0 && foo is short-circuited logic. Also, missing verbose check to print a nice informational message about Restarting Zebra. @@ +148,5 @@ > +zebra_status() > +{ > +local name=$1 > + > +if is_zebra_running; then missing $name. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #8 from Tomás Cohen Arazi--- Created attachment 56693 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56693=edit Bug 17467: Add missing --status switch handling -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #7 from Tomás Cohen Arazi--- (In reply to Josef Moravec from comment #6) > I started to test these patches: > > after run > sudo debian/scripts/koha-zebra --status kohadev > i get: > Error: invalid option switch (--status) > > everything other works as expected Thanks, Josef. It seems that I forgot to add it -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 Josef Moravecchanged: What|Removed |Added CC||josef.mora...@gmail.com --- Comment #6 from Josef Moravec --- I started to test these patches: after run sudo debian/scripts/koha-zebra --status kohadev i get: Error: invalid option switch (--status) everything other works as expected -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #5 from Tomás Cohen Arazi--- Created attachment 56669 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56669=edit Bug 17467: Add tab-completion for koha-zebra This patch adds tab-completion for bash, for the koha-zebra script. To test: - Run (on the vagrant user): $ source kohaclone/debian/koha-common.bash-completion - Run: $ sudo koha-zebra - ( means press the tab key) => SUCCESS: Tab completion works as expected for the koha-zebra command. - Sign off :-D -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #4 from Tomás Cohen Arazi--- Created attachment 56665 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56665=edit Bug 17467: (followup) Make the install script install koha-zebra -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 Tomás Cohen Arazichanged: What|Removed |Added Blocks||17468 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17468 [Bug 17468] Remove koha-*-zebra scripts in favor of koha-zebra -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 Tomás Cohen Arazichanged: What|Removed |Added CC||bar...@bywatersolutions.com ||, mi...@abunchofthings.net Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #3 from Tomás Cohen Arazi--- Created attachment 56664 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56664=edit Bug 17467: Add koha-zebra documentation -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #2 from Tomás Cohen Arazi--- Created attachment 56663 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56663=edit Bug 17467: (followup) Make koha-zebra handle legacy script names This patch adds the new koha-zebra script the ability to handle being called by other script names, for backwards compatibility with the legacy koha-*-zebra scripts. It is intended to be used in conjunction with a patch that replaces the old koha-*-zebra scripts for symbolic links, pointing to the new koha-zebra script. To test: - Apply this patch - Create symbolic links to the new script: vagrant@kohadevbox:~$ ln -s kohaclone/debian/scripts/koha-zebra koha-start-zebra vagrant@kohadevbox:~$ ln -s kohaclone/debian/scripts/koha-zebra koha-stop-zebra vagrant@kohadevbox:~$ ln -s kohaclone/debian/scripts/koha-zebra koha-restart-zebra - Run: $ sudo ./koha-start-zebra kohadev => SUCCESS: Same behaviour than the koha-start-zebra script - Run: sudo ./koha-stop-zebra kohadev => SUCCESS: Same behaviour than the koha-stop-zebra script - Run: sudo ./koha-restart-zebra kohadev => SUCCESS: Same behaviour than the koha-restart-zebra script -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 --- Comment #1 from Tomás Cohen Arazi--- Created attachment 56662 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56662=edit Bug 17467: Add koha-zebra script to handle Zebra daemons This script is intended to replace the following currently used scripts on packages setups: - koha-start-zebra - koha-stop-zebra - koha-restart-zebra It also introduces a --status option switch, for asking for daemon statuses To test - Apply the patch - Run: $ sudo debian/scripts/koha-zebra --start kohadev => SUCCESS: same behaviour than koha-start-zebra kohadev - Run: $ sudo debian/scripts/koha-zebra --stop kohadev => SUCCESS: same behaviour as koha-stop-zebra kohadev - Run: $ sudo debian/scripts/koha-zebra --restart kohadev => SUCCESS: same behaviour than koha-restart-zebra kohadev - Run: $ sudo debian/scripts/koha-zebra --status kohadev => SUCCESS: It correctly shows the status for the running (or not) process Play with different combinations of this commands -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/
[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467 Tomás Cohen Arazichanged: What|Removed |Added Assignee|gmcha...@gmail.com |tomasco...@gmail.com -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/