History | View | Annotate | Download (60.5 kB)
Fix some more pep8 issues, more later
Fix pep8 compliance issues everywhere
Attempt to pep8-fix some source files
Adjust documentation, allow explicit account set
Use UUID when calling pithos client
In kamaki.clients.pithos context, the variable is still called accountOnly the callers change their behavior, as they should retrive theaccount by calling kamaki.clients.astakos.AstakosClient().term('uuid')Tests are also adjusted
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
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
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
Tide up _upload_missing_blocks code + progress chk
progress check in upload: don't let progress bar raise exceptions
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
Documentation updates
Merge branch 'feature-output' into develop
Conflicts: kamaki/clients/__init__.py kamaki/clients/pithos.py
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
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.
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
Add store_touch, create_object
Create a zero-length object
Move DateArgument to argument from pithos
Adjust pithos_cli
Adjust store_list
Formated output in long command description
Correct publish output, more details in storelist
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
Allow general options to run a@ initial kamaki
kamaki -v runs a kamaki shell with verbose on!
Forgotten Typos
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
Propagate error mechanism in pithos_cli
Trace errors in cli.commands mechanism-not prpgtd
Update comment docs at pithos client
Update pithos_cli comments for better autodocs
Replace pithos_cli.MetaArguement with KeyValueArg
Upgrade progress compatibility to 1.0.2
New progress uses a different interface with start and finish methodsthat they are now used
Thread limit can be set by user
Improve print_list/dict
Complete UI/cli interface refactoring, minor bugs
NEW server method: wait_server + cli command
wait for server to reach state (e.g. while building)
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
Gracefull filenotfound error in store upload
Try pithos without relative imports
Tide up a little
Kamaki now has interactive shell + minor fixes
Rearange commands class hierarchy
Minor improvements
History as command
Re-write Command-Tree (cleaner and faster)
Completed Pithos_cli adjustment
Fix help message formating, go on with pithos_cli
Show command-specific help
Interuption - Haven't finished pithos_cli adjust
Adjust store list to new arg/config mechanism
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
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...
Unitest purge, create_by_manifestation, versionlst
Get rid of pithos_sh
The old profecy "there will be only one [Pithos Client]" is finallyfullfilled