kamaki
11 years agoUse devflow for packaging
Stavros Sachtouris [Thu, 31 Jan 2013 13:32:05 +0000 (15:32 +0200)]
Use devflow for packaging

11 years agoGet rid of OrderedDict dependency for python<=2.6
Stavros Sachtouris [Wed, 30 Jan 2013 15:00:30 +0000 (17:00 +0200)]
Get rid of OrderedDict dependency for python<=2.6

11 years agoMerge branch 'feature-store' into develop
Stavros Sachtouris [Wed, 30 Jan 2013 13:45:47 +0000 (15:45 +0200)]
Merge branch 'feature-store' into develop

11 years agoAdd new --[dst-]container info to documentation
Stavros Sachtouris [Wed, 30 Jan 2013 13:45:12 +0000 (15:45 +0200)]
Add new --[dst-]container info to documentation

11 years agoMerge branch 'feature-store' into develop
Stavros Sachtouris [Wed, 30 Jan 2013 13:14:41 +0000 (15:14 +0200)]
Merge branch 'feature-store' into develop

11 years agodownload --resume can create new local files
Stavros Sachtouris [Wed, 30 Jan 2013 13:13:21 +0000 (15:13 +0200)]
download --resume can create new local files

11 years agoMerge branch 'feature-store' into develop
Stavros Sachtouris [Wed, 30 Jan 2013 12:11:05 +0000 (14:11 +0200)]
Merge branch 'feature-store' into develop

11 years agoAdd : to all --container store-* commands
Stavros Sachtouris [Wed, 30 Jan 2013 12:10:05 +0000 (14:10 +0200)]
Add : to all --container store-* commands

11 years agostore-move to use --dst-container with : support
Stavros Sachtouris [Wed, 30 Jan 2013 10:55:35 +0000 (12:55 +0200)]
store-move to use --dst-container with : support

11 years agoAdd store-copy --dst-container with : support
Stavros Sachtouris [Wed, 30 Jan 2013 10:46:14 +0000 (12:46 +0200)]
Add store-copy --dst-container with : support

11 years agoRemove obsolete method check_range
Stavros Sachtouris [Wed, 30 Jan 2013 09:32:19 +0000 (11:32 +0200)]
Remove obsolete method check_range

11 years agoAllow create/delete to operate on con:tainers
Stavros Sachtouris [Tue, 29 Jan 2013 16:08:55 +0000 (18:08 +0200)]
Allow create/delete to operate on con:tainers

con:tainers are containers with : in their name

11 years ago-R as resursive in store_download
Stavros Sachtouris [Tue, 29 Jan 2013 15:48:22 +0000 (17:48 +0200)]
-R as resursive in store_download

11 years agoMerge branch 'feature-store' into develop
Stavros Sachtouris [Tue, 29 Jan 2013 14:45:23 +0000 (16:45 +0200)]
Merge branch 'feature-store' into develop

11 years agoImplement resursive download
Stavros Sachtouris [Tue, 29 Jan 2013 14:44:47 +0000 (16:44 +0200)]
Implement resursive download

11 years agoMerge branch 'feature-store' into develop
Stavros Sachtouris [Tue, 29 Jan 2013 13:05:40 +0000 (15:05 +0200)]
Merge branch 'feature-store' into develop

11 years agoIntuitive semantics to store-download
Stavros Sachtouris [Tue, 29 Jan 2013 12:20:40 +0000 (14:20 +0200)]
Intuitive semantics to store-download

download to directory means multiple downloads with prefix

11 years agoChange version
Stavros Sachtouris [Tue, 29 Jan 2013 11:25:27 +0000 (13:25 +0200)]
Change version

11 years agoManifest Changelog
Stavros Sachtouris [Tue, 29 Jan 2013 11:08:06 +0000 (13:08 +0200)]
Manifest Changelog

11 years agoMerge branch 'feature-errors' into develop
Stavros Sachtouris [Fri, 25 Jan 2013 19:20:51 +0000 (21:20 +0200)]
Merge branch 'feature-errors' into develop

11 years agoTotal code reduction: ~25KiB of code
Stavros Sachtouris [Fri, 25 Jan 2013 19:19:47 +0000 (21:19 +0200)]
Total code reduction: ~25KiB of code

11 years agoFully adjust pithos_cli
Stavros Sachtouris [Fri, 25 Jan 2013 19:17:12 +0000 (21:17 +0200)]
Fully adjust pithos_cli

