History | View | Annotate | Download (49.5 kB)
Adapt pithos commands for new projects
Add optional argument --project in file create;add command file reassign.
Document content-type in object_overwrite
Keep objects content type by default
Allow content-type in file overwrite
Bugfix: container delete for numerical containers
Remove fstat from clients.utils.readall
Refs: #4871
Fstat was used to compute the actual file size in order todistinguish if an empty read was because the file ended.It now considers an empty read to be an end of file.
This allows reading non-regular files.
Minor typos
Fix typo in file upload
Fix bug w. 0 file syncing
Carefully copy file * up to car
Refs: #4583
Merge branch 'feature-require-astakosclient' into develop
Apply "readall" method to PithosClient local IO
Complete astakosclient exposition in astakos.py
Refs: #4340
Create a step by step showcase kamaki.lib example
Refs: #4441
This example involves astakos, pithos, image and cyclades clientsIt also shows how to use kamaki.cli.config to get cloud informationIt attempts to create a cluster of VMs from a user-created image,...
Use multiformed ranges in kamaki pithos lib
Refs: #4059
Also, adjust corresponding unit and functional tests
Pithos client understands more range expressions
Let argument.rangeArgument parse more ranges
Allow upload_from_string to use content-encoding
Do not allow thread exceptions to stop errors
Guess mimetype and use it in uploads
Refs: #4196
Fix deprecated terms in documentation
Fix all minor typos and modifications in tests
Fix typo in method docs
Document the Upgrade notes for v0.9
Restore thread-wait for append
Merge branch 'feature-json-output' into develop
Conflicts: Changelog kamaki/cli/commands/image.py
Also, take care of pep8 issues
Wait threads to finish in pithos append_object
Implement an optional json output 4 outputing cmds
Refs: #3732
Do not recalculate #blocks in upload_from_string
Refs: #3608
Store image properties after image registration
Log of changes:- Properties are stored in a remote file on Pithos+- File name is <image-file>.meta- Feature can be switched off with --no-property-file-upload- If remote property file exists, registration is aborted...
Apply optional output to kamaki file commands
Apply the feature wherever is applicableGeneralize the feature by moving the corresponding code to _command_init
Update file operations and their output
Refs: #3756 #3732
- Add optional output for file methods: mkdir, touch, create, move, create, copy, move, append, delete, purge, info, meta, upload - Transliterate permissions and metadata methods to apear as get/set/delete...
Add output to file copy/move
Also, kamaki.clients.pithos.copy/move_object returns response headers
Add output support to create methods
In kamaki.clients-------------------- storage.create_directory returns response headers- implement pithos.create_container
In kamaki.cli.pithos-------------------- add flag --with_output for optional output...
Functional test and debug for upload_from_string
Implement upload_from_string
Implemented with threads
Optimize download_to_string by using threads
Implement download_to_string in pithos client
The download_to_string method downloads a remote object from pithos into astring, which is then returned.
Also, implemented unit and functional tests. Changelog is updated
Adjust pithos livetest to use container_info_cache
Refs: #3707
Add a container_infor_cache param to upload_object
Each upload involves a request that retrieves block size and hash information.In higher level applications, this request is redudant after the first upload.This feature allows higher level operations to cache retrieved container info...
Modify upload methods to return created obj info
Methods affected: upload_object upload_object_unchunked upload_object_by_manifestation
unittests modified accordingly
Refs: #3656
Fix typo in _create_or_get_missing_hashes call
Honour if_(none_)match even if all blocks are up
Refs: bug #3708
Update docs to use the term Synnefo where needed
In some cases, the term 'GRNET development team' was replaced with 'Synnefo' or'Synnefo development team'
Split file-quota semantics for account and contner
kamaki file quota --> only for accountkamaki file quota <container> --> kamaki file containerlimit get [container]
Support #3541
Rename file setquota to file containerlimit set
Also, do not allow user to set account quota
Add if-etag-match to pithos client upload
Merge branch 'feature-store' into develop
Add option to fail upload if remote file exists
The if-none-match header option with '*' is used in that case.This is exposed as 'if_not_exist' in PithosClient.upload_object
Feature #3574
Make --public and --sharing to work in upload
Bug #3509
Fix typo in using download progress bar
Minimize requeests whn dnlding same block
If a file has multiple same blocks, download one of them and copy it to localfile locations
fixbug 3555: blcks missing if same to other blcks
Redesign http connection module
Merge everything to kamaki.clients
Remove multiple hierarchies of connection classes (== abandon support for alternative connection methods, e.g. for requests from pypi)
New connection classes are- RequestManager- ResponseManager...
Prepare PithorRest testcase for implementation
Rephrase astakos client and wip clients code
Rearange client packages 4 uniformity in testing