kamaki
11 years agoUnified connection error reporting in pithos cli
Stavros Sachtouris [Wed, 9 Jan 2013 15:32:06 +0000 (17:32 +0200)]
Unified connection error reporting in pithos cli

11 years agoenrich up to store_create, which has new semantics
Stavros Sachtouris [Wed, 9 Jan 2013 15:03:02 +0000 (17:03 +0200)]
enrich up to store_create, which has new semantics

store_create is only for containers now

11 years agoAdjust util, docs and store_list to new strategy
Stavros Sachtouris [Wed, 9 Jan 2013 12:27:58 +0000 (14:27 +0200)]
Adjust util, docs and store_list to new strategy

New method: cli.utils.page_hold holds console until user input, usefull for listing
results

11 years agoMerge branch 'develop' into feature-output
Stavros Sachtouris [Wed, 9 Jan 2013 10:42:05 +0000 (12:42 +0200)]
Merge branch 'develop' into feature-output

11 years agoEnrich image_* output/error reporting
Stavros Sachtouris [Wed, 9 Jan 2013 10:41:30 +0000 (12:41 +0200)]
Enrich image_* output/error reporting

11 years agoEnrich image-* up to image_members
Stavros Sachtouris [Tue, 8 Jan 2013 16:30:09 +0000 (18:30 +0200)]
Enrich image-* up to image_members

11 years agoMerge branch 'develop' into feature-output
Stavros Sachtouris [Tue, 8 Jan 2013 15:52:50 +0000 (17:52 +0200)]
Merge branch 'develop' into feature-output

11 years agoAdd store_touch, create_object
Stavros Sachtouris [Tue, 8 Jan 2013 15:49:49 +0000 (17:49 +0200)]
Add store_touch, create_object

Create a zero-length object

11 years agoMerge branch 'feature-output' into develop
Stavros Sachtouris [Tue, 8 Jan 2013 15:23:20 +0000 (17:23 +0200)]
Merge branch 'feature-output' into develop

11 years agoEnrich image_public
Stavros Sachtouris [Tue, 8 Jan 2013 15:22:41 +0000 (17:22 +0200)]
Enrich image_public

11 years agoEnrich all network_* output and error handling
Stavros Sachtouris [Tue, 8 Jan 2013 14:14:21 +0000 (16:14 +0200)]
Enrich all network_* output and error handling

11 years agoEnrich netowrk_list/info output/error handling
Stavros Sachtouris [Tue, 8 Jan 2013 12:34:44 +0000 (14:34 +0200)]
Enrich netowrk_list/info output/error handling

11 years agoComplete better output for flavor_*
Stavros Sachtouris [Tue, 8 Jan 2013 11:58:47 +0000 (13:58 +0200)]
Complete better output for flavor_*

11 years agoflavor_list error-handling
Stavros Sachtouris [Tue, 8 Jan 2013 11:53:09 +0000 (13:53 +0200)]
flavor_list error-handling

11 years agoserver_list with --more and page limit
Stavros Sachtouris [Tue, 8 Jan 2013 11:43:15 +0000 (13:43 +0200)]
server_list with --more and page limit

11 years agoprint_items can print results in pages, flavorlist
Stavros Sachtouris [Tue, 8 Jan 2013 11:11:09 +0000 (13:11 +0200)]
print_items can print results in pages, flavorlist

if called with page_size a possitive int, print_items holds every page_size
results and waits for user input to continue.

This is used in flavor_list for the moment, but is going to be a std option
for all *_list commands

11 years agoEnrich help messages in all server * commands
Stavros Sachtouris [Fri, 4 Jan 2013 17:48:23 +0000 (19:48 +0200)]
Enrich help messages in all server * commands

11 years agoEnrich helps in server create
Stavros Sachtouris [Fri, 4 Jan 2013 15:50:24 +0000 (17:50 +0200)]
Enrich helps in server create

11 years agoEnrich personality argument helps in server create
Stavros Sachtouris [Fri, 4 Jan 2013 15:14:25 +0000 (17:14 +0200)]
Enrich personality argument helps in server create

11 years agoGeneralize connection error help for all server-*
Stavros Sachtouris [Fri, 4 Jan 2013 14:57:32 +0000 (16:57 +0200)]
Generalize connection error help for all server-*

11 years agoBugfixes
Stavros Sachtouris [Fri, 4 Jan 2013 14:34:48 +0000 (16:34 +0200)]
Bugfixes

