kamaki
11 years agoFix typo in KamakiHTTPResponse method
Stavros Sachtouris [Fri, 15 Feb 2013 12:31:53 +0000 (14:31 +0200)]
Fix typo in KamakiHTTPResponse method

11 years agoSet this feature as part of version 0.7.1
Stavros Sachtouris [Wed, 13 Feb 2013 11:25:27 +0000 (13:25 +0200)]
Set this feature as part of version 0.7.1

11 years agoMake pithos_rest_api method vars safe from None
Stavros Sachtouris [Wed, 13 Feb 2013 11:14:56 +0000 (13:14 +0200)]
Make pithos_rest_api method vars safe from None

Some vars that have not None as default value where vulnerable to None assignments

11 years agoRemove list2str() (clients.utils) 4 simplicity
Stavros Sachtouris [Wed, 13 Feb 2013 10:32:46 +0000 (12:32 +0200)]
Remove list2str() (clients.utils) 4 simplicity

11 years agoTests run even if no progress installed
Stavros Sachtouris [Tue, 12 Feb 2013 17:19:11 +0000 (19:19 +0200)]
Tests run even if no progress installed

11 years agoUpdate Changelog
Stavros Sachtouris [Tue, 12 Feb 2013 14:01:18 +0000 (16:01 +0200)]
Update Changelog

11 years agoSync with rc2 state
Stavros Sachtouris [Tue, 12 Feb 2013 13:55:08 +0000 (15:55 +0200)]
Sync with rc2 state

11 years agoMerge branch 'release-0.7' into develop
Stavros Sachtouris [Tue, 12 Feb 2013 13:54:54 +0000 (15:54 +0200)]
Merge branch 'release-0.7' into develop

11 years agoRemove redudant line in setup
Stavros Sachtouris [Tue, 12 Feb 2013 13:49:58 +0000 (15:49 +0200)]
Remove redudant line in setup

11 years agoMerge branch 'release-0.7' into feature-cli-input
Stavros Sachtouris [Tue, 12 Feb 2013 13:42:28 +0000 (15:42 +0200)]
Merge branch 'release-0.7' into feature-cli-input

11 years agoURL-encode requests
Stavros Sachtouris [Tue, 12 Feb 2013 13:41:13 +0000 (15:41 +0200)]
URL-encode requests

11 years agoUpdate author and maintainer info in setup.py
Vangelis Koukis [Tue, 12 Feb 2013 12:10:56 +0000 (14:10 +0200)]
Update author and maintainer info in setup.py

11 years agoMerge branch 'develop' into feature-cli-input
Stavros Sachtouris [Tue, 12 Feb 2013 11:04:01 +0000 (13:04 +0200)]
Merge branch 'develop' into feature-cli-input

11 years agoSet version 0.7rc2
Stavros Sachtouris [Tue, 12 Feb 2013 10:05:28 +0000 (12:05 +0200)]
Set version 0.7rc2

11 years agoMerge branch 'develop' into release-0.7
Stavros Sachtouris [Tue, 12 Feb 2013 09:54:36 +0000 (11:54 +0200)]
Merge branch 'develop' into release-0.7

11 years agoFix a fixable pyflakes error
Stavros Sachtouris [Tue, 12 Feb 2013 09:48:54 +0000 (11:48 +0200)]
Fix a fixable pyflakes error

11 years agoDepend on argparse iff python < 2.7
Stavros Sachtouris [Mon, 11 Feb 2013 17:56:55 +0000 (19:56 +0200)]
Depend on argparse iff python < 2.7

11 years agoMake DateArgument to return timestamp by default
Stavros Sachtouris [Mon, 11 Feb 2013 17:45:17 +0000 (19:45 +0200)]
Make DateArgument to return timestamp by default

11 years agoAllow image tests to get uuid from astakos
Stavros Sachtouris [Mon, 11 Feb 2013 16:48:15 +0000 (18:48 +0200)]
Allow image tests to get uuid from astakos

11 years agoFix some more pep8 issues, more later
Stavros Sachtouris [Mon, 11 Feb 2013 15:42:26 +0000 (17:42 +0200)]
Fix some more pep8 issues, more later

11 years agoFix pep8 compliance issues everywhere
Stavros Sachtouris [Mon, 11 Feb 2013 15:19:50 +0000 (17:19 +0200)]
Fix pep8 compliance issues everywhere

