Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli / commands / pithos.py @ ffe30114

History | View | Annotate | Download (69.4 kB)

# Date Author Comment
602888f4 03/05/2014 06:53 pm Stavros Sachtouris

Update error messages for commands

43ab1e5b 02/26/2014 05:34 pm Stavros Sachtouris

Merge branch 'feature-unicode-http' into develop

27d3b17d 02/26/2014 05:10 pm Stavros Sachtouris

Fix copyright (recent file changes)

f5ea3023 02/26/2014 04:11 pm Stavros Sachtouris

Add source version in file overwrite

6c6abf6e 02/24/2014 04:10 pm Stavros Sachtouris

URL-encode http headers

Refs: #5150

04c039c8 02/06/2014 03:38 pm Stavros Sachtouris

Remove deprecated methods

023d5ada 02/05/2014 03:16 pm Stavros Sachtouris

Recognise usernames in --account args (or similar)

Refs: #4810

Arguments --account and --to-account can now accept usernames along with uuids
Kamaki attempts to recognise the argument as a uuid. In case of failure, it
attempts to recognise it as a username. If it fails again, it produces and...

4ddeb850 01/28/2014 01:58 pm Stavros Sachtouris

Do not let file-* cmds to create containers

Refs: #4992

c370ec9b 01/27/2014 03:02 pm Stavros Sachtouris

Always recognise a directory in pithos

Refs: #4987

4a5192d0 01/24/2014 01:04 pm Stavros Sachtouris

Remove conte-type from object_overwrite call

614a20dc 01/23/2014 11:56 am Stavros Sachtouris

Allow content-type in file overwrite

8e3cbcfe 01/20/2014 03:59 pm Stavros Sachtouris

Remove "None" from end of file cat responses

1df445fe 12/17/2013 06:26 pm Stavros Sachtouris

Adjust to progress 1.2

60bcb377 12/17/2013 05:45 pm Stavros Sachtouris

Make download overwrite more intuitive

11bdd05d 12/17/2013 03:22 pm Stavros Sachtouris

Fix typo in download overwrite

4193b902 12/16/2013 05:19 pm Stavros Sachtouris

Fix typo in group create

7a3c66e1 12/10/2013 03:25 pm Stavros Sachtouris

Fix unittests in kamaki.clients, subnet arg bug

cfba9587 12/06/2013 06:19 pm Stavros Sachtouris

Fix typo

c6ea94ac 12/06/2013 05:08 pm Stavros Sachtouris

Elaborate range argument usage

Refs: #4704

1c366ac9 12/06/2013 04:36 pm Stavros Sachtouris

Complete updating documentation

Refs: #4692

f084bdc8 12/05/2013 06:34 pm Stavros Sachtouris

Update docs up to examples/imageregister

Refs: #4692

432cea25 12/05/2013 05:44 pm Stavros Sachtouris

Adjust image register to new scheme

Refs: #4583

eb647cfe 11/29/2013 01:03 pm Stavros Sachtouris

Allow ports without device_id in lib + waits

Refs: #4624, #4563

a6d2ad78 11/28/2013 03:58 pm Stavros Sachtouris

Fix required argument inconsistency with lists

fcd0f53d 11/28/2013 03:00 pm Stavros Sachtouris

Merge branch 'feature-naming-scheme' into develop

Conflicts:
Changelog
kamaki/cli/commands/cyclades.py
kamaki/cli/commands/network.py
kamaki/cli/commands/pithos.py

f3a239f6 11/28/2013 02:49 pm Stavros Sachtouris

Update changelog

Refs: #4583

bfd0f8db 11/28/2013 01:43 pm Stavros Sachtouris

Complete Pithos+ copmmands

Refs: #4583

7b109aa7 11/27/2013 05:42 pm Stavros Sachtouris

Complete container commands

Refs: #4583

bfa33995 11/27/2013 02:09 pm Stavros Sachtouris

Manage file versions

commands affected: info, modify

Refs: #4583

606f5b54 11/27/2013 12:19 pm Stavros Sachtouris

Allow file download to download containers

20206179 11/26/2013 06:16 pm Stavros Sachtouris

Implement info and modify for file

Refs: #4583

74b7c6dc 11/26/2013 04:47 pm Stavros Sachtouris

Implement file download

Refs: #4583

edc1182f 11/25/2013 06:14 pm Stavros Sachtouris

Carefully copy file * up to car

Refs: #4583

de932277 11/25/2013 01:37 pm Stavros Sachtouris

Complete file copy/move (improved)

Refs: #4583

effa4b8f 11/22/2013 06:35 pm Stavros Sachtouris

Sketch-implement file copy/move

Refs: #4625, #4583

cec2dfcd 11/21/2013 04:08 pm Stavros Sachtouris

