History | View | Annotate | Download (12.4 kB)
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
Update the copyright dates everywhere
Restore history-run functionality
Simplify listings
Modify print_list/dict/items methods of kamaki.cli.utils to be simpler and print output in a simpler form
key: value key: key: value key: key: value ... key: list-item...
Make sure user and history commands work fine
Refs: #3934
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
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....
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...
Restore 2nd level command sysntax in shell
Refs: #3736
Allow runtime args when invoking interactive shell
Refs: #3716
Behavior After This:kamaki -XXX -YY ... parses -XXX -YYIf not recognized: syntax errorIf recognized, group them into shell args (e.g. -h) and command args (e.g. -d)Whenever a command is run in this shell instance, apply the command args...
Stop shell from destroying config instance
This caused warnings about preset variables
Create an image compute cmd group, make it work
- image compute group contains all Compute Image API commands, as oposed toPlankton API commands.
- definition of a kamaki cli command slightly changed: a command withsubcommands can have a class without being a command itself, as long as it has...
Fix typo in shell intro (bug #3444)
Attempt to pep8-fix some source files
Allow params starting with - (e.g. history run)
Catch and handle KeyboardInterrupt in shell
In shell, ignore unknown - args
Deal with with argparse stupid error handling
argparse people must be sadists or they just hate other programers
Show long description in all places it could be
Show long description if available
Restructure interface code
Debug history run
Clean up code
Allow general options to run a@ initial kamaki
kamaki -v runs a kamaki shell with verbose on!
Merge branch 'features/output' into develop
Make shell prompt sustainable to modifications
and add a space after :
Rename history.recall to load, allow multiple ids
load 1 3 5-7 8 ...also can repeat commands:load 1 4 1 3-5 (repeats 1 and 4)
History in shell can execute commands ('recall')
Bugfix shell with custom config file
shell help messages are full
Remove config from shell arguments (careful!)
config module is needed for initializing stuff, but should not beallowd after shell is up and running
Remove unused shell options
Let shell be ready for unexpected errors
Fix shell extra args bug
Propagate-debug changes for shell + debug
Move split_line code to cli.utils
Match more quoted text
Single quotes have now higher priority than double quotesand they can be used together. E.g.
[server]: create 'Name "middle name" surname' 43 im@g31d5tr1ng
will push Name "middle name" surnameas the name of the VM to the server
Parse quoted strings in interactive shell
Unittest parallel server creation
Fix config-forget bug
Gradual thread inc/decrease in up/download
Thread inc/decrease is now generic for all clients that might need itwith the method _watch_thread_limit
Algorithm: set a small thread limit and when reached wait for active threads tofinish. Measure avg time. If avg time decreases, increase thread limit...
Context roll-back in case of exit
Complete top-level commands from everywhere
Usage: in kamaki shell, from any context, user can write:
/<command> <subcmds... and params...>
Fix top-level from top-level call bug
Idea: in pre: add top level commands as /<command>slightly different registration
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
START FEAT. DEV. cmd accessibility in shell
shell commands should be accessible from all contexts e.g.:[kamaki] server #new context[server] /config list #call command from top context...[server] ../config list #call command from previous context...
Use CLIErrors in shell
Improve print_list/dict
Complete UI/cli interface refactoring, minor bugs
Make all source pep8 compliant
pep8 part of kamaki (from root to cli)
Remove relative imports from all pkgs, fix astakos
astakos imports an anused (and soon deprecated) module
Minor fix
Merge branch 'develop' of https://code.grnet.gr/git/kamaki into develop
Improve interactive shell help
Improve interactive shell help msg
Fix arguments in context switching
Minor fixes
Tide up a little
Kamaki now has interactive shell + minor fixes
Seperate shell from one-command cli