11 years agoHandle connection errors, allow special handling
Stavros Sachtouris [Fri, 4 Jan 2013 14:30:28 +0000 (16:30 +0200)]
Handle connection errors, allow special handling

Showcase: server_info catche/manage clienterror that was
a connection error

11 years agoMerge branch 'develop' into feature-output
Stavros Sachtouris [Fri, 4 Jan 2013 11:36:07 +0000 (13:36 +0200)]
Merge branch 'develop' into feature-output

11 years agoMerge branch 'feature-argument' into develop
Stavros Sachtouris [Thu, 3 Jan 2013 17:14:49 +0000 (19:14 +0200)]
Merge branch 'feature-argument' into develop

11 years agoMerge branch 'develop' into feature-argument
Stavros Sachtouris [Thu, 3 Jan 2013 17:14:16 +0000 (19:14 +0200)]
Merge branch 'develop' into feature-argument

11 years agoMove DateArgument to argument from pithos
Stavros Sachtouris [Thu, 3 Jan 2013 17:13:58 +0000 (19:13 +0200)]
Move DateArgument to argument from pithos

11 years agoMerge branch 'feature-history' into develop
Stavros Sachtouris [Thu, 3 Jan 2013 16:52:27 +0000 (18:52 +0200)]
Merge branch 'feature-history' into develop

11 years agoAllow params starting with - (e.g. history run)
Stavros Sachtouris [Thu, 3 Jan 2013 16:51:33 +0000 (18:51 +0200)]
Allow params starting with - (e.g. history run)

11 years agoMerge branch 'develop' into feature-history
Stavros Sachtouris [Thu, 3 Jan 2013 16:35:50 +0000 (18:35 +0200)]
Merge branch 'develop' into feature-history

11 years agoEnrich server_list help message
Stavros Sachtouris [Thu, 3 Jan 2013 16:31:12 +0000 (18:31 +0200)]
Enrich server_list help message

11 years agoAdd since arg in server_list
Stavros Sachtouris [Thu, 3 Jan 2013 16:23:10 +0000 (18:23 +0200)]
Add since arg in server_list

11 years agoRicher help for config CLI commands
Stavros Sachtouris [Thu, 3 Jan 2013 15:09:51 +0000 (17:09 +0200)]
Richer help for config CLI commands

New feature: config delete --default to remove a default config option during
a session

11 years agoCatch all ClientErrors in astakos_authenticate
Stavros Sachtouris [Thu, 3 Jan 2013 12:38:34 +0000 (14:38 +0200)]
Catch all ClientErrors in astakos_authenticate

11 years agoMerge branch 'feature-output' into develop
Stavros Sachtouris [Thu, 3 Jan 2013 12:31:51 +0000 (14:31 +0200)]
Merge branch 'feature-output' into develop

11 years agoCatch and handle KeyboardInterrupt in shell
Stavros Sachtouris [Thu, 3 Jan 2013 12:30:50 +0000 (14:30 +0200)]
Catch and handle KeyboardInterrupt in shell

11 years agoInclude defaults by default in config list
Stavros Sachtouris [Thu, 3 Jan 2013 10:38:12 +0000 (12:38 +0200)]
Include defaults by default in config list

11 years agoAdjust pithos_cli
Stavros Sachtouris [Sun, 23 Dec 2012 16:18:01 +0000 (18:18 +0200)]
Adjust pithos_cli

11 years agoAdjust store_list
Stavros Sachtouris [Sun, 23 Dec 2012 01:36:10 +0000 (03:36 +0200)]
Adjust store_list

11 years agoAdjust image_cli
Stavros Sachtouris [Sat, 22 Dec 2012 19:25:30 +0000 (21:25 +0200)]
Adjust image_cli

11 years agoAdjust history_cli
Stavros Sachtouris [Sat, 22 Dec 2012 18:52:20 +0000 (20:52 +0200)]
Adjust history_cli

11 years agoAdjust cyclades_cli to new Arguments handling
Stavros Sachtouris [Sat, 22 Dec 2012 18:46:30 +0000 (20:46 +0200)]
Adjust cyclades_cli to new Arguments handling

11 years agoApply new argument strategy on server list
Stavros Sachtouris [Sat, 22 Dec 2012 18:14:37 +0000 (20:14 +0200)]
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')