11 years agoApply pep8 on clients.cyclades* methods
Stavros Sachtouris [Fri, 8 Feb 2013 17:39:14 +0000 (19:39 +0200)]
Apply pep8 on clients.cyclades* methods

11 years agoAttempt to pep8-fix some source files
Stavros Sachtouris [Fri, 8 Feb 2013 17:25:47 +0000 (19:25 +0200)]
Attempt to pep8-fix some source files

11 years agoRemove ordereddict dependency
Stavros Sachtouris [Fri, 8 Feb 2013 11:04:43 +0000 (13:04 +0200)]
Remove ordereddict dependency

11 years agoUpdate changelog
Stavros Sachtouris [Fri, 8 Feb 2013 10:50:59 +0000 (12:50 +0200)]
Update changelog

11 years agoBump version
Stavros Sachtouris [Fri, 8 Feb 2013 10:38:15 +0000 (12:38 +0200)]
Bump version

11 years agoMerge branch 'feature-store' into develop
Stavros Sachtouris [Fri, 8 Feb 2013 10:33:16 +0000 (12:33 +0200)]
Merge branch 'feature-store' into develop

11 years agoUpdate store group/sharing tests to new API specs
Stavros Sachtouris [Fri, 8 Feb 2013 10:32:25 +0000 (12:32 +0200)]
Update store group/sharing tests to new API specs

11 years agoAdjust documentation, allow explicit account set
Stavros Sachtouris [Thu, 7 Feb 2013 17:18:27 +0000 (19:18 +0200)]
Adjust documentation, allow explicit account set

11 years agoUse UUID when calling pithos client
Stavros Sachtouris [Thu, 7 Feb 2013 16:43:55 +0000 (18:43 +0200)]
Use UUID when calling pithos client

In kamaki.clients.pithos context, the variable is still called account
Only the callers change their behavior, as they should retrive the
account by calling kamaki.clients.astakos.AstakosClient().term('uuid')
Tests are also adjusted

11 years agoMerge branch 'develop' into feature-store
Stavros Sachtouris [Thu, 7 Feb 2013 15:46:27 +0000 (17:46 +0200)]
Merge branch 'develop' into feature-store

11 years agoMerge branch 'feature-astakos' into develop
Stavros Sachtouris [Thu, 7 Feb 2013 15:42:30 +0000 (17:42 +0200)]
Merge branch 'feature-astakos' into develop

11 years agoAdd info method, tests and docs
Stavros Sachtouris [Thu, 7 Feb 2013 15:42:07 +0000 (17:42 +0200)]
Add info method, tests and docs

11 years agoAdd list to astakos client
Stavros Sachtouris [Thu, 7 Feb 2013 15:15:58 +0000 (17:15 +0200)]
Add list to astakos client

list method returns a list of all cached user informations, one for each token

11 years agoAdjust documentation to recent astakos client
Stavros Sachtouris [Thu, 7 Feb 2013 15:04:28 +0000 (17:04 +0200)]
Adjust documentation to recent astakos client

11 years agoCompact code and unittests for astakos client
Stavros Sachtouris [Thu, 7 Feb 2013 14:06:55 +0000 (16:06 +0200)]
Compact code and unittests for astakos client

11 years agoCreate a cached access api to Astakos >= 0.13
Stavros Sachtouris [Thu, 7 Feb 2013 12:06:22 +0000 (14:06 +0200)]
Create a cached access api to Astakos >= 0.13

11 years agoMerge branch 'develop' into feature-astakos
Stavros Sachtouris [Thu, 7 Feb 2013 12:04:45 +0000 (14:04 +0200)]
Merge branch 'develop' into feature-astakos

Conflicts:
kamaki/cli/commands/astakos_cli.py
kamaki/clients/tests.py

11 years agoMerge branch 'develop' into feature-store
Stavros Sachtouris [Thu, 7 Feb 2013 11:27:58 +0000 (13:27 +0200)]
Merge branch 'develop' into feature-store

11 years agoMerge branch 'feature-errors' into develop
Stavros Sachtouris [Thu, 7 Feb 2013 11:26:44 +0000 (13:26 +0200)]
Merge branch 'feature-errors' into develop

11 years agoUse NamedTemnporaryFiles in pithos client tests
Stavros Sachtouris [Thu, 7 Feb 2013 11:25:47 +0000 (13:25 +0200)]
Use NamedTemnporaryFiles in pithos client tests

