- 21 May, 2014 28 commits
-
-
Stavros Sachtouris authored
The object was a property, although this served no purpose at all.
-
Stavros Sachtouris authored
Refs #9 This change affects both the kamaki.cli and kamaki.clients hierarchies It is of semantic significance only Backwards compatibility is preserved in kamaki.clients, so that old code using base_url instead of endpoint_url will still work.
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
The method was used only once, so it is merged in caller code
-
Stavros Sachtouris authored
Refs #9 Renamed to comply with pep8: kamaki.cli.config.Config: _cloud_name --> cloud_name kamaki.cli.shell: _init_shell --> init_shell Merged with caller methods because they where used only once: kamaki.cli: _construct_command_syntax, _num_of_matching_terms kamaki.cli.utils: _parse_with_regex kamaki.cli.one_cmd: _get_cmd_tree_from_spec, _get_best_match_from_cmd_tree Remove now unused method _num_of_matching_terms
-
Stavros Sachtouris authored
Refs #9 Renamed: kamaki.cli.cmds._optional_json: _print --> print_ kamaki.cli.cmds.cyclades.Wait: _wait --> wait kamaki.cli.cmds.cyclades.ServerWait: _wait --> wait kamaki.cli.cmds.image: _load_image_meta --> load_image_meta kamak.cli.cmds.network: _wait --> wait kamaki.cli.cmds.pithos.PithosAccount: _is_dir --> obj_is_dir _resolve_pithos_url --> resolve_pithos_url Removed: kamaki.cli.cmds.pithos.PithosAccount: _validate_image_meta, _validate_image_location
-
Stavros Sachtouris authored
DontRaire[KeyErrors/UnicodeErrors/etc] --> dont_raise(error type) addLogSettings --> client_log dataModification --> fall_back
-
Stavros Sachtouris authored
The following variables are now used only inside the module or method they are defined: _help, _debug, _verbose, _color, filelog
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
The underscore is removed because it is a global variable used outside of the modules it is declared. The new name is a precise description of what this variable is used for.
-
Stavros Sachtouris authored
Default arguments where set in kamaki.cli.arguments using the global variable "_arguments". This was a semantic mistake, a pep8 violation and arguably bad style. The "_config_arg" variable was also global and auxiliary to "_arguments" initialization. The "_argument" and "_config_arg" global vars are removed from kamaki.cli.arguments. The initialization is now an internal proccess in the "main" function of kamaki.cli, which is the method responsible for setting up all kamaki interfaces.
-
Stavros Sachtouris authored
Names are changed for uniformity. Backwards compatibility is kept, (old names are not dismissed) Renames: CycladesRestClient --> CycladesComputeRestClient CycladesClient --> CycladesComputeClient Users can still import and user CycladesRestClient and CycladesClient
-
Stavros Sachtouris authored
Renames: _pithos_init --> _PithosInit _pithos_account --> _PithosAccount _pithos_container --> _PithosContainer _source_destination --> _PithosFromTo _pithos_group --> _PithosGroup
-
Stavros Sachtouris authored
Renames: _init_network --> _NetworkInit _port_wait --> _PortWait
-
Stavros Sachtouris authored
Rename: _init_image --> _ImageInit
-
Stavros Sachtouris authored
Rename: _init_history --> _HistoryInit
-
Stavros Sachtouris authored
Renames: generic --> Generic user --> Astakos history --> History cyclades --> Cyclades image --> Image pithos --> Pithos Rational: each command specification can feature a class of error handling methods, which can be shared with other specs, if the later need to borrow the same behavior Also, new names conform with pep8 suggestions for class names
-
Stavros Sachtouris authored
Renames: _init_cyclades --> _CycladesInit _server_wait --> _ServerWait
-
Stavros Sachtouris authored
Move and rename: kamaki.cli.cmds.cyclades._service_wait --> kamaki.cli.cmds.Wait The class is now accessible to all commands, therefore it is not an internal class for cyclades module. The name of the class changed to conform with pep8 suggestions for classes
-
Stavros Sachtouris authored
Renames: _init_synnefo_astakosclient --> _AstakosInit _project_action --> _ProjectAction _application_action --> _ApplicationAction _membership_action --> _MembershipAction
-
Stavros Sachtouris authored
Both classes are located in kamaki.cli.cmds
-
Stavros Sachtouris authored
New class is called "OptionalOutput" Old and new classes were/are located at kamaki.cli.cmds
-
Stavros Sachtouris authored
Class is located at kamaki.cli.cmds
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
- 12 May, 2014 3 commits
-
-
Stavros Sachtouris authored
This fix affects "kamaki file list [/CONTAINER[/PATH]]" command Before this fix, if there were no results to show to the user, an "empty container" notification would appear. Now, the command distinguishes between the various cases: - empty container - empty directory - non-existing object - non-directory object and notifies appropriately.
-
Stavros Sachtouris authored
Fixes #11 In "kamaki file upload", the destination path is now an optional argument, set to be equal to the base name of the source path, by default.
-
Alex Pyrgiotis authored
-
- 07 May, 2014 1 commit
-
-
Stavros Sachtouris authored
Closes #10 Methods affected in kamaki.clients.pithos.rest_api.PithosRestClient: account_head/post, container_head/put/post, object_head/get/copy/move
-
- 29 Apr, 2014 1 commit
-
-
Stavros Sachtouris authored
Bug: pithos.PithosClient.append_object failed to find and join the last thread
-
- 07 Apr, 2014 1 commit
-
-
Ilias Tsitsimpis authored
Handle input and output encodings in console as well as HTTP response and request headers. Console input/output is encoded/decoded from/to preferred encoding.
-
- 03 Apr, 2014 1 commit
-
-
Stavros Sachtouris authored
-
- 01 Apr, 2014 5 commits
-
-
Stavros Sachtouris authored
Introduce the "headers_to_quote" and "header_prefices" properties in RequestManager class. Modify the class so that only matching API-specific header values are encoded and quoted.
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
In ResponseManager, do not encode all headers to unicode. Encode ONLY the headers mentioned by the caller method. A caller method can use the headers_to_decode and header_prefices property-getter/setter methods to set a list of header keys and a list of header key prefices for encoding. All keys are case insensitive.
-
Stavros Sachtouris authored
-