11 years agoAdjust up to store-download
Stavros Sachtouris [Fri, 25 Jan 2013 16:46:40 +0000 (18:46 +0200)]
Adjust up to store-download

11 years agoAdjust up to store-overwrite
Stavros Sachtouris [Fri, 25 Jan 2013 15:58:50 +0000 (17:58 +0200)]
Adjust up to store-overwrite

11 years agoAdjust pithos_cli up to store_move
Stavros Sachtouris [Thu, 24 Jan 2013 18:19:24 +0000 (20:19 +0200)]
Adjust pithos_cli up to store_move

11 years agoFully adjust cyclades_cli
Stavros Sachtouris [Thu, 24 Jan 2013 15:36:14 +0000 (17:36 +0200)]
Fully adjust cyclades_cli

11 years agoAdjust cyclades_cli up to create
Stavros Sachtouris [Wed, 23 Jan 2013 17:50:05 +0000 (19:50 +0200)]
Adjust cyclades_cli up to create

11 years agoFully adjust cyclades_cli
Stavros Sachtouris [Wed, 23 Jan 2013 16:48:11 +0000 (18:48 +0200)]
Fully adjust cyclades_cli

11 years agoMinor adjustments + apply to image_cli <=register
Stavros Sachtouris [Wed, 23 Jan 2013 15:16:20 +0000 (17:16 +0200)]
Minor adjustments + apply to image_cli <=register

11 years agoApply changes to history_cli
Stavros Sachtouris [Tue, 22 Jan 2013 18:32:40 +0000 (20:32 +0200)]
Apply changes to history_cli

11 years agoPropagate changes to config_cli
Stavros Sachtouris [Tue, 22 Jan 2013 17:51:44 +0000 (19:51 +0200)]
Propagate changes to config_cli

11 years agoSeperate error handling from main cli classes
Stavros Sachtouris [Tue, 22 Jan 2013 17:14:24 +0000 (19:14 +0200)]
Seperate error handling from main cli classes

So far tested in astakos only

11 years agoTide up error handling code in astakos
Stavros Sachtouris [Tue, 22 Jan 2013 15:28:59 +0000 (17:28 +0200)]
Tide up error handling code in astakos

11 years agoMerge branch 'feature-store' into develop
Stavros Sachtouris [Tue, 22 Jan 2013 13:04:53 +0000 (15:04 +0200)]
Merge branch 'feature-store' into develop

11 years agoFormat data size units, use it in quota commands
Stavros Sachtouris [Tue, 22 Jan 2013 12:32:21 +0000 (14:32 +0200)]
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 bytes
setquota can accept a unit string
    setquota 2.3GB

11 years agostore-delete asks for permission
Stavros Sachtouris [Tue, 22 Jan 2013 10:42:50 +0000 (12:42 +0200)]
store-delete asks for permission

In cli.utils: new method ask_user prompts for permission
In cli.commands.pithos_cli: store_delete/purge ask for permission
    they also feature a yes flag argument to avoid prompting

11 years agoMerge branch 'develop' into feature-store
Stavros Sachtouris [Tue, 22 Jan 2013 10:06:43 +0000 (12:06 +0200)]
Merge branch 'develop' into feature-store

11 years agomage-public: remove params without values
Stavros Sachtouris [Mon, 21 Jan 2013 16:32:41 +0000 (18:32 +0200)]
mage-public: remove params without values

11 years agoMerge branch 'feature-store' into develop
Stavros Sachtouris [Mon, 21 Jan 2013 16:02:09 +0000 (18:02 +0200)]
Merge branch 'feature-store' into develop

11 years agoTide up _upload_missing_blocks code + progress chk
Stavros Sachtouris [Mon, 21 Jan 2013 16:00:31 +0000 (18:00 +0200)]
Tide up _upload_missing_blocks code + progress chk

progress check in upload: don't let progress bar raise exceptions

11 years agoDoc updates and minor improvements
Stavros Sachtouris [Mon, 21 Jan 2013 13:23:10 +0000 (15:23 +0200)]
Doc updates and minor improvements

11 years agoUpload progress bar advances only if block uploads
Stavros Sachtouris [Mon, 21 Jan 2013 11:53:05 +0000 (13:53 +0200)]
Upload progress bar advances only if block uploads

