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...
Improve help for history run
Nice instructions for astakos_cli
Formated output in long command description
Correct publish output, more details in storelist
Improve print_items, use it in flavor_list
flavor_list now prints id name instead of order. name
Deal with with argparse stupid error handling
argparse people must be sadists or they just hate other programers
Extent store_list to use path as prefix
kamaki store list mycontainer:phot
will list all objects in mycontainer prefixed with phot
Full pretty errors in container-path storage check
Test pretty error details with container-not-found
Restructure interface code
Update history docs
Debug history run
Allow general options to run a@ initial kamaki
kamaki -v runs a kamaki shell with verbose on!
Forgotten Typos
History show and load with more features
show without args: show allshow/load can accept: * list of integers * negative numbers, meaning we count from the end of history list * number ranges (e.g. 2-7, -20-9, -29--9) * 0 means "start of the list", (e.g. 0-2 prints the first 2,...
history show specific command id or range
Document History changes
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')
Plant a _cmd_tree idea in cli.history_recall
If an interface needs a recall, it should provide a full cmd_tree
Check clients.retrieve works
shell help messages are full
cyclades_cli take advntg of updated utils
Introduce enumrated list/dict print
Remove brackets from print_list
Ommit print_list from cli.commands plugins
Pretty print_list
Add info in container-not-found error
Create dict/list prints test
Nicer container:path syntax errors in pithos cli
Fix pithos_cli.hashmap typo
Pithos+ publish returns access url
Propagate new error handling to cli.commands
New error handling is done only with cli.errors raiseCLIError methos
Kamakitest error msgs, error-handling bugfixes
Propagate error mechanism in pithos_cli
Trace errors in cli.commands mechanism-not prpgtd
Progress bar apears asap
Update/improve client unittests
1. increase test_set_firewall_profile tollerance2. all options from config files3. let tests read options from custom config files
Update comment docs at pithos client
Update pithos_cli comments for better autodocs
Replace pithos_cli.MetaArguement with KeyValueArg
Complete the kamaki interactive shell usage guide
Not spell-checked yet
Restore server-create --personality syntax etc.
the server-create command can, again, use the old syntax for --personalityparameter. What's more, multiple personalities can be appended on thesame call:
kamaki server create 'server name' <flavor id> <image id>...
Restore old personality syntax
Syntax is now the following:
kamaki create server 'Server name' <flavor id> <image id> [... params ...] --personality=local_path[,server_path[,owner[,group[,mode]]]]
Fix image_cli properties bug
Quick setup guide, remove empty lins in image list
Fix quoted-input bug in one-cmd
Fix local-path ref, undo register_cli syntax modif
WAS: register <name> <location>THEN: register <location> [name]NOW: register <name> <location>
but can run with --update to update an existing image instead ofreplacing it
Remove forgoten test from image_cli
Print id before other info in network_list
Add --update functionality to image register ui
New image method: reregister(location[, ...])
Fix config-forget bug
Upgrade progress compatibility to 1.0.2
New progress uses a different interface with start and finish methodsthat they are now used
Reload config after config modifications in shell
Thread limit can be set by user
Fix forgotten import
Modify history commands
Fix new deep-level bug in shell
Use CLIErrors in shell
Improve print_list/dict
Complete UI/cli interface refactoring, minor bugs
Various configurations (not finished yet)
Complete new structure in one command (exprmtal)
Allow clis to overide command load implementation
Still buggy and experimental, but if a cli don't use the commanddecorator, but implement another way of loading class info toa _commands list of CommandTrees, kamaki can still use this cli.
This will allow clis to extent CommandTrees in order to provide...
Pre-call parisng and errors, new cmd-spec system
Test firsth in one-command enviromentcmd-spec system has been initialized, but not finished
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
Update Pithos+ support documentation
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...
Fix minor wait_server bug, discover a cli bug
CLI bug: deep-level commands malfunction
NEW server method: wait_server + cli command
wait for server to reach state (e.g. while building)
Modify KeyValueArgument and CmdConfigArgument
KeyValueArgument now accepts only one key=value pair but can berepeated: --property key1=val1 --property key2=val2
CmdCondigArguemtn sets global prefix by default -o account=user@domain.orgis now equivalent to...
Propagate error handling corrections up to CLIs
Add object-version arg to store info
Sync progressbar to threads, adjust ctrl-c handler
In pithos download/upload ctrl-c is caught when multithreading,and wait for active threads to finish before exiting
Make all source pep8 compliant
pep8 kamaki.cli.commands
Intriduce store cat to cli
cat prints a remote file to consolethis used to be achieved by calling download with only oneparameter, which is not supported anymore
Remove too much progressbar warnings
Move progressbar check to ProgressBarArgument
Catch progressbar missing in download
Dont create ProgressBar if progress not installed
Commit uncommited pithos_cli changes
Set colors off by default
Change syntax for KeyValue properties
old syntax: --property "key1=val1 key2=val2 ..." new syntax: --property key1=val1,key2-val2,...
list/disconnect nics by network at clients lib
Gracefull filenotfound error in store upload
Remove relative imports from commands specs
Try pithos without relative imports
Tide up a little
Kamaki now has interactive shell + minor fixes
Quota Holder init (no functionality)
Rearange commands class hierarchy
Minor fixes
Initial shell functionality with 1st lvl cmds