[Koha-bugs] [Bug 12824] Create a general purpose koha-config script?

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 26 19:56:06 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12824

--- Comment #3 from Indranil Das Gupta <indradg at gmail.com> ---
(In reply to Magnus Enger from comment #0)
> Could we create a general purpose config editing script, at least for the
> <config> part of koha-conf.xml, instead of having specific scripts for lots
> of different config settings? If we added a (e.g.) YAML file with some
> metadata about the different setttings (a description, what kind of data it
> should contain), we could perhaps have a friendly tool that could 

+1 

it makes sense. something like this will also allow us to have an unified
sanity check / reporting on the config.

> There could even be an interactive mode (sudo koha-config -i <instancename>)
> which would display something like a numbered list of current settings, let
> the user choose one and prompt for input, validate the input, display the
> changed setting etc. 

I was thinking, the default `sudo koha-config` could be the interactive mode
ala python.

@Viktor: while ^^^ not being a GUI, Magnus's suggestion of an interactive mode
actually does pretty much what you are asking. Of course, if anyone volunteers,
wrapping a dialog / gdialog / zenity wrapper around the bash script will give
you the GUI :-)

-indra

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list