| Branch: | Tag: | Revision:

root / kamaki / cli / commands / @ f2ea1314

History | View | Annotate | Download (77.3 kB)

# Date Author Comment
f17d6cb5 07/16/2013 04:55 pm Stavros Sachtouris

Fully test argument.Argument

Refs: #4058

e3f01d64 06/26/2013 12:28 pm Stavros Sachtouris

Update the copyright dates everywhere

fa382f9e 06/14/2013 05:51 pm Stavros Sachtouris

Fix deprecated terms in documentation

9e0a1a4c 06/14/2013 11:35 am Stavros Sachtouris

Prepare special local paths (like .) for pithos

df0045d8 06/13/2013 06:37 pm Stavros Sachtouris

Fix all minor typos and modifications in tests

144b3551 06/12/2013 03:02 pm Stavros Sachtouris

Change term "remote" to "cloud" when proper

Refs: #3934

866a5b5e 06/07/2013 03:42 pm Stavros Sachtouris

Merge branch 'feature-endpoints' into develop

c626151a 06/07/2013 03:41 pm Stavros Sachtouris

Adjust help messages to configuration changes


40bdbfa3 06/07/2013 02:25 pm Stavros Sachtouris

Merge branch 'feature-endpoints' into develop

14d15eca 06/07/2013 02:19 pm Stavros Sachtouris

Use os-specific path seperators in up/down-load -R

Refs: #3954

b4f69041 06/06/2013 05:29 pm Stavros Sachtouris

Adjust all command specs to multicloud/singleauth

Refs: #3934

201baa17 06/04/2013 02:03 pm Stavros Sachtouris

A. Hardcode the new kamaki config file

Refs: #3934

Breaks compatibility, implements a remotes-based config file

f5c28bfa 06/04/2013 12:30 pm Stavros Sachtouris

Backwards compatibility for configuraiton file

Compatible with kamaki config files v2

user.url, file.url, compute.url and image.url
are now valid and of higher priority to
astakos.url, pithos.url, cyclades.url, plankton.url
which are also valid

All these are ignored iff [global].auth_url is given

819311d3 06/03/2013 05:19 pm Stavros Sachtouris

Handle url proccessing even if url is unicode

Also, fix typos and default values for service configurations

ef00bc31 06/03/2013 02:37 pm Stavros Sachtouris

Apply servce.url options to cross-sercice calls

Refs: #3874

Let cross-service initializations to use explicit service endpoint urls if
there is no single authentication url.
- In Image commands, there are calls that use astakos and pithos clients
- In pithos there are calls that use astakos client

8cec3671 06/03/2013 02:22 pm Stavros Sachtouris

Use explicitely set services urls if no auth_url

Refs: #3874

In current configuration, kamaki checks for auth_url. If that fails,
it raises an error. If it is not set, it prints a warning and attempts
to read the <service>.url option from the configuration file....

f724cd35 05/31/2013 05:37 pm Stavros Sachtouris

Get endpoint urls for all CLI operations

Refs: #3874

Use kamaki.clients.astakos.AstakosClient as a cached astakos client to get
user information and, most importantly, endpoints. Allow users to authenticate
multiple tokens on the same session. In every session there must be at most...

117ca598 05/22/2013 06:05 pm Stavros Sachtouris

Merge branch 'feature-json-output' into develop


Also, take care of pep8 issues

d9301a7a 05/22/2013 06:01 pm Stavros Sachtouris

Fix typo in pithos upload output

545c6c29 05/22/2013 05:26 pm Stavros Sachtouris

Implement an optional json output 4 outputing cmds

Refs: #3732

00336c85 05/21/2013 05:08 pm Stavros Sachtouris

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

915b99b5 05/20/2013 01:21 pm Stavros Sachtouris

Apply optional output to kamaki file commands

Apply the feature wherever is applicable
Generalize the feature by moving the corresponding code to _command_init

5655d560 05/17/2013 07:11 pm Stavros Sachtouris

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...
55c75058 05/17/2013 03:49 pm Stavros Sachtouris

Add output to file copy/move

Also, kamaki.clients.pithos.copy/move_object returns response headers

