| Branch: | Tag: | Revision:

root / kamaki / cli / commands / @ 2005b18e

History | View | Annotate | Download (60.5 kB)

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

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

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

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

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

Documentation updates

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

Merge branch 'feature-output' into develop


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;
kamaki store upload $img mycontainer:myImgDir

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.

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

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

Add store_touch, create_object

Create a zero-length object

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

Move DateArgument to argument from pithos

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

Adjust pithos_cli

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

Adjust store_list

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

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

451a7992 12/17/2012 07:33 pm Stavros Sachtouris

Allow general options to run a@ initial kamaki

kamaki -v runs a kamaki shell with verbose on!

e876ac62 12/14/2012 06:04 pm Stavros Sachtouris

Forgotten Typos

447c9568 12/10/2012 03:21 pm Stavros Sachtouris

Nicer container:path syntax errors in pithos cli

85d1cf46 12/10/2012 02:04 pm Stavros Sachtouris

Fix pithos_cli.hashmap typo

5260a313 12/07/2012 07:24 pm Stavros Sachtouris

Pithos+ publish returns access url

43ee6ae1 12/07/2012 06:17 pm Stavros Sachtouris

Propagate new error handling to cli.commands

New error handling is done only with cli.errors raiseCLIError methos

83ba5545 12/07/2012 05:06 pm Stavros Sachtouris

Propagate error mechanism in pithos_cli

6069b53b 12/07/2012 04:05 pm Stavros Sachtouris

Trace errors in cli.commands mechanism-not prpgtd

bc223d91 11/30/2012 06:24 pm Stavros Sachtouris

Update comment docs at pithos client

befed235 11/29/2012 06:36 pm Stavros Sachtouris

Update pithos_cli comments for better autodocs

03d661d8 11/29/2012 06:11 pm Stavros Sachtouris

Replace pithos_cli.MetaArguement with KeyValueArg

852a22e7 11/19/2012 02:01 pm Stavros Sachtouris

Upgrade progress compatibility to 1.0.2

New progress uses a different interface with start and finish methods
that they are now used

cccff590 11/16/2012 06:17 pm Stavros Sachtouris

Thread limit can be set by user

f551841a 11/14/2012 05:01 pm Stavros Sachtouris

Improve print_list/dict

d486baec 11/14/2012 01:38 pm Stavros Sachtouris

Complete UI/cli interface refactoring, minor bugs

fd1f1d96 11/08/2012 02:48 pm Stavros Sachtouris

NEW server method: wait_server + cli command

wait for server to reach state (e.g. while building)

0238c167 11/06/2012 07:08 pm Stavros Sachtouris

Propagate error handling corrections up to CLIs

6ac7f90f 11/05/2012 04:53 pm Stavros Sachtouris

Add object-version arg to store info

f27ed9a0 11/05/2012 03:55 pm Stavros Sachtouris

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

3dabe5d2 11/02/2012 01:16 pm Stavros Sachtouris

Make all source pep8 compliant

234954d1 11/01/2012 03:20 pm Stavros Sachtouris

pep8 kamaki.cli.commands

9ceec15a 10/31/2012 04:19 pm Stavros Sachtouris

Intriduce store cat to cli

cat prints a remote file to console
this used to be achieved by calling download with only one
parameter, which is not supported anymore

df959ba0 10/30/2012 06:51 pm Stavros Sachtouris

Remove too much progressbar warnings

b5d069f0 10/30/2012 06:48 pm Stavros Sachtouris

Move progressbar check to ProgressBarArgument

9791305f 10/30/2012 06:42 pm Stavros Sachtouris

Catch progressbar missing in download

41226a68 10/30/2012 06:39 pm Stavros Sachtouris

Dont create ProgressBar if progress not installed

5bfe1cda 10/30/2012 06:36 pm Stavros Sachtouris

Commit uncommited pithos_cli changes

67cea04c 10/29/2012 04:11 pm Stavros Sachtouris

Set colors off by default

436f2ce1 10/26/2012 05:03 pm Stavros Sachtouris

Gracefull filenotfound error in store upload

0b9269d8 10/23/2012 03:20 pm Stavros Sachtouris

Try pithos without relative imports

ef5f9c89 10/16/2012 05:07 pm Stavros Sachtouris

Tide up a little

ce48608f 10/16/2012 04:22 pm Stavros Sachtouris

Kamaki now has interactive shell + minor fixes

5eae854d 10/15/2012 12:00 pm Stavros Sachtouris

Rearange commands class hierarchy

0f653327 10/11/2012 12:47 pm Stavros Sachtouris

Minor improvements

b46307af 10/08/2012 07:15 pm Stavros Sachtouris

History as command

00af4193 10/03/2012 05:20 pm Stavros Sachtouris

Re-write Command-Tree (cleaner and faster)

e3d4d442 10/02/2012 04:31 pm Stavros Sachtouris

Completed Pithos_cli adjustment

486f7af1 10/02/2012 01:43 pm Stavros Sachtouris

Fix help message formating, go on with pithos_cli

efdee310 10/02/2012 12:32 pm Stavros Sachtouris

Show command-specific help

3a9478a8 10/01/2012 03:35 pm Stavros Sachtouris

Interuption - Haven't finished pithos_cli adjust

c41a86b2 10/01/2012 02:14 pm Stavros Sachtouris

Adjust store list to new arg/config mechanism

aa7f7bff 09/28/2012 05:58 pm Stavros Sachtouris

Complete one-command CLI, but still doesn't work

1. fix the command_specs with new argument system
2. Maybe take advantage of the arbitary length of command terms for more
expressive syntax/semantics

0b368c8c 09/27/2012 07:47 pm Stavros Sachtouris

Refactor CommandTree, parse and get cli class

f997679d 09/21/2012 06:07 pm Stavros Sachtouris

Start a great deal of CLI modifictions

Argument class wraps python ArgumentParser to provide a convinient arg system
CommandTree class manages (store, load, seek, etc) a tree of command paths
and loads them from command spec files.

Under heavy development...

ebdecdc7 09/20/2012 12:26 pm Stavros Sachtouris

Unitest purge, create_by_manifestation, versionlst

38dc5d2f 09/19/2012 02:06 pm Stavros Sachtouris

Get rid of pithos_sh

The old profecy "there will be only one [Pithos Client]" is finally