was: progress bar advances if thread is initialized. In case of thread
failures, 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
per upload session

11 years agoMake store-upload second param optional
Stavros Sachtouris [Fri, 18 Jan 2013 16:41:47 +0000 (18:41 +0200)]
Make store-upload second param optional

11 years agoUpdate store-manifest help
Stavros Sachtouris [Fri, 18 Jan 2013 12:44:40 +0000 (14:44 +0200)]
Update store-manifest help

Manifest is kept for compatibility with OOS Storage

11 years agopath.basename for store-append/truncate/overwrite
Stavros Sachtouris [Fri, 18 Jan 2013 12:38:27 +0000 (14:38 +0200)]
path.basename for store-append/truncate/overwrite

Check if it is applied everywhire + minor improvements

11 years agoMore intuitive storer-copy/move semantics
Stavros Sachtouris [Fri, 18 Jan 2013 09:55:47 +0000 (11:55 +0200)]
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 object
copy/move cont:path cont2:
   will move all <obj> prefixed with path to container cont2
copy/move cont:path [cont2:]path2 --exact-match
   will move at most one <obj> as a new object named path2,
   provided path corresponds to a whole object path
copy/move cont:path [cont2:]path2 --replace
   will move all <obj> prefixed with path, replacing path with path2

11 years agostore upload uses basename if remote name msing
Stavros Sachtouris [Thu, 17 Jan 2013 17:10:35 +0000 (19:10 +0200)]
store upload uses basename if remote name msing

11 years agoChange store-move semantics (more like copy)
Stavros Sachtouris [Thu, 17 Jan 2013 17:03:42 +0000 (19:03 +0200)]
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 cont2
move cont:path [cont2:]path2 --exact-match
   will move at most one <obj> as a new object named path2
move cont:path [cont2:]path2 --replace
   will move all <obj> prefixed with path, replacing prefix with path2

11 years agoNew semantics for store-copy
Stavros Sachtouris [Thu, 17 Jan 2013 16:45:21 +0000 (18:45 +0200)]
New semantics for store-copy

copy cont:path path2
    will copy all files prefixed with path, as path2path
copy cont:path cont2:
    will copy all files prefixed with path to container cont2
copy cont:path [cont2:]path2 --exact-match
    will copy at most one object as a new object named path2
copy cont:path [cont2:]path2 --replace
    will copy all objs prefixed with path, replacing prefix with path2

11 years agoAdd prefix-match ability to store-copy
Stavros Sachtouris [Thu, 17 Jan 2013 14:29:27 +0000 (16:29 +0200)]
Add prefix-match ability to store-copy

11 years agoMerge branch 'feature-output' into develop
Stavros Sachtouris [Thu, 17 Jan 2013 12:51:46 +0000 (14:51 +0200)]
Merge branch 'feature-output' into develop

11 years agopre-connection debug info
Stavros Sachtouris [Thu, 17 Jan 2013 12:51:08 +0000 (14:51 +0200)]
pre-connection debug info

11 years agoMerge branch 'feature-output' into develop
Stavros Sachtouris [Thu, 17 Jan 2013 11:39:42 +0000 (13:39 +0200)]
Merge branch 'feature-output' into develop

11 years agoAdd include option to control conn-content print
Stavros Sachtouris [Thu, 17 Jan 2013 11:32:18 +0000 (13:32 +0200)]
Add include option to control conn-content print

11 years agoMerge branch 'master' into feature-output
Stavros Sachtouris [Thu, 17 Jan 2013 10:40:20 +0000 (12:40 +0200)]
Merge branch 'master' into feature-output

11 years agoAdd changelog v0.6.3
Stavros Sachtouris [Wed, 16 Jan 2013 15:01:24 +0000 (17:01 +0200)]
Add changelog

11 years agoDocumentation updates
Stavros Sachtouris [Wed, 16 Jan 2013 14:47:29 +0000 (16:47 +0200)]
Documentation updates

11 years agoDocumentation updates
Stavros Sachtouris [Tue, 15 Jan 2013 17:24:19 +0000 (19:24 +0200)]
Documentation updates

11 years agoMerge branch 'feature-quota' into develop
Stavros Sachtouris [Tue, 15 Jan 2013 13:17:14 +0000 (15:17 +0200)]
Merge branch 'feature-quota' into develop

11 years agoRe-fix setup
Stavros Sachtouris [Tue, 15 Jan 2013 13:07:51 +0000 (15:07 +0200)]
Re-fix setup