11 years agoModify __getitem__ semantics
Stavros Sachtouris [Sat, 22 Dec 2012 18:01:02 +0000 (20:01 +0200)]
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']
- to get Argument value:
 mycmd['argname']
or
 mycmd['argname'].get_argument('argname') //bw comp.

11 years agoMake arguments an internal feature of cli.commands
Stavros Sachtouris [Sat, 22 Dec 2012 17:38:43 +0000 (19:38 +0200)]
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
 mycmd.arguments['myargname']
-get argument values like this:
 mycmd['myargname'].value
instead of
 mycmd.get_argument('myargname')
Backwards compatibility is preserved -old methds still ok

11 years agoAdd the Changelog for 0.6.2 v0.6.2
Stavros Sachtouris [Fri, 21 Dec 2012 10:39:52 +0000 (12:39 +0200)]
Add the Changelog for 0.6.2

11 years agoMerge branch 'develop'
Stavros Sachtouris [Thu, 20 Dec 2012 16:22:50 +0000 (18:22 +0200)]
Merge branch 'develop'

Conflicts:
docs/setup.rst

11 years agoDocumentation uniformity
Stavros Sachtouris [Thu, 20 Dec 2012 16:13:27 +0000 (18:13 +0200)]
Documentation uniformity

11 years agoMake setup easier
Stavros Sachtouris [Thu, 20 Dec 2012 16:12:35 +0000 (18:12 +0200)]
Make setup easier

11 years agoImprove help for history run
Stavros Sachtouris [Thu, 20 Dec 2012 15:52:42 +0000 (17:52 +0200)]
Improve help for history run

11 years agoNice instructions for astakos_cli
Stavros Sachtouris [Thu, 20 Dec 2012 15:20:05 +0000 (17:20 +0200)]
Nice instructions for astakos_cli

11 years agoFormated output in long command description
Stavros Sachtouris [Thu, 20 Dec 2012 15:06:14 +0000 (17:06 +0200)]
Formated output in long command description

11 years agoFix network disconnect detail show
Stavros Sachtouris [Thu, 20 Dec 2012 12:51:26 +0000 (14:51 +0200)]
Fix network disconnect detail show

11 years agoCorrect publish output, more details in storelist
Stavros Sachtouris [Thu, 20 Dec 2012 12:24:57 +0000 (14:24 +0200)]
Correct publish output, more details in storelist

11 years agoMerge branch 'develop' into feature-output
Stavros Sachtouris [Thu, 20 Dec 2012 11:45:02 +0000 (13:45 +0200)]
Merge branch 'develop' into feature-output

11 years agoImprove print_items, use it in flavor_list
Stavros Sachtouris [Thu, 20 Dec 2012 11:14:31 +0000 (13:14 +0200)]
Improve print_items, use it in flavor_list

flavor_list now prints id name instead of order. name

11 years agoIn shell, ignore unknown - args
Stavros Sachtouris [Wed, 19 Dec 2012 16:38:35 +0000 (18:38 +0200)]
In shell, ignore unknown - args

11 years agoMerge branches 'feature-output' and 'develop' into develop
Stavros Sachtouris [Wed, 19 Dec 2012 16:14:45 +0000 (18:14 +0200)]
Merge branches 'feature-output' and 'develop' into develop

11 years agoDeal with with argparse stupid error handling
Stavros Sachtouris [Wed, 19 Dec 2012 16:06:30 +0000 (18:06 +0200)]
Deal with with argparse stupid error handling

argparse people must be sadists or they just hate other programers

11 years agoExtent store_list to use path as prefix
Stavros Sachtouris [Wed, 19 Dec 2012 14:33:30 +0000 (16:33 +0200)]
Extent store_list to use path as prefix

kamaki store list mycontainer:phot

will list all objects in mycontainer prefixed with phot

11 years agoFull pretty errors in container-path storage check
Stavros Sachtouris [Wed, 19 Dec 2012 14:14:08 +0000 (16:14 +0200)]
Full pretty errors in container-path storage check

11 years agoTest pretty error details with container-not-found
Stavros Sachtouris [Wed, 19 Dec 2012 12:22:10 +0000 (14:22 +0200)]
Test pretty error details with container-not-found

11 years agoRun ignores self in command listing
Stavros Sachtouris [Wed, 19 Dec 2012 10:38:55 +0000 (12:38 +0200)]
Run ignores self in command listing