Refs: #3756 #3732

94bedc5b 05/17/2013 02:48 pm Stavros Sachtouris

Add output support to create methods

Refs: #3756 #3732

In kamaki.clients
- storage.create_directory returns response headers
- implement pithos.create_container

In kamaki.cli.pithos
- add flag --with_output for optional output...

0399ac7e 05/17/2013 01:48 pm Stavros Sachtouris

Add json formated output for file list

- Implement a print_json auxiliary method in kamaki.cli.utils
- Add a (j, --json) flag to file list
When -j or --json flag is on, only json is printed

Refs: #3732

1d3f006b 05/15/2013 07:39 pm Stavros Sachtouris

Allow copy of deleted objects by refering to older

Also disallow moving deleted objects by version The later was implemented by
accident, due to the symetry between move and copy

Refs: #3737

e2d7b883 05/15/2013 06:32 pm Stavros Sachtouris

Fix typo dst_path instead of ds_path

Refs: 3737

ed9af02c 05/15/2013 05:36 pm Stavros Sachtouris

Add enumeration as optional for all list cmds

Refs: #3739

74c65e80 05/15/2013 03:44 pm Stavros Sachtouris

Cache container info request per upload session

Refs: #3735

0e728dcb 05/14/2013 07:30 pm Stavros Sachtouris

Add a -l option to upload: list uploaded details

If the upload is successfull, if the -l or --details argument is present,
kamaki lists all uploaded objects with all details returned by the server
(e.g. object version, date of creation, etc)

Refs: #3730

be4a8ccd 05/14/2013 06:22 pm Stavros Sachtouris

Implement purging a non-empty container

kamaki file purge <container> -F

will automatically empty a container before purging it

Refs: #3662

9986e569 05/09/2013 07:06 pm Stavros Sachtouris

Globalize logger usage

Unsolved bug: redudant info in logfile

9f783a51 04/30/2013 01:54 pm Stavros Sachtouris

Make containerlimit set/get aware of 0==unlimited

containerlimit set -h will tell users to use 0 for unlimited
containerlimit get will print "unlimited" if received a 0 value

c8d8c6c9 04/30/2013 01:37 pm Stavros Sachtouris

Alow uploading to container with limit 0

Container limit 0 means "unlimited"

2d158d8b 04/17/2013 12:01 pm Stavros Sachtouris

Make recursive upload non-default, rearange checks

Alloow recursive upload with R
Rearange pre-upload checks as shown bellow:
check first if it is recursive & direcory
- check if object exists or forced to overwrite
- check container limit and used size...

2b74fc1d 04/17/2013 11:45 am Stavros Sachtouris

Take into account container used bytes in upload

Before uploading, check if there is enough remaining space on container
remaning space = container limit - container used bytes

14b25e00 04/16/2013 05:26 pm Stavros Sachtouris

Prevent upload if uploads exceed container limit

Feature #3536

b666ef82 04/16/2013 03:45 pm Stavros Sachtouris

Implement a recursive upload

kamaki file upload <directory> <container>[:remote-dir]

where remote-dir either is a dir or does not exist

Feature #3536

3ed6dbde 04/15/2013 02:11 pm Stavros Sachtouris

Split file-quota semantics for account and contner

kamaki file quota --> only for account
kamaki file quota <container> --> kamaki file containerlimit get [container]

Support #3541

326a79b9 04/15/2013 01:32 pm Stavros Sachtouris

Rename file setquota to file containerlimit set

Also, do not allow user to set account quota

a29d2f88 04/15/2013 12:12 pm Stavros Sachtouris

Apply uniform descriptions to all client commands

<GRNET name>/<OS name> API <actuall api> commands

Cyclades/Compute API server commands
Pithos+/Storage API commands

Commands file names are named after the API they implement, not the command interface....

0ea31480 04/12/2013 06:27 pm Stavros Sachtouris

Update docs, rename kamaki.cli.commands/*

Documentation updates: reflect the changes in command groups
astakos --> user, store --> file

File renaming: remove the _cli suffix from modules in kamaki.cli.commands

Feature #3566