Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli / __init__.py @ b91111b9

History | View | Annotate | Download (16.7 kB)

# Date Author Comment
7b2e4bf1 06/26/2013 04:47 pm Stavros Sachtouris

Make wait mechanism usble by more cyclades methods

Refs: #3867

b4ed3a7e 06/17/2013 04:34 pm Stavros Sachtouris

Rename: scenarios-->examples, add first content

- configuration section, with clouds
- Simple listing
- Pithos advanced listing

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

Fix deprecated terms in documentation

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

Fix all minor typos and modifications in tests

69691087 06/12/2013 05:32 pm Stavros Sachtouris

Do not suggest ansicolors if colors == off

Refs: #3978

44101d8a 06/12/2013 05:00 pm Stavros Sachtouris

Updagrade error message for multiple clouds

Refs: #3979

c825ddc9 06/12/2013 04:55 pm Stavros Sachtouris

Use the default_cloud global option

Refs: #3934 #3979

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

Change term "remote" to "cloud" when proper

Refs: #3934

904091dd 06/11/2013 07:27 pm Stavros Sachtouris

Adjust docs to cover multiple clouds functionality

This commit server as a backup mostly, since the adjustments are not yet
applied to docs/commands and all docs/developers kamaki guides.

844a6bdb 06/06/2013 01:32 pm Stavros Sachtouris

Adjust config cli commands to serve remotes

Refs: #3934

config set remote.smth.option value
inserts option=value in remote smth
config get remote.smth
lists the contents (key=val) of remote smth
config delete remote.smth.option
deletes this specific option from the remote smth...

362adf50 06/05/2013 07:00 pm Stavros Sachtouris

Decide a cloud term, use it if no cloud.url

Refs: #3934

ce9ccb40 06/05/2013 03:43 pm Stavros Sachtouris

Implement remotes support in Config and cli init

Refs: #3934

In Config:

Simplify guess_version heuristics (check if the following exist:
global.url/token, remote-defaults)
Trasnlate files 'remote "name"' to 3-level dict and back
Implement rescue_old_file to convert config files to v3.0...

14b9a185 06/04/2013 06:44 pm Stavros Sachtouris

Plan Config changes (rescue_old_file, translates)

Refs: #3934