11 years agoShow long description in all places it could be
Stavros Sachtouris [Wed, 19 Dec 2012 10:29:50 +0000 (12:29 +0200)]
Show long description in all places it could be

11 years agoShow long description if available
Stavros Sachtouris [Tue, 18 Dec 2012 16:12:28 +0000 (18:12 +0200)]
Show long description if available

11 years agoRestructure interface code
Stavros Sachtouris [Tue, 18 Dec 2012 15:44:07 +0000 (17:44 +0200)]
Restructure interface code

11 years agoWindows installation guide
Stavros Sachtouris [Tue, 18 Dec 2012 14:00:06 +0000 (16:00 +0200)]
Windows installation guide

11 years agoMerge branch 'develop' into feature-windows
Stavros Sachtouris [Tue, 18 Dec 2012 12:31:03 +0000 (14:31 +0200)]
Merge branch 'develop' into feature-windows

11 years agoPrepent installation from package to source
Stavros Sachtouris [Tue, 18 Dec 2012 12:30:15 +0000 (14:30 +0200)]
Prepent installation from package to source

11 years agoUpdate history docs
Stavros Sachtouris [Tue, 18 Dec 2012 10:56:41 +0000 (12:56 +0200)]
Update history docs

11 years agoDebug history run
Stavros Sachtouris [Tue, 18 Dec 2012 10:32:41 +0000 (12:32 +0200)]
Debug history run

11 years agoResolve conflict
Stavros Sachtouris [Tue, 18 Dec 2012 09:26:02 +0000 (11:26 +0200)]
Resolve conflict

11 years agoMerge remote-tracking branch 'origin/develop' into feature-windows
Stavros Sachtouris [Tue, 18 Dec 2012 09:23:50 +0000 (11:23 +0200)]
Merge remote-tracking branch 'origin/develop' into feature-windows

Conflicts:
kamaki/cli/__init__.py
kamaki/cli/argument.py
kamaki/cli/command_shell.py
kamaki/cli/command_tree.py
kamaki/cli/commands/__init__.py
kamaki/cli/commands/astakos_cli.py
kamaki/cli/commands/config_cli.py
kamaki/cli/commands/cyclades_cli.py
kamaki/cli/commands/history_cli.py
kamaki/cli/commands/image_cli.py
kamaki/cli/commands/pithos_cli.py
kamaki/cli/commands/test_cli.py
kamaki/cli/config.py
kamaki/cli/errors.py
kamaki/cli/history.py
kamaki/cli/utils.py
kamaki/clients/connection/kamakicon.py
kamaki/clients/tests.py

11 years agoHelp user initial kamaki setup (docs and defaults)
Stavros Sachtouris [Mon, 17 Dec 2012 18:07:33 +0000 (20:07 +0200)]
Help user initial kamaki setup (docs and defaults)

11 years agoClean up code
Stavros Sachtouris [Mon, 17 Dec 2012 17:52:42 +0000 (19:52 +0200)]
Clean up code

11 years agoAllow general options to run a@ initial kamaki
Stavros Sachtouris [Mon, 17 Dec 2012 17:33:23 +0000 (19:33 +0200)]
Allow general options to run a@ initial kamaki

kamaki -v runs a kamaki shell with verbose on!

11 years agoPropagate warning-logging
Stavros Sachtouris [Mon, 17 Dec 2012 17:11:26 +0000 (19:11 +0200)]
Propagate warning-logging

11 years agoIntroduce warning logger
Stavros Sachtouris [Mon, 17 Dec 2012 16:44:50 +0000 (18:44 +0200)]
Introduce warning logger

11 years agoUse a non-unicode progress-bar instead
Stavros Sachtouris [Mon, 17 Dec 2012 15:53:16 +0000 (17:53 +0200)]
Use a non-unicode progress-bar instead

11 years agoForgotten Typos
Stavros Sachtouris [Fri, 14 Dec 2012 16:04:53 +0000 (18:04 +0200)]
Forgotten Typos

11 years agoUpdate pgp info in docs
Stavros Sachtouris [Fri, 14 Dec 2012 14:45:35 +0000 (16:45 +0200)]
Update pgp info in docs

11 years agoMerge branch 'features/output' into develop
Stavros Sachtouris [Fri, 14 Dec 2012 13:03:56 +0000 (15:03 +0200)]
Merge branch 'features/output' into develop

