History | View | Annotate | Download (18.9 kB)
Adjust setup
Refs: #4692
Allow kamaki-shell to ignore unrecognized commands
Create a kamaki-shell command for kamaki shell
Refs: #4612
Merge branch 'feature-naming-scheme' into develop
Conflicts: Changelog kamaki/cli/commands/cyclades.py kamaki/cli/commands/network.py kamaki/cli/commands/pithos.py
Move thread control to threaded commands
Refs: #4616, #4617
Remove max_theads from config, move control to threaded commands as --threadsSet default MAX_THREADS to 1
Move all argument related syntax help in Arguments
Refs: #4596
Syntax check required arguments (incomplete)
Remove token from history
Refs: #4479
Implement user session commands for kamaki
Refs: #4340
Cache user_catalogs requests, new methods for that
Refs: #4337
New methods: uuids2usernames, usernames2uuidsKeep post_user_catalogs for bw comp.
Fix pep8 error
Remove reference to Config.get/set_global
Update and correct kamaki.clients documentation
Take care of the documentation (except developers)
Make authentication lazy
Refs: #4300
Authentication (a.k.a. POST /tokens) is performed only if needed, therefore asyntax query will not request for authentication.
A new method is introduced in kamaki.cli: init_chached_authenticator. Thismethod authenticated the resolved URL and TOKEN....
Remove builtin.print up to history
Refs: #4292
Create logger before help message
Restore backwards compatibility for image register
Refs: Bug #4276
New format:
/image register Name container:path/to/image
Old format:
/image register Name pithos://user-uuid/container/path/to/image
Now, the old format is also recognized. It is planed to be depricated in a...
Prepend log_settings to auth_client init
Let users know if a cmd grp _cli fails
Complete ConfigArgument testing
Refs: #4058
Fully test CommandTree
Spot and remove unused Command methods
Exclude unset optional cmd groups
Refs: #4114
E.g. the cyclades spec package contains the non-optional group "server" andthe optional group "floatingip". Now kamaki can load only the "server" group, except if the user requests the loading of "floatingip" group too.
Add name and uuid of session user to shell greet
Refs: 3632
Allow multiple tokens per cloud configuration
Refs: #3632
Make wait mechanism usble by more cyclades methods
Refs: #3867
Rename: scenarios-->examples, add first content
- configuration section, with clouds- Simple listing- Pithos advanced listing
Fix deprecated terms in documentation
Fix all minor typos and modifications in tests
Do not suggest ansicolors if colors == off
Refs: #3978
Updagrade error message for multiple clouds
Refs: #3979
Use the default_cloud global option
Refs: #3934 #3979
Change term "remote" to "cloud" when proper
Refs: #3934
Adjust docs to cover multiple clouds functionality
This commit server as a backup mostly, since the adjustments are not yetapplied to docs/commands and all docs/developers kamaki guides.
Adjust config cli commands to serve remotes
config set remote.smth.option value inserts option=value in remote smthconfig get remote.smth lists the contents (key=val) of remote smthconfig delete remote.smth.option deletes this specific option from the remote smth...
Decide a cloud term, use it if no cloud.url
Implement remotes support in Config and cli init
In Config:
Simplify guess_version heuristics (check if the following exist: global.url/token, remote-defaults)Trasnlate files 'remote "name"' to 3-level dict and backImplement rescue_old_file to convert config files to v3.0...
Plan Config changes (rescue_old_file, translates)
rescue_old_file: mines info from old config file to use them in new filetranslates: remote "smth" --> 'remote': {'smth': ... global.{url, token} --> remote.default.{url, token} <command>.cli --> global.command_cli...
Implement the Config.guess_version method
Use explicitely set services urls if no auth_url
Refs: #3874
In current configuration, kamaki checks for auth_url. If that fails,it raises an error. If it is not set, it prints a warning and attemptsto read the <service>.url option from the configuration file....
Implement --cloud arg to switch between clouds
Refs: #3913
Config file can (optionaly) contain:
[remotes] example = https://www.example.org/astakos/identity/v2.0/ old_version = https://www.example.org/astakos/identity/v1.0/ ...
Now, user can explicitely request for a remote cloud authentication URI:...
Get endpoint urls for all CLI operations
Use kamaki.clients.astakos.AstakosClient as a cached astakos client to getuser information and, most importantly, endpoints. Allow users to authenticatemultiple tokens on the same session. In every session there must be at most...
Raise a descriptive error for misconfigured cmds
Refs: #3663
A command group that is declared in the config file is not supportedby valid command specification code or the specification code is notpointed at by <command>.cli configure variable
Log initial call arguments in first log
Move logger module to kamaki.cli
Allow activation/deactivation of specific loggers
refs: #3715Logger settings are not aborted and will be restored at deactivation
Also, remove all logger creation functionality from kamaki.clientsA file or stream logger should be created an the kamaki.clients caller side...
Use < and > in stream logger for send/recv resp.
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
Suggest ansicolors, progress when missing (#3367)
Fix some more pep8 issues, more later
Fix pep8 compliance issues everywhere
Attempt to pep8-fix some source files
Add include option to control conn-content print
Catch and handle KeyboardInterrupt in shell
Formated output in long command description
Test pretty error details with container-not-found
Show long description in all places it could be
Show long description if available
Restructure interface code
Allow general options to run a@ initial kamaki
kamaki -v runs a kamaki shell with verbose on!
Propagate warning-logging
Introduce warning logger
Pretty print_list
Fix unwanted error-detail inheritance bug
Trace errors in cli.commands mechanism-not prpgtd
Propagate-debug changes for shell + debug
Cleanup deprecated method in argument
Propagate-debug changes for one-cmd
Design ArgumentParseManager, implement fnctionlity
Create ArgumentParseManager, with init
constructor replaces init_parser,update_parser member method replaces upadte_argument (not tested)
rid of init_parser
Unittest parallel server creation
Fix config-forget bug
Fix multi-cmd _best_match bug
Access top-level commands from anywhere in shell
Execs top-level commands but doesn't roll back correctly
Modify history commands
Fix new deep-level bug in shell
Colors off if stdout is not a tty
Apply total error handling
Colors are off by default
Complete UI/cli interface refactoring, minor bugs
Start refactoring main CLI
Aims:- cleaner cli load-point code- move more argument logic to argument module- move command loading to the seperate service cli modules: each command spec module will provide a mechanism for loading command interfaces (all of them or specific cmds)
Extract json-encoded error info in clients
Minor improvements to server_wait behavior
Fix bug with deep-pathed commands
FEATURE: subcommands of a callable command are not allowed. e.g.:
if the following exist as callable commands:cmd1_cmd2cmd1_cmd2_cmd3
then cmd1_cmd2 is resolved, but cmd1_cmd2_cmd3 is not
UNFIXED: There is still a case of syntax-error or --help call where the best...
Propagate error handling corrections up to CLIs
Use standard threading instead of gevent/greenlets
gevent depedency is not needed after that
Make all source pep8 compliant
pep8 part of kamaki (from root to cli)
Set colors off by default
Kamaki now has interactive shell + minor fixes
Seperate shell from one-command cli
Various behavioral fixes
Error details in default error message
Shell can run cmds with args ony from context
Multilevel command names and one-level api calls
Minor fixes
Initial shell functionality with 1st lvl cmds