11 years agoDocumentation updates, cosmetics for pithos tests
Stavros Sachtouris [Wed, 6 Feb 2013 17:48:06 +0000 (19:48 +0200)]
Documentation updates, cosmetics for pithos tests

11 years agoAdd tests package to setup
Stavros Sachtouris [Wed, 6 Feb 2013 17:06:04 +0000 (19:06 +0200)]
Add tests package to setup

11 years agoMerge branch 'feature-errors' into develop
Stavros Sachtouris [Wed, 6 Feb 2013 17:03:17 +0000 (19:03 +0200)]
Merge branch 'feature-errors' into develop

11 years agoGet rid of old testing implementation
Stavros Sachtouris [Wed, 6 Feb 2013 17:02:51 +0000 (19:02 +0200)]
Get rid of old testing implementation

11 years agoMerge branch 'feature-errors' into develop
Stavros Sachtouris [Wed, 6 Feb 2013 17:02:12 +0000 (19:02 +0200)]
Merge branch 'feature-errors' into develop

11 years agoUpdate testing system for Pithos clients
Stavros Sachtouris [Wed, 6 Feb 2013 16:50:40 +0000 (18:50 +0200)]
Update testing system for Pithos clients

11 years agoLet clients tests to use custom config files
Stavros Sachtouris [Wed, 6 Feb 2013 15:20:30 +0000 (17:20 +0200)]
Let clients tests to use custom config files

11 years agoComplete clients.cyclades unittests
Stavros Sachtouris [Wed, 6 Feb 2013 15:13:28 +0000 (17:13 +0200)]
Complete clients.cyclades unittests

11 years agoFixes to CI scripts
Christos Stavrakakis [Wed, 6 Feb 2013 10:11:44 +0000 (12:11 +0200)]
Fixes to CI scripts

11 years agoAdjust cyclades tests up to start_server
Stavros Sachtouris [Tue, 5 Feb 2013 17:41:06 +0000 (19:41 +0200)]
Adjust cyclades tests up to start_server

Use increment prefixes in private methods for scenario to perform
Use non-checking methods to handle building/rebooting etc of VMs

11 years agoTest and debug a generic progress bar for tests
Stavros Sachtouris [Tue, 5 Feb 2013 15:33:35 +0000 (17:33 +0200)]
Test and debug a generic progress bar for tests

in client

11 years agoInitialize tests for cyclades client, safe spiner
Stavros Sachtouris [Tue, 5 Feb 2013 10:27:38 +0000 (12:27 +0200)]
Initialize tests for cyclades client, safe spiner

safe spiner is a replacement for progress bar functionality,
in case progress bar does not work

11 years agoRemove intentional testing error
Stavros Sachtouris [Mon, 4 Feb 2013 16:42:39 +0000 (18:42 +0200)]
Remove intentional testing error

11 years agoFix error presentation in case of batch test
Stavros Sachtouris [Mon, 4 Feb 2013 16:36:50 +0000 (18:36 +0200)]
Fix error presentation in case of batch test

11 years agoCreate a generic system for atomic and batch tests
Stavros Sachtouris [Mon, 4 Feb 2013 16:31:19 +0000 (18:31 +0200)]
Create a generic system for atomic and batch tests

11 years agoApply new test method on image, retouch globals
Stavros Sachtouris [Mon, 4 Feb 2013 14:13:21 +0000 (16:13 +0200)]
Apply new test method on image, retouch globals

Everything has been tested and fixed except the following flaw:
when testing the whole image package, the same image file is uploaded and
destroyed again and again.

11 years agoMake astakos tests work with new test suite
Stavros Sachtouris [Mon, 4 Feb 2013 11:26:44 +0000 (13:26 +0200)]
Make astakos tests work with new test suite

11 years agoPrototype kamaki.clients untitest suite
Stavros Sachtouris [Fri, 1 Feb 2013 15:12:48 +0000 (17:12 +0200)]
Prototype kamaki.clients untitest suite

Prototype implementation on kamaki.clients.astakos client
In prototype status, does not function yet
Old unittests in _tests.py, for reference

11 years agoMerge branch 'feature-cli-input' into develop
Stavros Sachtouris [Thu, 31 Jan 2013 18:57:06 +0000 (20:57 +0200)]
Merge branch 'feature-cli-input' into develop