11 years agoMerge branch 'feature-output' into develop
Stavros Sachtouris [Tue, 15 Jan 2013 12:55:18 +0000 (14:55 +0200)]
Merge branch 'feature-output' into develop

Conflicts:
kamaki/clients/__init__.py
kamaki/clients/pithos.py

11 years agoForgoten save
Stavros Sachtouris [Tue, 15 Jan 2013 12:09:40 +0000 (14:09 +0200)]
Forgoten save

11 years agoSetup QH-related package setup
Stavros Sachtouris [Tue, 15 Jan 2013 11:59:27 +0000 (13:59 +0200)]
Setup QH-related package setup

11 years agoSyntax check and debug
Stavros Sachtouris [Tue, 15 Jan 2013 11:37:24 +0000 (13:37 +0200)]
Syntax check and debug

11 years agoAdd all quotaholder files in kamaki
Stavros Sachtouris [Tue, 15 Jan 2013 11:12:00 +0000 (13:12 +0200)]
Add all quotaholder files in kamaki

11 years agoCopy quotaholder client files into clients
Stavros Sachtouris [Mon, 14 Jan 2013 17:05:28 +0000 (19:05 +0200)]
Copy quotaholder client files into clients

11 years agoMerge branch 'develop' into feature-quota
Stavros Sachtouris [Mon, 14 Jan 2013 15:31:14 +0000 (17:31 +0200)]
Merge branch 'develop' into feature-quota

Conflicts:
kamaki/cli/commands/history_cli.py
kamaki/cli/commands/pithos_cli.py

11 years agoMore retries, dynamic upload thread limit
Stavros Sachtouris [Mon, 14 Jan 2013 14:22:23 +0000 (16:22 +0200)]
More retries, dynamic upload thread limit

Even the slightest progress causes upload to retry
if 502 client error is received, # of threads are limited to current thread

11 years agoHandle thread failures in download
Stavros Sachtouris [Mon, 14 Jan 2013 13:39:27 +0000 (15:39 +0200)]
Handle thread failures in download

If some threads fail for some reason, download re-tries 2 more times,
provided there is some progress

11 years agoupload does not overwrite remote objs by default
Stavros Sachtouris [Fri, 11 Jan 2013 12:05:53 +0000 (14:05 +0200)]
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:myImgDir
done

11 years agoMerge branch 'master' into feature-quota
Stavros Sachtouris [Fri, 11 Jan 2013 11:02:38 +0000 (13:02 +0200)]
Merge branch 'master' into feature-quota

Conflicts:
docs/installation.rst

11 years agoComplete enrichment of store * commands
Stavros Sachtouris [Thu, 10 Jan 2013 16:17:23 +0000 (18:17 +0200)]
Complete enrichment of store * commands

11 years agoEnrich helps/errors up to store_serversioning
Stavros Sachtouris [Thu, 10 Jan 2013 15:58:43 +0000 (17:58 +0200)]
Enrich helps/errors up to store_serversioning

11 years agoEnrich helps/errors as fas as store_delmeta
Stavros Sachtouris [Thu, 10 Jan 2013 14:56:31 +0000 (16:56 +0200)]
Enrich helps/errors as fas as store_delmeta

11 years agoFix docs build system v0.6.2.1
Nikos Skalkotos [Thu, 10 Jan 2013 11:06:38 +0000 (13:06 +0200)]
Fix docs build system

In docs/conf.py add the path to kamaki source as the first entry of
os.path. This way we can ensure that when the sphinx imports kamaki
modules, it will use the ones from the source.

11 years agoMerge branch 'develop' into feature-output
Stavros Sachtouris [Thu, 10 Jan 2013 11:06:04 +0000 (13:06 +0200)]
Merge branch 'develop' into feature-output

11 years agoDocfix
Stavros Sachtouris [Thu, 10 Jan 2013 11:05:39 +0000 (13:05 +0200)]
Docfix

11 years agoMerge branch 'feature-output' into develop
Stavros Sachtouris [Thu, 10 Jan 2013 10:55:39 +0000 (12:55 +0200)]
Merge branch 'feature-output' into develop

11 years agoEnrich up to store_manifest
Stavros Sachtouris [Wed, 9 Jan 2013 17:35:55 +0000 (19:35 +0200)]
Enrich up to store_manifest

