Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli @ e15d78e2

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

34e4cf61 12/19/2012 12:38 pm Stavros Sachtouris

Run ignores self in command listing

2fbca093 12/19/2012 12:29 pm Stavros Sachtouris

Show long description in all places it could be

a71bb904 12/18/2012 06:12 pm Stavros Sachtouris

Show long description if available

b6a99832 12/18/2012 05:44 pm Stavros Sachtouris

Restructure interface code

68ab0942 12/18/2012 12:56 pm Stavros Sachtouris

Update history docs

519d8639 12/18/2012 12:32 pm Stavros Sachtouris

Debug history run

d6737e18 12/17/2012 08:07 pm Stavros Sachtouris

Help user initial kamaki setup (docs and defaults)

1f383ea0 12/17/2012 07:52 pm Stavros Sachtouris

Clean up code

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!

aa5c0458 12/17/2012 07:11 pm Stavros Sachtouris

Propagate warning-logging

db8d1766 12/17/2012 06:44 pm Stavros Sachtouris

Introduce warning logger

365280ca 12/17/2012 05:53 pm Stavros Sachtouris

Use a non-unicode progress-bar instead

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

Forgotten Typos

65b8765b 12/14/2012 03:03 pm Stavros Sachtouris

Merge branch 'features/output' into develop

53254b46 12/14/2012 03:03 pm Stavros Sachtouris

Make shell prompt sustainable to modifications

and add a space after :

00ef4ab6 12/14/2012 12:31 pm Stavros Sachtouris

History show and load with more features

