History | View | Annotate | Download (4.4 kB)
Stop shell from destroying config instance
This caused warnings about preset variables
Globalize logger usage
Unsolved bug: redudant info in logfile
Pametrize log file, make it globaly available
Kamaki logger module is now available to both cli and clients packagesUsers may set the log_file option in configuration file kamaki config set log_file ...
Support #3441
Allow users to set maximum thread limit
This is implemented as a configuration option in cliDevelopers may set it as kamaki.clients.Client.MAX_THREADS = <limit>
Adjust documentation acoordingly
Feature #3546
DISABLE config log options in interactive shell
to avoid kamaki failures due to logging problems
Allow config to switch some options on or off
- LOG_TOKEN: whether to log user token in http requests (default: off)- LOG_DATA: whether to log http body (send or secv - default: off)
config options: log_token=off, log_data=off
Fully adjust cyclades_cli
Tide up error handling code in astakos
Apply new argument strategy on server list
Suggested use:- declare: (self.)arguments = dict(argname=Argument())- set/update: self['argname'] = Argument(...)- use: self['argname']- get arg object: self.get_argument_object('argname')
Modify getitem semantics
Not getitem of cli.commands does return arg.value- to set: mycmd['argname'] = Argument(…)or mycmd.argument['argname'] = Argument(…)- to get Argument object: mycmd.get_argument_object('argname')or mycmd.argument['argname']...
Make arguments an internal feature of cli.commands
Now any cli.commands subclass instance:- sets args like this: mycmd['myargname'] = Argument()instead of mycmd.arguments['myargname']- gets args like this: mycmd['myargname'] = Argument()instead of...
Trace errors in cli.commands mechanism-not prpgtd
pep8 kamaki.cli.commands
Rearange commands class hierarchy
Correct repackaging, minor server list improvement