Add info method, tests and docs
Add list to astakos client
list method returns a list of all cached user informations, one for each token
Adjust documentation to recent astakos client
Compact code and unittests for astakos client
Create a cached access api to Astakos >= 0.13
Merge branch 'develop' into feature-astakos
Conflicts: kamaki/cli/commands/astakos_cli.py kamaki/clients/tests.py
Use NamedTemnporaryFiles in pithos client tests
Documentation updates, cosmetics for pithos tests
Add tests package to setup
Get rid of old testing implementation
Update testing system for Pithos clients
Let clients tests to use custom config files
Complete clients.cyclades unittests
Adjust cyclades tests up to start_server
Use increment prefixes in private methods for scenario to performUse non-checking methods to handle building/rebooting etc of VMs
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
Remove intentional testing error
Fix error presentation in case of batch test
Create a generic system for atomic and batch tests
Apply new test method on image, retouch globals
Everything has been tested and fixed except the following flaw:when testing the whole image package, the same image file is uploaded anddestroyed again and again.
Make astakos tests work with new test suite
Prototype kamaki.clients untitest suite
Prototype implementation on kamaki.clients.astakos clientIn prototype status, does not function yetOld unittests in _tests.py, for reference
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"...
Replace 'S if S else' with 'S or' in image_cli
Apply devflow ways of handling versions
Devflow is a GRNET system for handling versions and packaging the veriousGRNET.gr Synnefo software piecies
Get rid of OrderedDict dependency for python<=2.6
Add new --[dst-]container info to documentation
download --resume can create new local files
Add : to all --container store-* commands
store-move to use --dst-container with : support
Add store-copy --dst-container with : support
Remove obsolete method check_range
Allow create/delete to operate on con:tainers
con:tainers are containers with : in their name
-R as resursive in store_download
Implement resursive download
Intuitive semantics to store-download
download to directory means multiple downloads with prefix
Change version
Total code reduction: ~25KiB of code
Fully adjust pithos_cli
Adjust up to store-download
Adjust up to store-overwrite
Adjust pithos_cli up to store_move
Fully adjust cyclades_cli
Adjust cyclades_cli up to create
Minor adjustments + apply to image_cli <=register
Apply changes to history_cli
Propagate changes to config_cli
Seperate error handling from main cli classes
So far tested in astakos only
Tide up error handling code in astakos
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
mage-public: remove params without values
Merge branch 'feature-store' into develop
Tide up _upload_missing_blocks code + progress chk
progress check in upload: don't let progress bar raise exceptions
Doc updates and minor improvements
Upload progress bar advances only if block uploads
was: progress bar advances if thread is initialized. In case of threadfailures, progress bar was re-initialized for a next round of uploads
now: if a block is uploaded, progress bad advances. There is one upload bar...
Make store-upload second param optional
Update store-manifest help
Manifest is kept for compatibility with OOS Storage
path.basename for store-append/truncate/overwrite
Check if it is applied everywhire + minor improvements
More intuitive storer-copy/move semantics
copy/move cont:path path2 will move all <obj> prefixed with path, as path2<obj> or as path2 if path corresponds to just one whole objectcopy/move cont:path cont2: will move all <obj> prefixed with path to container cont2...
store upload uses basename if remote name msing
Change store-move semantics (more like copy)
move cont:path path2 will move all <obj> prefixed with path, as path2<obj>move cont:path cont2: will move all <obj> prefixed with path to container cont2move cont:path [cont2:]path2 --exact-match will move at most one <obj> as a new object named path2...
New semantics for store-copy
copy cont:path path2 will copy all files prefixed with path, as path2pathcopy cont:path cont2: will copy all files prefixed with path to container cont2copy cont:path [cont2:]path2 --exact-match will copy at most one object as a new object named path2...
Add prefix-match ability to store-copy
pre-connection debug info
Add include option to control conn-content print
Documentation updates
Merge branch 'feature-quota' into develop
Merge branch 'feature-output' into develop
Conflicts: kamaki/clients/__init__.py kamaki/clients/pithos.py
Syntax check and debug
Add all quotaholder files in kamaki
Copy quotaholder client files into clients
Merge branch 'develop' into feature-quota
Conflicts: kamaki/cli/commands/history_cli.py kamaki/cli/commands/pithos_cli.py
More retries, dynamic upload thread limit
Even the slightest progress causes upload to retryif 502 client error is received, # of threads are limited to current thread
Handle thread failures in download
If some threads fail for some reason, download re-tries 2 more times,provided there is some progress
upload does not overwrite remote objs by default
Now you can do this to upload all you .jpg imgs to myImgDir directory object:
for img in *.jpg;do kamaki store upload $img mycontainer:myImgDirdone
Merge branch 'master' into feature-quota
Conflicts: docs/installation.rst
Complete enrichment of store * commands
Enrich helps/errors up to store_serversioning
Enrich helps/errors as fas as store_delmeta
Enrich up to store_manifest
Enricch store_append helps, fix docs/donf dep.
Fix docs objpool dependency error
Enrich up to store_move +update semantics
copy/move [container:]<path> [container:]path
Unified connection error reporting in pithos cli
enrich up to store_create, which has new semantics
store_create is only for containers now
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