show without args: show all
show/load can accept: * list of integers * negative numbers, meaning we count from the end of history list * number ranges (e.g. 2-7, -20-9, -29--9) * 0 means "start of the list", (e.g. 0-2 prints the first 2,...

660a0dad 12/12/2012 07:26 pm Stavros Sachtouris

history show specific command id or range

ee9f8245 12/12/2012 05:32 pm Stavros Sachtouris

Document History changes

f2e2663e 12/12/2012 04:30 pm Stavros Sachtouris

Rename history.recall to load, allow multiple ids

load 1 3 5-7 8 ...
also can repeat commands:
load 1 4 1 3-5 (repeats 1 and 4)

fce93ff6 12/12/2012 01:56 pm Stavros Sachtouris

History in shell can execute commands ('recall')

33b3595a 12/11/2012 07:29 pm Stavros Sachtouris

Plant a _cmd_tree idea in cli.history_recall

If an interface needs a recall, it should provide a full cmd_tree

304c90b5 12/11/2012 07:14 pm Stavros Sachtouris

Check clients.retrieve works

75a0ea7d 12/11/2012 07:03 pm Stavros Sachtouris

Add a retrieve method

6df4aa6e 12/11/2012 01:59 pm Stavros Sachtouris

Bugfix shell with custom config file

54d800e8 12/10/2012 08:55 pm Stavros Sachtouris

shell help messages are full

a39163c8 12/10/2012 06:18 pm Stavros Sachtouris

Remove config from shell arguments (careful!)

config module is needed for initializing stuff, but should not be
allowd after shell is up and running

c17b8bc0 12/10/2012 05:55 pm Stavros Sachtouris

cyclades_cli take advntg of updated utils

f8681ec8 12/10/2012 05:18 pm Stavros Sachtouris

Introduce enumrated list/dict print

d4abd11c 12/10/2012 05:01 pm Stavros Sachtouris

Remove brackets from print_list

e7b43695 12/10/2012 04:45 pm Stavros Sachtouris

Ommit print_list from cli.commands plugins

08c63ef5 12/10/2012 04:40 pm Stavros Sachtouris

Pretty print_list

4f989909 12/10/2012 04:14 pm Stavros Sachtouris

Fix unwanted error-detail inheritance bug

f91bc6b1 12/10/2012 04:08 pm Stavros Sachtouris

Add info in container-not-found error

b9b7bd83 12/10/2012 03:31 pm Stavros Sachtouris

Create dict/list prints test

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

129bd843 12/10/2012 01:37 pm Stavros Sachtouris

Remove unused shell options

b06eb654 12/10/2012 01:31 pm Stavros Sachtouris

Merge branch 'features/rfctr-argument' into develop

5ad77121 12/10/2012 01:21 pm Stavros Sachtouris

Fix unwanted argument inheritance bug in shell

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

Pithos+ publish returns access url

f9af2848 12/07/2012 07:05 pm Stavros Sachtouris

Let shell be ready for unexpected errors

3e0f2e53 12/07/2012 06:50 pm Stavros Sachtouris

Bugfix with previour-errors remaining details

2b6050fd 12/07/2012 06:40 pm Stavros Sachtouris

Minor bugfix

b696ed2c 12/07/2012 06:34 pm Stavros Sachtouris

Propagate error handling at cli.argument

2ff0b7bd 12/07/2012 06:28 pm Stavros Sachtouris

Propagate error handling to cli.utils

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

3667e969 12/07/2012 05:43 pm Stavros Sachtouris

Kamakitest error msgs, error-handling bugfixes

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

120126f1 12/06/2012 05:52 pm Stavros Sachtouris

Fix shell extra args bug

074f5027 12/06/2012 04:50 pm Stavros Sachtouris

Propagate-debug changes for shell + debug

ee4c47d7 12/06/2012 03:36 pm Stavros Sachtouris

Cleanup deprecated method in argument

7c2247a0 12/06/2012 02:25 pm Stavros Sachtouris

Propagate-debug changes for one-cmd

b3dd8f4b 12/06/2012 01:22 pm Stavros Sachtouris

Design ArgumentParseManager, implement fnctionlity

7dbd52f5 12/06/2012 12:23 pm Stavros Sachtouris

Create ArgumentParseManager, with init

constructor replaces init_parser,
update_parser member method replaces upadte_argument (not tested)

e0da0f90 12/06/2012 12:21 pm Stavros Sachtouris

rid of init_parser

1d329d27 12/05/2012 07:24 pm Stavros Sachtouris

Better pithos upload progressbar

a10f5561 12/05/2012 12:08 pm Stavros Sachtouris

Progress bar apears asap

08a05270 12/04/2012 05:09 pm Stavros Sachtouris

Update/improve client unittests

1. increase test_set_firewall_profile tollerance
2. all options from config files
3. let tests read options from custom config files

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

Update comment docs at pithos client

606fe15f 11/30/2012 03:16 pm Stavros Sachtouris

Restructure kamaki.clients.compute

40a9c357 11/30/2012 01:47 pm Stavros Sachtouris

Recover accidentaly removed usefull code line

439926dd 11/30/2012 01:09 pm Stavros Sachtouris

Complete kamaki.cli.argument documentation

edb7fc1a 11/29/2012 07:11 pm Stavros Sachtouris

End of day: argument docs tomorrow

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

e5d1d5c2 11/27/2012 05:27 pm Stavros Sachtouris

Complete the kamaki interactive shell usage guide

Not spell-checked yet

57d622b6 11/27/2012 02:29 pm Stavros Sachtouris

Restore server-create --personality syntax etc.

the server-create command can, again, use the old syntax for --personality
parameter. What's more, multiple personalities can be appended on the
same call:

kamaki server create 'server name' <flavor id> <image id>...

7de017e5 11/27/2012 02:03 pm Stavros Sachtouris

Restore old personality syntax

Syntax is now the following:

kamaki create server 'Server name' <flavor id> <image id> [... params ...]
--personality=local_path[,server_path[,owner[,group[,mode]]]]

48cae069 11/23/2012 03:46 pm Stavros Sachtouris

Fix image_cli properties bug

f23a5cdb 11/23/2012 03:38 pm Stavros Sachtouris

Quick setup guide, remove empty lins in image list

e0f40c94 11/23/2012 12:39 pm Stavros Sachtouris

Fix quoted-input bug in one-cmd

457cb69b 11/23/2012 12:13 pm Stavros Sachtouris

Initialize new documents in docs

7845bf51 11/22/2012 03:21 pm Stavros Sachtouris

Fix local-path ref, undo register_cli syntax modif

WAS: register <name> <location>
THEN: register <location> [name]
NOW: register <name> <location>

but can run with --update to update an existing image instead of
replacing it

939ef0f6 11/21/2012 02:35 pm Stavros Sachtouris

Remove forgoten test from image_cli

329753ae 11/21/2012 12:39 pm Stavros Sachtouris

Update docs, fix bug when progress not installed

aa25346e 11/20/2012 07:03 pm Stavros Sachtouris

Pretify print_items

24518694 11/20/2012 06:25 pm Stavros Sachtouris

Print id before other info in network_list

2809ad78 11/20/2012 06:17 pm Stavros Sachtouris

Add --update functionality to image register ui

bcebdfef 11/20/2012 06:07 pm Stavros Sachtouris

New image method: reregister(location[, ...])

efbcdc41 11/20/2012 02:13 pm Stavros Sachtouris

Move split_line code to cli.utils

c530c456 11/20/2012 02:01 pm Stavros Sachtouris

Match more quoted text

Single quotes have now higher priority than double quotes
and they can be used together. E.g.

[server]: create 'Name "middle name" surname' 43 im@g31d5tr1ng

will push
Name "middle name" surname
as the name of the VM to the server

1c1a0941 11/20/2012 01:15 pm Stavros Sachtouris

Parse quoted strings in interactive shell

2b74ab4a 11/19/2012 06:23 pm Stavros Sachtouris

Unittest parallel server creation

e9a92550 11/19/2012 04:42 pm Stavros Sachtouris

Fix config-forget bug

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