rescue_old_file: mines info from old config file to use them in new file
translates:
remote "smth" --> 'remote': {'smth': ...
global.{url, token} --> remote.default.{url, token}
<command>.cli --> global.command_cli...

3f0eae61 06/04/2013 06:11 pm Stavros Sachtouris

Implement the Config.guess_version method

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

cb4a5d9c 06/03/2013 12:58 pm Stavros Sachtouris

Implement --cloud arg to switch between clouds

Refs: #3913

Config file can (optionaly) contain:

[remotes]
example = https://www.example.org/astakos/identity/v2.0/
old_version = https://www.example.org/astakos/identity/v1.0/
...

Now, user can explicitely request for a remote cloud authentication URI:...

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

334338ce 05/13/2013 02:13 pm Stavros Sachtouris

Raise a descriptive error for misconfigured cmds

Refs: #3663

A command group that is declared in the config file is not supported
by valid command specification code or the specification code is not
pointed at by <command>.cli configure variable

58850eb0 05/13/2013 12:55 pm Stavros Sachtouris

Log initial call arguments in first log

7637d600 05/10/2013 07:24 pm Stavros Sachtouris

Move logger module to kamaki.cli

9dc724e5 05/10/2013 05:38 pm Stavros Sachtouris

Allow activation/deactivation of specific loggers

refs: #3715
Logger settings are not aborted and will be restored at deactivation

Also, remove all logger creation functionality from kamaki.clients
A file or stream logger should be created an the kamaki.clients caller side...

6e1f863b 05/09/2013 07:18 pm Stavros Sachtouris

Use < and > in stream logger for send/recv resp.

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

Globalize logger usage

Unsolved bug: redudant info in logfile

f47417e7 04/12/2013 01:14 pm Stavros Sachtouris

Pametrize log file, make it globaly available

Kamaki logger module is now available to both cli and clients packages
Users may set the log_file option in configuration file
kamaki config set log_file ...

Support #3441

6fb4af77 03/04/2013 06:55 pm Stavros Sachtouris

Suggest ansicolors, progress when missing (#3367)

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

1a3c18fd 01/17/2013 01:32 pm Stavros Sachtouris

Add include option to control conn-content print

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

Catch and handle KeyboardInterrupt in shell

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

Formated output in long command description

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

Test pretty error details with container-not-found

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

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

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

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

Trace errors in cli.commands mechanism-not prpgtd

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

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

e9533b0c 11/16/2012 04:04 pm Stavros Sachtouris

Fix multi-cmd _best_match bug

834200da 11/15/2012 06:07 pm Stavros Sachtouris

Access top-level commands from anywhere in shell

Execs top-level commands but doesn't roll back correctly

d53062bd 11/15/2012 02:27 pm Stavros Sachtouris

Modify history commands

75c3fc42 11/15/2012 01:50 pm Stavros Sachtouris

Fix new deep-level bug in shell

87565d2c 11/14/2012 05:04 pm Stavros Sachtouris

Colors off if stdout is not a tty

71882bca 11/14/2012 03:10 pm Stavros Sachtouris

Apply total error handling

4f6a21f6 11/14/2012 02:14 pm Stavros Sachtouris

Colors are off by default

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

Complete UI/cli interface refactoring, minor bugs

af6de846 11/09/2012 03:45 pm Stavros Sachtouris

Start refactoring main CLI

Aims:
- cleaner cli load-point code
- move more argument logic to argument module
- move command loading to the seperate service cli modules:
each command spec module will provide a mechanism for loading
command interfaces (all of them or specific cmds)

062b1d0a 11/09/2012 01:44 pm Stavros Sachtouris

Extract json-encoded error info in clients

6cdfdcf3 11/09/2012 01:11 pm Stavros Sachtouris

Minor improvements to server_wait behavior

d07b3796 11/08/2012 05:29 pm Stavros Sachtouris

Fix bug with deep-pathed commands

FEATURE: subcommands of a callable command are not allowed. e.g.:

if the following exist as callable commands:
cmd1_cmd2
cmd1_cmd2_cmd3

then cmd1_cmd2 is resolved, but cmd1_cmd2_cmd3 is not

UNFIXED: There is still a case of syntax-error or --help call where the best...

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

Propagate error handling corrections up to CLIs

e02728f9 11/02/2012 07:28 pm Stavros Sachtouris

Use standard threading instead of gevent/greenlets

gevent depedency is not needed after that

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

Make all source pep8 compliant

fd5db045 10/31/2012 07:02 pm Stavros Sachtouris

pep8 part of kamaki (from root to cli)

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

Set colors off by default

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

Kamaki now has interactive shell + minor fixes

b9331a9f 10/15/2012 04:32 pm Stavros Sachtouris

Seperate shell from one-command cli

629adab4 10/12/2012 06:13 pm Stavros Sachtouris

Various behavioral fixes

05f5f380 10/12/2012 03:06 pm Stavros Sachtouris

Error details in default error message

ffaf6783 10/12/2012 02:57 pm Stavros Sachtouris

Shell can run cmds with args ony from context

1002315e 10/11/2012 06:38 pm Stavros Sachtouris

Multilevel command names and one-level api calls

486e55f4 10/11/2012 06:12 pm Stavros Sachtouris

Minor fixes

73e0914d 10/11/2012 05:18 pm Stavros Sachtouris

Initial shell functionality with 1st lvl cmds

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

Minor improvements

1c1fd2fa 10/10/2012 04:58 pm Stavros Sachtouris

Interactive shell (without functionality ftm)

f317a0b8 10/10/2012 04:19 pm Stavros Sachtouris

History clean and params

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

History as command

f3e94e06 10/08/2012 05:55 pm Stavros Sachtouris

Adjust cyclades clis, rearange command locations

f247bcb4 10/08/2012 01:20 pm Stavros Sachtouris

Add history handling - no history storage yet

26cd03ca 10/05/2012 06:58 pm Stavros Sachtouris

Adjust config

d88351f3 10/05/2012 06:17 pm Stavros Sachtouris

Rename command (mixed with method "command")

e3e8fdc3 10/05/2012 06:12 pm Stavros Sachtouris

Fix command args bug

d9325478 10/05/2012 06:03 pm Stavros Sachtouris

Refactor command-tree. Better code, still buggy

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

missing:
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

017d37ce 09/25/2012 07:14 pm Stavros Sachtouris

Test CommandTree usage and notice it's no good

CommandTree is not as convinient to use as planned, maybe it should
be redesinged

dfee2caf 09/25/2012 05:48 pm Stavros Sachtouris

Fix CLI top level error handling

9bdc89da 09/25/2012 04:50 pm Stavros Sachtouris

Argument object handles part of the functionality

+minor fixes

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

Unitest purge, create_by_manifestation, versionlst

7493ccb6 09/04/2012 06:57 pm Stavros Sachtouris

Correct repackaging, minor server list improvement