[Koha-devel] koha-* scripts revisited

Tomas Cohen Arazi tomascohen at gmail.com
Tue Apr 23 17:24:08 CEST 2013


Hi, I'm working on providing a bash-completion script for koha commands, so
we have that handy tool for our commands.

I'm doing this on a per-koha-script basis. For the task I'm revisiting each
koha-* command to avoid messing with option switches combinations. I've
already found some tiny problems (mostly poor error handling).

There's an omnibus bug for rewriting those scripts and make them able to
recover from errors and handle them gracefuly [1].

I'd like you to (1) tell me if its ok that I patch them in bash (which is
what they are written in) and (2) if you have the time, discuss here the
current and desired semantics for those commands, including the option
switches.

As of (1) I've already started working that way (provided patches for
koha-list and koha-enable already[2]). But I will understand I "should have
asked first".

Looking for your helpfull response! (and possitive feedback on (1), no
pressure heh).
To+


[1] http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4876
[2] http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10094
    http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10101
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20130423/97d9ad73/attachment.html>


More information about the Koha-devel mailing list