11 years agoRecostruct kamaki shell input regular expression
Stavros Sachtouris [Thu, 31 Jan 2013 18:51:21 +0000 (20:51 +0200)]
Recostruct kamaki shell input regular expression

New regex is '\'.*?\'|".*?"|^[\S]*$' and works along with some carefull extra spliting
In total, the following are parsed as terms:
'all kinds of stuff here except single quotes'
"all kinds of stuff here except single or double quotes"
stuff_without_spaces_and_no_quotes

11 years agoMerge branch 'feature-image' into develop
Stavros Sachtouris [Thu, 31 Jan 2013 15:50:20 +0000 (17:50 +0200)]
Merge branch 'feature-image' into develop

11 years agoReplace 'S if S else' with 'S or' in image_cli
Stavros Sachtouris [Thu, 31 Jan 2013 15:38:09 +0000 (17:38 +0200)]
Replace 'S if S else' with 'S or' in image_cli

11 years agoApply devflow ways of handling versions
Stavros Sachtouris [Thu, 31 Jan 2013 15:11:30 +0000 (17:11 +0200)]
Apply devflow ways of handling versions

Devflow is a GRNET system for handling versions and packaging the verious
GRNET.gr Synnefo software piecies

11 years agoUse devflow for packaging
Stavros Sachtouris [Thu, 31 Jan 2013 13:32:05 +0000 (15:32 +0200)]
Use devflow for packaging

11 years agoGet rid of OrderedDict dependency for python<=2.6
Stavros Sachtouris [Wed, 30 Jan 2013 15:00:30 +0000 (17:00 +0200)]
Get rid of OrderedDict dependency for python<=2.6

11 years agoMerge branch 'feature-store' into develop
Stavros Sachtouris [Wed, 30 Jan 2013 13:45:47 +0000 (15:45 +0200)]
Merge branch 'feature-store' into develop

11 years agoAdd new --[dst-]container info to documentation
Stavros Sachtouris [Wed, 30 Jan 2013 13:45:12 +0000 (15:45 +0200)]
Add new --[dst-]container info to documentation

11 years agoMerge branch 'feature-store' into develop
Stavros Sachtouris [Wed, 30 Jan 2013 13:14:41 +0000 (15:14 +0200)]
Merge branch 'feature-store' into develop

11 years agodownload --resume can create new local files
Stavros Sachtouris [Wed, 30 Jan 2013 13:13:21 +0000 (15:13 +0200)]
download --resume can create new local files

11 years agoMerge branch 'feature-store' into develop
Stavros Sachtouris [Wed, 30 Jan 2013 12:11:05 +0000 (14:11 +0200)]
Merge branch 'feature-store' into develop

11 years agoAdd : to all --container store-* commands
Stavros Sachtouris [Wed, 30 Jan 2013 12:10:05 +0000 (14:10 +0200)]
Add : to all --container store-* commands

11 years agostore-move to use --dst-container with : support
Stavros Sachtouris [Wed, 30 Jan 2013 10:55:35 +0000 (12:55 +0200)]
store-move to use --dst-container with : support

11 years agoAdd store-copy --dst-container with : support
Stavros Sachtouris [Wed, 30 Jan 2013 10:46:14 +0000 (12:46 +0200)]
Add store-copy --dst-container with : support

11 years agoRemove obsolete method check_range
Stavros Sachtouris [Wed, 30 Jan 2013 09:32:19 +0000 (11:32 +0200)]
Remove obsolete method check_range

11 years agoAllow create/delete to operate on con:tainers
Stavros Sachtouris [Tue, 29 Jan 2013 16:08:55 +0000 (18:08 +0200)]
Allow create/delete to operate on con:tainers

con:tainers are containers with : in their name

11 years ago-R as resursive in store_download
Stavros Sachtouris [Tue, 29 Jan 2013 15:48:22 +0000 (17:48 +0200)]
-R as resursive in store_download

11 years agoMerge branch 'feature-store' into develop
Stavros Sachtouris [Tue, 29 Jan 2013 14:45:23 +0000 (16:45 +0200)]
Merge branch 'feature-store' into develop

11 years agoImplement resursive download
Stavros Sachtouris [Tue, 29 Jan 2013 14:44:47 +0000 (16:44 +0200)]
Implement resursive download

11 years agoMerge branch 'feature-store' into develop
Stavros Sachtouris [Tue, 29 Jan 2013 13:05:40 +0000 (15:05 +0200)]
Merge branch 'feature-store' into develop

