Koha-clms/debian/docs
Tomas Cohen Arazi a675bc263c Bug 10159 - koha-rebuild-zebra error handling
This patch makes koha-rebuild-zebra:
- Check for the existence of the instance
- Handle arbitrary amount of instance parameters
- Capture -a and -b (which made the script rebuild twice the chosen DB). It adds the extended version (--authorities and --biblios respectively) of the option switch. This makes the -a and -b switches work as "only do authorities" (or viceversa). They can be used concurrently, which is the default behaviour when no switch is provided.
- Handle -v (and --verbose) as koha-rebuild-zebra options, to ease the use for non-techie users.
- The rebuild_zebra.pl is wrapped inside an IF to return error values if we ever make rebuild_zebra.pl return error codes (this is pointed in the code).
- Added -h/--help switches and an 'usage' output :-D Please provide patches for any wording issues, or contact me to fix it.

To test:
- Apply the patch and create your packages (or just use the script from your branch)
- Run it in this scenarios / options
  - -h/--help to see the available option switches
  - Mix them with one or more instances, of which some could be fake
  - try -a/--authorities and -b/--biblios in all possible combinations
  - try -v/--verbose works

Regards
To+

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit 39d3b9088a)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit a3422a4702)

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit a3422a4702)
2013-06-13 23:20:57 -03:00
..
LEEME.Debian Bug 7197 - add a Spanish readme file to the packages 2011-12-14 15:38:04 +01:00
koha-common.xml Bug 9250 - Followup to add koha-*-sip commands to koha-common.xml 2013-05-09 21:24:29 +12:00
koha-create-dirs.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-create.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-disable.xml Bug 10104 - make koha-disable more robust 2013-05-09 21:17:32 +12:00
koha-dump-defaults.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-dump.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-email-disable.xml Bug 10150 - koha-email-disable error handling 2013-05-09 21:27:09 +12:00
koha-email-enable.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-enable-sip.xml Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-09 21:24:10 +12:00
koha-enable.xml Bug 10101 - make koha-enable more robust 2013-05-09 21:20:14 +12:00
koha-foreach.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-list.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-mysql.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-rebuild-zebra.xml Bug 10159 - koha-rebuild-zebra error handling 2013-06-13 23:20:57 -03:00
koha-remove.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-reset-passwd.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-restart-zebra.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-restore.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-run-backups.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-shell.xml Bug 8878 - a command to provide a shell with the koha environment 2012-12-22 08:19:45 +13:00
koha-start-sip.xml Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-09 21:24:10 +12:00
koha-start-zebra.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-stop-sip.xml Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-09 21:24:10 +12:00
koha-stop-zebra.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-translate.xml Bug 10041 - Provide a koha-translate script to aid package users on installing translations 2013-05-09 21:21:39 +12:00
koha-upgrade-schema.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00
koha-upgrade-to-3.4.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-27 09:51:04 +12:00