11 years agoEnricch store_append helps, fix docs/donf dep.
Stavros Sachtouris [Wed, 9 Jan 2013 17:01:16 +0000 (19:01 +0200)]
Enricch store_append helps, fix docs/donf dep.

11 years agoFix docs objpool dependency error
Stavros Sachtouris [Wed, 9 Jan 2013 16:55:12 +0000 (18:55 +0200)]
Fix docs objpool dependency error

11 years agoEnrich up to store_move +update semantics
Stavros Sachtouris [Wed, 9 Jan 2013 16:13:01 +0000 (18:13 +0200)]
Enrich up to store_move +update semantics

copy/move [container:]<path> [container:]path

11 years agotypo
Stavros Sachtouris [Wed, 9 Jan 2013 15:40:11 +0000 (17:40 +0200)]
typo

11 years agoCollection.ordereddict bckwrds compatibility
Stavros Sachtouris [Wed, 9 Jan 2013 15:39:09 +0000 (17:39 +0200)]
Collection.ordereddict bckwrds compatibility

setup

11 years agoordereddict dependency compatibility in setup, doc
Stavros Sachtouris [Wed, 9 Jan 2013 15:37:03 +0000 (17:37 +0200)]
ordereddict dependency compatibility in setup, doc

11 years agoUnified connection error reporting in pithos cli
Stavros Sachtouris [Wed, 9 Jan 2013 15:32:06 +0000 (17:32 +0200)]
Unified connection error reporting in pithos cli

11 years agoenrich up to store_create, which has new semantics
Stavros Sachtouris [Wed, 9 Jan 2013 15:03:02 +0000 (17:03 +0200)]
enrich up to store_create, which has new semantics

store_create is only for containers now

11 years agoAdjust util, docs and store_list to new strategy
Stavros Sachtouris [Wed, 9 Jan 2013 12:27:58 +0000 (14:27 +0200)]
Adjust util, docs and store_list to new strategy

New method: cli.utils.page_hold holds console until user input, usefull for listing
results

11 years agoMerge branch 'develop' into feature-output
Stavros Sachtouris [Wed, 9 Jan 2013 10:42:05 +0000 (12:42 +0200)]
Merge branch 'develop' into feature-output

11 years agoEnrich image_* output/error reporting
Stavros Sachtouris [Wed, 9 Jan 2013 10:41:30 +0000 (12:41 +0200)]
Enrich image_* output/error reporting

11 years agoEnrich image-* up to image_members
Stavros Sachtouris [Tue, 8 Jan 2013 16:30:09 +0000 (18:30 +0200)]
Enrich image-* up to image_members

11 years agoMerge branch 'develop' into feature-output
Stavros Sachtouris [Tue, 8 Jan 2013 15:52:50 +0000 (17:52 +0200)]
Merge branch 'develop' into feature-output

11 years agoAdd store_touch, create_object
Stavros Sachtouris [Tue, 8 Jan 2013 15:49:49 +0000 (17:49 +0200)]
Add store_touch, create_object

Create a zero-length object

11 years agoMerge branch 'feature-output' into develop
Stavros Sachtouris [Tue, 8 Jan 2013 15:23:20 +0000 (17:23 +0200)]
Merge branch 'feature-output' into develop

11 years agoEnrich image_public
Stavros Sachtouris [Tue, 8 Jan 2013 15:22:41 +0000 (17:22 +0200)]
Enrich image_public

11 years agoEnrich all network_* output and error handling
Stavros Sachtouris [Tue, 8 Jan 2013 14:14:21 +0000 (16:14 +0200)]
Enrich all network_* output and error handling

11 years agoEnrich netowrk_list/info output/error handling
Stavros Sachtouris [Tue, 8 Jan 2013 12:34:44 +0000 (14:34 +0200)]
Enrich netowrk_list/info output/error handling

11 years agoComplete better output for flavor_*
Stavros Sachtouris [Tue, 8 Jan 2013 11:58:47 +0000 (13:58 +0200)]
Complete better output for flavor_*

11 years agoflavor_list error-handling
Stavros Sachtouris [Tue, 8 Jan 2013 11:53:09 +0000 (13:53 +0200)]
flavor_list error-handling

11 years agoserver_list with --more and page limit
Stavros Sachtouris [Tue, 8 Jan 2013 11:43:15 +0000 (13:43 +0200)]
server_list with --more and page limit