11 years agoIntuitive semantics to store-download
Stavros Sachtouris [Tue, 29 Jan 2013 12:20:40 +0000 (14:20 +0200)]
Intuitive semantics to store-download

download to directory means multiple downloads with prefix

11 years agoChange version
Stavros Sachtouris [Tue, 29 Jan 2013 11:25:27 +0000 (13:25 +0200)]
Change version

11 years agoManifest Changelog
Stavros Sachtouris [Tue, 29 Jan 2013 11:08:06 +0000 (13:08 +0200)]
Manifest Changelog

11 years agoMerge branch 'feature-errors' into develop
Stavros Sachtouris [Fri, 25 Jan 2013 19:20:51 +0000 (21:20 +0200)]
Merge branch 'feature-errors' into develop

11 years agoTotal code reduction: ~25KiB of code
Stavros Sachtouris [Fri, 25 Jan 2013 19:19:47 +0000 (21:19 +0200)]
Total code reduction: ~25KiB of code

11 years agoFully adjust pithos_cli
Stavros Sachtouris [Fri, 25 Jan 2013 19:17:12 +0000 (21:17 +0200)]
Fully adjust pithos_cli

11 years agoAdjust up to store-download
Stavros Sachtouris [Fri, 25 Jan 2013 16:46:40 +0000 (18:46 +0200)]
Adjust up to store-download

11 years agoAdjust up to store-overwrite
Stavros Sachtouris [Fri, 25 Jan 2013 15:58:50 +0000 (17:58 +0200)]
Adjust up to store-overwrite

11 years agoAdjust pithos_cli up to store_move
Stavros Sachtouris [Thu, 24 Jan 2013 18:19:24 +0000 (20:19 +0200)]
Adjust pithos_cli up to store_move

11 years agoFully adjust cyclades_cli
Stavros Sachtouris [Thu, 24 Jan 2013 15:36:14 +0000 (17:36 +0200)]
Fully adjust cyclades_cli

11 years agoAdjust cyclades_cli up to create
Stavros Sachtouris [Wed, 23 Jan 2013 17:50:05 +0000 (19:50 +0200)]
Adjust cyclades_cli up to create

11 years agoFully adjust cyclades_cli
Stavros Sachtouris [Wed, 23 Jan 2013 16:48:11 +0000 (18:48 +0200)]
Fully adjust cyclades_cli

11 years agoMinor adjustments + apply to image_cli <=register
Stavros Sachtouris [Wed, 23 Jan 2013 15:16:20 +0000 (17:16 +0200)]
Minor adjustments + apply to image_cli <=register

11 years agoApply changes to history_cli
Stavros Sachtouris [Tue, 22 Jan 2013 18:32:40 +0000 (20:32 +0200)]
Apply changes to history_cli

11 years agoPropagate changes to config_cli
Stavros Sachtouris [Tue, 22 Jan 2013 17:51:44 +0000 (19:51 +0200)]
Propagate changes to config_cli

11 years agoSeperate error handling from main cli classes
Stavros Sachtouris [Tue, 22 Jan 2013 17:14:24 +0000 (19:14 +0200)]
Seperate error handling from main cli classes

So far tested in astakos only

11 years agoTide up error handling code in astakos
Stavros Sachtouris [Tue, 22 Jan 2013 15:28:59 +0000 (17:28 +0200)]
Tide up error handling code in astakos

11 years agoMerge branch 'feature-store' into develop
Stavros Sachtouris [Tue, 22 Jan 2013 13:04:53 +0000 (15:04 +0200)]
Merge branch 'feature-store' into develop

11 years agoFormat data size units, use it in quota commands
Stavros Sachtouris [Tue, 22 Jan 2013 12:32:21 +0000 (14:32 +0200)]
Format data size units, use it in quota commands

quota returns value in units (KiB, MiB, etc)
new argument -b, --bytes to return value in bytes
setquota can accept a unit string
    setquota 2.3GB

11 years agostore-delete asks for permission
Stavros Sachtouris [Tue, 22 Jan 2013 10:42:50 +0000 (12:42 +0200)]
store-delete asks for permission

In cli.utils: new method ask_user prompts for permission
In cli.commands.pithos_cli: store_delete/purge ask for permission
    they also feature a yes flag argument to avoid prompting