Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli @ 279dabb9

# Date Author Comment
d160ada1 02/26/2013 12:42 pm Stavros Sachtouris

Allow non-ascii paramters on path2url

Replace calls of the form unicode(v) to the equivalent" '%s' % v

f5f2dc53 02/21/2013 12:50 pm Stavros Sachtouris

Rename tests to livetest in kamaki.clients

Update documentation to reflect these changes

9d1db11e 02/20/2013 06:58 pm Stavros Sachtouris

Make network-create --with-dhcp option a flag

db36a6a7 02/19/2013 04:17 pm Stavros Sachtouris

Fix pep8 error

9bc8317f 02/19/2013 04:16 pm Stavros Sachtouris

Fix bug in error reporting if service anavailable

e9e6be37 02/19/2013 03:47 pm Stavros Sachtouris

Merge branch 'feature-store' into develop

d00fd070 02/19/2013 03:46 pm Stavros Sachtouris

Recover default value of non-None default args

a3ba3bce 02/19/2013 02:20 pm Stavros Sachtouris

Make store download more intuitive + debug

Use cases:
- download <container>
Illegal
- download <container> --resume
Download contests to .
- download <container>:<directory>
Illegal
- download <container>:<directory> --recursive
Download remote dir and contents to ....

3e492898 02/15/2013 01:27 pm Stavros Sachtouris

Better error message when downld destin. exists

3d568c09 02/15/2013 01:14 pm Stavros Sachtouris

Fix pithos download_object typo range->range_str

b58c1078 02/13/2013 01:14 pm Stavros Sachtouris

Make pithos_rest_api method vars safe from None

Some vars that have not None as default value where vulnerable to None assignments

06eccea2 02/13/2013 12:32 pm Stavros Sachtouris

Remove list2str() (clients.utils) 4 simplicity

ea4a21b8 02/11/2013 07:45 pm Stavros Sachtouris

Make DateArgument to return timestamp by default

2005b18e 02/11/2013 05:42 pm Stavros Sachtouris

Fix some more pep8 issues, more later

24ff0a35 02/11/2013 05:19 pm Stavros Sachtouris

Fix pep8 compliance issues everywhere

de73876b 02/08/2013 07:25 pm Stavros Sachtouris

Attempt to pep8-fix some source files

7ae842c2 02/07/2013 07:18 pm Stavros Sachtouris

Adjust documentation, allow explicit account set

1f5debf7 02/07/2013 06:43 pm Stavros Sachtouris

Use UUID when calling pithos client

In kamaki.clients.pithos context, the variable is still called account
Only the callers change their behavior, as they should retrive the
account by calling kamaki.clients.astakos.AstakosClient().term('uuid')
Tests are also adjusted

5207c784 02/07/2013 04:06 pm Stavros Sachtouris

Compact code and unittests for astakos client

17d86215 02/07/2013 02:06 pm Stavros Sachtouris

Create a cached access api to Astakos >= 0.13

3f61753d 02/07/2013 02:04 pm Stavros Sachtouris

Merge branch 'develop' into feature-astakos

Conflicts:
kamaki/cli/commands/astakos_cli.py
kamaki/clients/tests.py

67cb305b 02/06/2013 05:20 pm Stavros Sachtouris

Let clients tests to use custom config files

d1f78278 02/06/2013 05:13 pm Stavros Sachtouris

Complete clients.cyclades unittests

02846a75 02/05/2013 05:33 pm Stavros Sachtouris

Test and debug a generic progress bar for tests

in client

b482315a 02/05/2013 12:27 pm Stavros Sachtouris

Initialize tests for cyclades client, safe spiner

safe spiner is a replacement for progress bar functionality,
in case progress bar does not work

1f0370c9 02/04/2013 01:26 pm Stavros Sachtouris

Make astakos tests work with new test suite

0ba7b031 01/31/2013 08:51 pm Stavros Sachtouris

Recostruct kamaki shell input regular expression

New regex is '\'.*?\'|".*?"|^[\S]*$' and works along with some carefull extra spliting
In 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"...

f769a16a 01/31/2013 05:38 pm Stavros Sachtouris

Replace 'S if S else' with 'S or' in image_cli

