History | View | Annotate | Download (14.7 kB)
Prevent upload if uploads exceed container limit
Feature #3536
Suggest ansicolors, progress when missing (#3367)
Allow non-ascii paramters on path2url
Replace calls of the form unicode(v) to the equivalent" '%s' % v
Make pithos_rest_api method vars safe from None
Some vars that have not None as default value where vulnerable to None assignments
Fix pep8 compliance issues everywhere
Attempt to pep8-fix some source files
Test and debug a generic progress bar for tests
in client
Initialize tests for cyclades client, safe spiner
safe spiner is a replacement for progress bar functionality,in case progress bar does not work
Recostruct kamaki shell input regular expression
New regex is '\'.*?\'|".*?"|^[\S]*$' and works along with some carefull extra splitingIn total, the following are parsed as terms:'all kinds of stuff here except single quotes'"all kinds of stuff here except single or double quotes"...
Fully adjust pithos_cli
Format data size units, use it in quota commands
quota returns value in units (KiB, MiB, etc)new argument -b, --bytes to return value in bytessetquota can accept a unit string setquota 2.3GB
store-delete asks for permission
In cli.utils: new method ask_user prompts for permissionIn cli.commands.pithos_cli: store_delete/purge ask for permission they also feature a yes flag argument to avoid prompting
Adjust util, docs and store_list to new strategy
New method: cli.utils.page_hold holds console until user input, usefull for listingresults
Enrich all network_* output and error handling
Enrich netowrk_list/info output/error handling
print_items can print results in pages, flavorlist
if called with page_size a possitive int, print_items holds every page_sizeresults and waits for user input to continue.
This is used in flavor_list for the moment, but is going to be a std optionfor all *_list commands
Improve print_items, use it in flavor_list
flavor_list now prints id name instead of order. name
shell help messages are full
cyclades_cli take advntg of updated utils
Introduce enumrated list/dict print
Remove brackets from print_list
Pretty print_list
Add info in container-not-found error
Propagate error handling to cli.utils
Quick setup guide, remove empty lins in image list
Initialize new documents in docs
Pretify print_items
Move split_line code to cli.utils
Use CLIErrors in shell
Improve print_list/dict
Adjust interactive shell to new kamaki order
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...
Restore color dummys
Make all source pep8 compliant
pep8 part of kamaki (from root to cli)
Set colors off by default
Refactor command-tree. Better code, still buggy
Complete one-command CLI, but still doesn't work
missing:1. fix the command_specs with new argument system2. Maybe take advantage of the arbitary length of command terms for moreexpressive syntax/semantics
Refactor CommandTree, parse and get cli class
Test CommandTree usage and notice it's no good
CommandTree is not as convinient to use as planned, maybe it shouldbe redesinged
Fix CLI top level error handling
Argument object handles part of the functionality
+minor fixes
Basic CommandTree debugging and other minor fixes
Start a great deal of CLI modifictions
Argument class wraps python ArgumentParser to provide a convinient arg systemCommandTree class manages (store, load, seek, etc) a tree of command pathsand loads them from command spec files.
Under heavy development...
Correct repackaging, minor server list improvement