Reimplement pithos commands (apply naming scheme)

Refs: #4625, #4583

So far: file list, file create

ec5d658f 11/19/2013 06:18 pm Stavros Sachtouris

Move thread control to threaded commands

Refs: #4616, #4617

Remove max_theads from config, move control to threaded commands as --threads
Set default MAX_THREADS to 1

2d7278d0 10/22/2013 04:06 pm Stavros Sachtouris

Fix bug with bool convertion in file list

4f736175 10/22/2013 01:45 pm Stavros Sachtouris

Fix bug with permissions get

6c068db6 10/07/2013 06:33 pm Stavros Sachtouris

Create a step by step showcase kamaki.lib example

Refs: #4441

This example involves astakos, pithos, image and cyclades clients
It also shows how to use kamaki.cli.config to get cloud information
It attempts to create a cluster of VMs from a user-created image,...

b8352ce4 10/03/2013 04:18 pm Stavros Sachtouris

Create/expose methods for mass VM create/delete

Refs: #4429

8fb0acd2 10/02/2013 11:41 am Stavros Sachtouris

Fix error with wrong argument in file upload

f76c6bbc 10/01/2013 02:06 pm Stavros Sachtouris

Add --output-format where applicable

Refs: #4342

It currently exists along with -j/--json for bw compatiblity.
--output-format=json is equivalent to -j or --json

7afb2611 09/30/2013 12:16 pm Stavros Sachtouris

Add -R/--recursive when listing containers

Refs: #4301

This arument will output container contents with each container listed

8694bdad 09/30/2013 11:56 am Stavros Sachtouris

Separate object/container level args, raise errors

Refs: #4301

-R/--recursive argument will be a container-level only argument,
so all arguments should be separated and raise erros in case of wrong usage

16d7b9ff 09/26/2013 02:14 pm Stavros Sachtouris

Update and correct kamaki.clients documentation

97086fcd 09/24/2013 06:33 pm Stavros Sachtouris

Fix sphinx warnings

7f869771 09/13/2013 07:21 pm Stavros Sachtouris

Fix typo in private method

7df54888 09/12/2013 05:47 pm Stavros Sachtouris

Enrich pithos permission message (global sharing)

b5578909 09/12/2013 04:49 pm Stavros Sachtouris

Fix typo in file_publish

76f58e2e 09/12/2013 04:13 pm Stavros Sachtouris

Replace print methods w. respective member methods

Refs: #4292

ff1c0296 09/11/2013 03:34 pm Stavros Sachtouris

Add _err to commands, remove pithos print calls

Refs: #4292

Also, add the methods write, writeln and error to print something to
<_commands>._out/_out/_err respectively.

builtin.print is replaced by self.writeln or self.error

1757c616 09/11/2013 11:31 am Stavros Sachtouris

Remove pithos.DelimterValue + self._out to list

Refs: #4292

25f0c0cf 09/09/2013 06:29 pm Stavros Sachtouris

Expand stream output to pithos print methods

fa9c0c38 09/06/2013 05:59 pm Stavros Sachtouris

Modify printing methods to use more stream types

Refs: #4288, #4279

Also, replace page_hold with pydoc.pager

cf115aed 08/26/2013 06:29 pm Stavros Sachtouris

Implement all user-id --> username mapings

Refs: #4228

d8ff7b56 08/26/2013 03:46 pm Stavros Sachtouris

Implement filters for flavor & exapdn 2 all lists

Refs: #4220

6d190dd1 08/26/2013 02:13 pm Stavros Sachtouris

Create _id/name_filter methods for all listings

Refs: #4220

0f383dcc 08/08/2013 06:01 pm Stavros Sachtouris

Unittest print_dict + print_list

Refs: #4058

776b275c 08/05/2013 06:45 pm Stavros Sachtouris

Use multiformed ranges in kamaki pithos lib

Refs: #4059

Also, adjust corresponding unit and functional tests

7806f19d 08/02/2013 04:50 pm Stavros Sachtouris

Let argument.rangeArgument parse more ranges

Refs: #4059

9d3cd179 08/02/2013 01:52 pm Stavros Sachtouris

Show user names in /file sharers

Refs: #4203

a0a61f30 08/01/2013 02:21 pm Stavros Sachtouris

Correct error message if file does not exist

abff3366 07/31/2013 03:52 pm Stavros Sachtouris

Fix typos, decale kamai.cli.argument as package

f8426b5c 07/31/2013 03:18 pm Stavros Sachtouris

Guess mimetype and use it in uploads

Refs: #4196

a339a3ee 07/31/2013 12:37 pm Stavros Sachtouris

Ignore subdir section in file_list

Refs: Bug #4134

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

Refs:#3934

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

Conflicts:
Changelog
kamaki/cli/commands/image.py

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