89e4c1c4 01/30/2013 05:00 pm Stavros Sachtouris

Get rid of OrderedDict dependency for python<=2.6

c314fc10 01/30/2013 03:45 pm Stavros Sachtouris

Add new --[dst-]container info to documentation

b9ca5b73 01/30/2013 03:13 pm Stavros Sachtouris

download --resume can create new local files

52edad0a 01/30/2013 02:10 pm Stavros Sachtouris

Add : to all --container store-* commands

0e4ee6d1 01/30/2013 12:55 pm Stavros Sachtouris

store-move to use --dst-container with : support

e423eb63 01/30/2013 12:46 pm Stavros Sachtouris

Add store-copy --dst-container with : support

75ee7a88 01/30/2013 11:32 am Stavros Sachtouris

Remove obsolete method check_range

edab7ba7 01/29/2013 06:08 pm Stavros Sachtouris

Allow create/delete to operate on con:tainers

con:tainers are containers with : in their name

cdc4247b 01/29/2013 05:48 pm Stavros Sachtouris

-R as resursive in store_download

f6c09d14 01/29/2013 04:44 pm Stavros Sachtouris

Implement resursive download

ae99b37d 01/29/2013 02:20 pm Stavros Sachtouris

Intuitive semantics to store-download

download to directory means multiple downloads with prefix

285d7238 01/25/2013 09:19 pm Stavros Sachtouris

Total code reduction: ~25KiB of code

b4cf92b8 01/25/2013 09:17 pm Stavros Sachtouris

Fully adjust pithos_cli

68858765 01/25/2013 06:46 pm Stavros Sachtouris

Adjust up to store-download

ca092af4 01/25/2013 05:58 pm Stavros Sachtouris

Adjust up to store-overwrite

1395c40e 01/24/2013 08:19 pm Stavros Sachtouris

Adjust pithos_cli up to store_move

5a673575 01/24/2013 05:36 pm Stavros Sachtouris

Fully adjust cyclades_cli

b04288f7 01/23/2013 07:50 pm Stavros Sachtouris

Adjust cyclades_cli up to create

236e7d08 01/23/2013 06:48 pm Stavros Sachtouris

Fully adjust cyclades_cli

a03ade9e 01/23/2013 05:16 pm Stavros Sachtouris

Minor adjustments + apply to image_cli <=register

dc6fc88e 01/22/2013 08:32 pm Stavros Sachtouris

Apply changes to history_cli

436bd910 01/22/2013 07:51 pm Stavros Sachtouris

Propagate changes to config_cli

a00de254 01/22/2013 07:14 pm Stavros Sachtouris

Seperate error handling from main cli classes

So far tested in astakos only

36526b3c 01/22/2013 05:28 pm Stavros Sachtouris

Tide up error handling code in astakos

001200c3 01/22/2013 02:32 pm Stavros Sachtouris

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

7147e1ca 01/22/2013 12:42 pm Stavros Sachtouris

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

fa984c2c 01/21/2013 06:32 pm Stavros Sachtouris

mage-public: remove params without values

c3d131ec 01/21/2013 06:02 pm Stavros Sachtouris

Merge branch 'feature-store' into develop

745d938b 01/21/2013 06:00 pm Stavros Sachtouris

Tide up _upload_missing_blocks code + progress chk

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

3e7d1e0e 01/21/2013 01:53 pm Stavros Sachtouris

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...

1f315e7b 01/18/2013 06:41 pm Stavros Sachtouris

Make store-upload second param optional

35b52b0e 01/18/2013 02:44 pm Stavros Sachtouris

Update store-manifest help

Manifest is kept for compatibility with OOS Storage

aaca2ef4 01/18/2013 02:38 pm Stavros Sachtouris

path.basename for store-append/truncate/overwrite

Check if it is applied everywhire + minor improvements

7a423d97 01/18/2013 11:55 am Stavros Sachtouris

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...

707c1a4a 01/17/2013 07:10 pm Stavros Sachtouris

store upload uses basename if remote name msing

8249ee0f 01/17/2013 07:03 pm Stavros Sachtouris

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...

38b55954 01/17/2013 06:45 pm Stavros Sachtouris

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...