11 years agoMake shell prompt sustainable to modifications
Stavros Sachtouris [Fri, 14 Dec 2012 13:03:11 +0000 (15:03 +0200)]
Make shell prompt sustainable to modifications

and add a space after :

11 years agoline warning in docs
Stavros Sachtouris [Fri, 14 Dec 2012 12:52:53 +0000 (14:52 +0200)]
line warning in docs

11 years agoMerge branch 'features/history' into develop
Stavros Sachtouris [Fri, 14 Dec 2012 10:35:56 +0000 (12:35 +0200)]
Merge branch 'features/history' into develop

11 years agoHistory show and load with more features
Stavros Sachtouris [Fri, 14 Dec 2012 10:31:42 +0000 (12:31 +0200)]
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,
        -3-0 prints the last 3, etc)
    * all of the above seperated with spaces
    * order maters, repetitions allowed (show that history-load can behave
        like a script)

11 years agoMerge with develop
Dionysis Zindros [Wed, 12 Dec 2012 19:01:38 +0000 (21:01 +0200)]
Merge with develop

11 years agoMerge branch 'develop' into feature-windows
Dionysis Zindros [Wed, 12 Dec 2012 19:00:33 +0000 (21:00 +0200)]
Merge branch 'develop' into feature-windows

11 years agoMerge into develop
Dionysis Zindros [Wed, 12 Dec 2012 18:59:10 +0000 (20:59 +0200)]
Merge into develop

11 years agoPrepare to merge into develop
Dionysis Zindros [Wed, 12 Dec 2012 18:58:04 +0000 (20:58 +0200)]
Prepare to merge into develop

11 years agoRename the pool library to 'objpool'.
Dionysis Zindros [Wed, 12 Dec 2012 18:48:48 +0000 (20:48 +0200)]
Rename the pool library to 'objpool'.

11 years agoWindows port: Unit tests now avoid /dev/urandom.
Dionysis Zindros [Wed, 12 Dec 2012 18:47:37 +0000 (20:47 +0200)]
Windows port: Unit tests now avoid /dev/urandom.

Instead of using /dev/urandom which is specific to UNIX systems, switch to the
Python os.urandom() which is a cross-system solution and also works on Windows
systems. This allows for running the unit tests on Windows systems as well.

11 years agoRephrase comment to avoid profanity.
Dionysis Zindros [Wed, 12 Dec 2012 18:47:07 +0000 (20:47 +0200)]
Rephrase comment to avoid profanity.

11 years agoFix bug where unit tests read the wrong file.
Dionysis Zindros [Wed, 12 Dec 2012 18:46:26 +0000 (20:46 +0200)]
Fix bug where unit tests read the wrong file.

11 years agoWindows port: Avoid /tmp for temp files.
Dionysis Zindros [Wed, 12 Dec 2012 18:44:18 +0000 (20:44 +0200)]
Windows port: Avoid /tmp for temp files.

Switch from hard-coded /tmp usage to a cross-compatible solution that utilizes
Python's tempfile module.
This adds support for running the unit tests on Windows systems.

11 years agoExplicit error message for offset/size mismatch.
Dionysis Zindros [Wed, 12 Dec 2012 18:38:40 +0000 (20:38 +0200)]
Explicit error message for offset/size mismatch.

To assist porting to Windows, offset/size mismatch when reading files is now
being clearly reported with detailed error messages.

11 years agoWindows port: All binary files now opened using the 'b' flag
Dionysis Zindros [Wed, 12 Dec 2012 18:35:48 +0000 (20:35 +0200)]
Windows port: All binary files now opened using the 'b' flag

11 years agoMerge branch 'features/history' into develop
Stavros Sachtouris [Wed, 12 Dec 2012 17:26:30 +0000 (19:26 +0200)]
Merge branch 'features/history' into develop

11 years agohistory show specific command id or range
Stavros Sachtouris [Wed, 12 Dec 2012 17:26:02 +0000 (19:26 +0200)]
history show specific command id or range

11 years agoSuit up for release
Stavros Sachtouris [Wed, 12 Dec 2012 17:06:30 +0000 (19:06 +0200)]
Suit up for release

11 years agoRe-activate get/set_profile unittests
Stavros Sachtouris [Wed, 12 Dec 2012 16:19:59 +0000 (18:19 +0200)]
Re-activate get/set_profile unittests