Adjust util, docs and store_list to new strategy
New method: cli.utils.page_hold holds console until user input, usefull for listingresults
Enrich image_* output/error reporting
Enrich image-* up to image_members
Add store_touch, create_object
Create a zero-length object
Enrich image_public
Enrich all network_* output and error handling
Enrich netowrk_list/info output/error handling
Complete better output for flavor_*
flavor_list error-handling
server_list with --more and page limit
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
Enrich help messages in all server * commands
Enrich helps in server create
Enrich personality argument helps in server create
Generalize connection error help for all server-*
Bugfixes
Handle connection errors, allow special handling
Showcase: server_info catche/manage clienterror that wasa connection error
Merge branch 'develop' into feature-output
Merge branch 'develop' into feature-argument
Move DateArgument to argument from pithos
Allow params starting with - (e.g. history run)
Enrich server_list help message
Add since arg in server_list
Richer help for config CLI commands
New feature: config delete --default to remove a default config option duringa session
Catch all ClientErrors in astakos_authenticate
Catch and handle KeyboardInterrupt in shell
Include defaults by default in config list
Adjust pithos_cli
Adjust store_list
Adjust image_cli
Adjust history_cli
Adjust cyclades_cli to new Arguments handling
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
Fix network disconnect detail show
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
In shell, ignore unknown - args
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
Run ignores self in command listing
Show long description in all places it could be
Show long description if available
Restructure interface code
Windows installation guide
Merge branch 'develop' into feature-windows
Update history docs
Debug history run
Resolve conflict
Merge remote-tracking branch 'origin/develop' into feature-windows
Conflicts: kamaki/cli/__init__.py kamaki/cli/argument.py kamaki/cli/command_shell.py kamaki/cli/command_tree.py kamaki/cli/commands/__init__.py kamaki/cli/commands/astakos_cli.py kamaki/cli/commands/config_cli.py...
Help user initial kamaki setup (docs and defaults)
Clean up code
Allow general options to run a@ initial kamaki
kamaki -v runs a kamaki shell with verbose on!
Propagate warning-logging
Introduce warning logger
Use a non-unicode progress-bar instead
Forgotten Typos
Merge branch 'features/output' into develop
Make shell prompt sustainable to modifications
and add a space after :
Merge branch 'features/history' into develop
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,...
Merge with develop
Merge into develop
Prepare to merge into develop
Windows port: Unit tests now avoid /dev/urandom.
Instead of using /dev/urandom which is specific to UNIX systems, switch to thePython os.urandom() which is a cross-system solution and also works on Windowssystems. This allows for running the unit tests on Windows systems as well.
Rephrase comment to avoid profanity.
Fix bug where unit tests read the wrong file.
Windows port: Avoid /tmp for temp files.
Switch from hard-coded /tmp usage to a cross-compatible solution that utilizesPython's tempfile module.This adds support for running the unit tests on Windows systems.
Explicit error message for offset/size mismatch.
To assist porting to Windows, offset/size mismatch when reading files is nowbeing clearly reported with detailed error messages.
Windows port: All binary files now opened using the 'b' flag
history show specific command id or range
Suit up for release
Re-activate get/set_profile unittests
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
Add a retrieve method
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
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
Fix unwanted error-detail inheritance bug
Add info in container-not-found error
Create dict/list prints test
Nicer container:path syntax errors in pithos cli