eb18b8a7 01/17/2013 04:29 pm Stavros Sachtouris

Add prefix-match ability to store-copy

1a3c18fd 01/17/2013 01:32 pm Stavros Sachtouris

Add include option to control conn-content print

f5d9bc54 01/15/2013 07:24 pm Stavros Sachtouris

Documentation updates

fa062062 01/15/2013 03:17 pm Stavros Sachtouris

Merge branch 'feature-quota' into develop

81e34150 01/15/2013 02:55 pm Stavros Sachtouris

Merge branch 'feature-output' into develop

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

18555878 01/14/2013 05:31 pm Stavros Sachtouris

Merge branch 'develop' into feature-quota

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

7644c38e 01/14/2013 03:39 pm Stavros Sachtouris

Handle thread failures in download

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

706fc940 01/11/2013 02:05 pm Stavros Sachtouris

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

131f4e86 01/11/2013 01:02 pm Stavros Sachtouris

Merge branch 'master' into feature-quota

Conflicts:
docs/installation.rst

4fcc38a2 01/10/2013 06:17 pm Stavros Sachtouris

Complete enrichment of store * commands

776eee69 01/10/2013 05:58 pm Stavros Sachtouris

Enrich helps/errors up to store_serversioning

72952f4f 01/10/2013 04:56 pm Stavros Sachtouris

Enrich helps/errors as fas as store_delmeta

8fa6ef6a 01/09/2013 07:35 pm Stavros Sachtouris

Enrich up to store_manifest

96ec49f2 01/09/2013 07:01 pm Stavros Sachtouris

Enricch store_append helps, fix docs/donf dep.

ab8e0346 01/09/2013 06:55 pm Stavros Sachtouris

Fix docs objpool dependency error

795bf206 01/09/2013 06:13 pm Stavros Sachtouris

Enrich up to store_move +update semantics

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

35f78d77 01/09/2013 05:32 pm Stavros Sachtouris

Unified connection error reporting in pithos cli

1e29b9f6 01/09/2013 05:03 pm Stavros Sachtouris

enrich up to store_create, which has new semantics

store_create is only for containers now

439826ec 01/09/2013 02:27 pm Stavros Sachtouris

Adjust util, docs and store_list to new strategy

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

15142309 01/09/2013 12:41 pm Stavros Sachtouris

Enrich image_* output/error reporting

fc903073 01/08/2013 06:30 pm Stavros Sachtouris

Enrich image-* up to image_members

850685bf 01/08/2013 05:49 pm Stavros Sachtouris

Add store_touch, create_object

Create a zero-length object

83c3ba87 01/08/2013 05:22 pm Stavros Sachtouris

Enrich image_public

0e806947 01/08/2013 04:14 pm Stavros Sachtouris

Enrich all network_* output and error handling

ddc0b290 01/08/2013 02:34 pm Stavros Sachtouris

Enrich netowrk_list/info output/error handling

769dbf53 01/08/2013 01:58 pm Stavros Sachtouris

Complete better output for flavor_*

87b6b0df 01/08/2013 01:53 pm Stavros Sachtouris

flavor_list error-handling

a4d0d88a 01/08/2013 01:43 pm Stavros Sachtouris

server_list with --more and page limit

bd40efdf 01/08/2013 01:11 pm Stavros Sachtouris

print_items can print results in pages, flavorlist

if called with page_size a possitive int, print_items holds every page_size
results and waits for user input to continue.

This is used in flavor_list for the moment, but is going to be a std option
for all *_list commands

22b6f063 01/04/2013 07:48 pm Stavros Sachtouris

Enrich help messages in all server * commands

8194b51b 01/04/2013 05:50 pm Stavros Sachtouris

Enrich helps in server create

d7259dd5 01/04/2013 05:14 pm Stavros Sachtouris

Enrich personality argument helps in server create

636876a4 01/04/2013 04:57 pm Stavros Sachtouris

Generalize connection error help for all server-*

a3360389 01/04/2013 04:34 pm Stavros Sachtouris

Bugfixes

67469d65 01/04/2013 04:30 pm Stavros Sachtouris

Handle connection errors, allow special handling

Showcase: server_info catche/manage clienterror that was
a connection error