Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli @ c314fc10

# Date Author Comment
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

e13e308f 01/04/2013 01:36 pm Stavros Sachtouris

Merge branch 'develop' into feature-output

b01d6eb7 01/03/2013 07:14 pm Stavros Sachtouris

Merge branch 'develop' into feature-argument

04d01cd4 01/03/2013 07:13 pm Stavros Sachtouris

Move DateArgument to argument from pithos

53e1f8d5 01/03/2013 06:51 pm Stavros Sachtouris

Allow params starting with - (e.g. history run)

18edacfe 01/03/2013 06:31 pm Stavros Sachtouris

Enrich server_list help message

a382ea56 01/03/2013 06:23 pm Stavros Sachtouris

Add since arg in server_list

3fe56be4 01/03/2013 05:09 pm Stavros Sachtouris

Richer help for config CLI commands

New feature: config delete --default to remove a default config option during
a session

590cb5d6 01/03/2013 02:38 pm Stavros Sachtouris

Catch all ClientErrors in astakos_authenticate

af569ab9 01/03/2013 02:30 pm Stavros Sachtouris

Catch and handle KeyboardInterrupt in shell

57ecec97 01/03/2013 12:38 pm Stavros Sachtouris

Include defaults by default in config list

2fe2672e 12/23/2012 06:18 pm Stavros Sachtouris

Adjust pithos_cli

47ae7577 12/23/2012 03:36 am Stavros Sachtouris

Adjust store_list

1ae79e60 12/22/2012 09:25 pm Stavros Sachtouris

Adjust image_cli

746bd77f 12/22/2012 08:52 pm Stavros Sachtouris

Adjust history_cli

93914390 12/22/2012 08:46 pm Stavros Sachtouris

Adjust cyclades_cli to new Arguments handling

e15d78e2 12/22/2012 08:14 pm Stavros Sachtouris

Apply new argument strategy on server list

Suggested use:
- declare:
(self.)arguments = dict(argname=Argument())
- set/update:
self['argname'] = Argument(...)
- use:
self['argname']
- get arg object:
self.get_argument_object('argname')

b113e74b 12/22/2012 08:01 pm Stavros Sachtouris

Modify getitem semantics

Not getitem of cli.commands does return arg.value
- to set:
mycmd['argname'] = Argument(…)
or
mycmd.argument['argname'] = Argument(…)
- to get Argument object:
mycmd.get_argument_object('argname')
or
mycmd.argument['argname']...

5a37a189 12/22/2012 07:38 pm Stavros Sachtouris

Make arguments an internal feature of cli.commands

Now any cli.commands subclass instance:
- sets args like this:
mycmd['myargname'] = Argument()
instead of
mycmd.arguments['myargname']
- gets args like this:
mycmd['myargname'] = Argument()
instead of...

c5bcc3e3 12/20/2012 05:52 pm Stavros Sachtouris

Improve help for history run

0663d8d6 12/20/2012 05:20 pm Stavros Sachtouris

Nice instructions for astakos_cli

2703cceb 12/20/2012 05:06 pm Stavros Sachtouris

Formated output in long command description

93542587 12/20/2012 02:24 pm Stavros Sachtouris

Correct publish output, more details in storelist

42cb53d0 12/20/2012 01:45 pm Stavros Sachtouris

Merge branch 'develop' into feature-output

a494a741 12/20/2012 01:14 pm Stavros Sachtouris

Improve print_items, use it in flavor_list

flavor_list now prints id name instead of order. name

4e01956e 12/19/2012 06:38 pm Stavros Sachtouris

In shell, ignore unknown - args

c8e17a67 12/19/2012 06:06 pm Stavros Sachtouris

Deal with with argparse stupid error handling

argparse people must be sadists or they just hate other programers

2d7ce81e 12/19/2012 04:33 pm Stavros Sachtouris

Extent store_list to use path as prefix

kamaki store list mycontainer:phot

will list all objects in mycontainer prefixed with phot

c1558584 12/19/2012 04:14 pm Stavros Sachtouris

Full pretty errors in container-path storage check

66f1ff99 12/19/2012 02:22 pm Stavros Sachtouris

Test pretty error details with container-not-found