Hello community, here is the log from the commit of package python-heatclient for openSUSE:Factory checked in at 2017-06-08 15:03:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-heatclient (Old) and /work/SRC/openSUSE:Factory/.python-heatclient.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-heatclient" Thu Jun 8 15:03:06 2017 rev:23 rq:501639 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-heatclient/python-heatclient.changes 2017-02-21 13:43:42.896446624 +0100 +++ /work/SRC/openSUSE:Factory/.python-heatclient.new/python-heatclient.changes 2017-06-08 15:03:07.985922743 +0200 @@ -1,0 +2,7 @@ +Wed Jun 7 09:47:25 UTC 2017 - [email protected] + +- update to version 1.8.1 + - Build event stack_name from links + - Update .gitreview for stable/ocata + +------------------------------------------------------------------- Old: ---- python-heatclient-1.8.0.tar.gz New: ---- python-heatclient-1.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-heatclient.spec ++++++ --- /var/tmp/diff_new_pack.7jkbLd/_old 2017-06-08 15:03:08.601835820 +0200 +++ /var/tmp/diff_new_pack.7jkbLd/_new 2017-06-08 15:03:08.609834690 +0200 @@ -18,7 +18,7 @@ %global sname python-heatclient Name: python-heatclient -Version: 1.8.0 +Version: 1.8.1 Release: 0 Summary: Python API and CLI for OpenStack Heat License: Apache-2.0 @@ -46,7 +46,7 @@ Requires: python-PyYAML >= 3.10.0 Requires: python-cliff >= 2.3.0 Requires: python-iso8601 >= 0.1.11 -Requires: python-keystoneauth1 >= 2.17.0 +Requires: python-keystoneauth1 >= 2.18.0 Requires: python-osc-lib >= 1.2.0 Requires: python-oslo.i18n >= 2.1.0 Requires: python-oslo.serialization >= 1.10.0 ++++++ python-heatclient-1.8.0.tar.gz -> python-heatclient-1.8.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-1.8.0/AUTHORS new/python-heatclient-1.8.1/AUTHORS --- old/python-heatclient-1.8.0/AUTHORS 2017-01-25 12:55:45.000000000 +0100 +++ new/python-heatclient-1.8.1/AUTHORS 2017-04-25 15:29:58.000000000 +0200 @@ -65,6 +65,7 @@ Oleg Khavroshin <[email protected]> Oleksii Chuprykov <[email protected]> Ondřej Nový <[email protected]> +OpenStack Release Bot <[email protected]> Pablo Andres Fuente <[email protected]> Pablo Iranzo Gómez <[email protected]> PanFengyun <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-1.8.0/ChangeLog new/python-heatclient-1.8.1/ChangeLog --- old/python-heatclient-1.8.0/ChangeLog 2017-01-25 12:55:45.000000000 +0100 +++ new/python-heatclient-1.8.1/ChangeLog 2017-04-25 15:29:58.000000000 +0200 @@ -1,6 +1,12 @@ CHANGES ======= +1.8.1 +----- + +* Build event stack\_name from links +* Update .gitreview for stable/ocata + 1.8.0 ----- @@ -11,7 +17,7 @@ * Enable coverage report in console output * Distinguish between stack and resource events when polling * Make sure the --heat-url option is respected, part 2 -* Remove LOG Warning from __eq__ +* Remove LOG Warning from \_\_eq\_\_ * Add convenience function for events over websocket 1.7.0 @@ -25,7 +31,7 @@ * Updated from global requirements * Fix event list help * Updated from global requirements -* Use default service_type with session +* Use default service\_type with session * Show team and repo badges on README * Don't resolve outputs when polling events * Updated from global requirements @@ -34,7 +40,7 @@ 1.6.1 ----- -* Use endpoint as endpoint_override +* Use endpoint as endpoint\_override 1.6.0 ----- @@ -45,42 +51,42 @@ * Remove oslo-incubator modules * Move required modules from oslo-incubator * Updated from global requirements -* Make method import_versioned_module work +* Make method import\_versioned\_module work * Graduate to oslo.i18n and cleanup incubator usage * Change property option into append action * Updated from global requirements * Return condition functions based on the filter param * Updated from global requirements -* Use region_name and interface with session +* Use region\_name and interface with session * Fix help string for osc resource show <resource> * handle empty sections in environment files * Updated from global requirements * Fix "heat output-show -F json" output format -* Use event_time as default event sort key in OSC +* Use event\_time as default event sort key in OSC * Updated from global requirements * Updated from global requirements * Improved the help message of the stack-list tags * delete python bytecode including pyo before every test run -* Don't use endpoint_override with session +* Don't use endpoint\_override with session * Show resource name path in event log formatter * Add url in setup.cfg * Clean imports in code * Modify use of assertTrue(A in B) -* Import mox in __init__.py +* Import mox in \_\_init\_\_.py * Replace functions 'Dict.get' and 'del' with 'Dict.pop' * Trivial:Standardize the output format of 'help' in shell.py -* Add parameter_merge_startegies section +* Add parameter\_merge\_startegies section 1.4.0 ----- * Updated from global requirements -* Add a nested_depth argument to poll_for_events +* Add a nested\_depth argument to poll\_for\_events * Update the home-page in setup.cfg * Standardize import format * Remove unused function * Updated from global requirements -* Change usage of _auth_url private attribute +* Change usage of \_auth\_url private attribute * Updated from global requirements * Remove discover from test-requirements * Add support for stack file list @@ -97,26 +103,26 @@ * Updated from global requirements * Remove unused LOG * Remove white space between print and () -* base.Resource not define __ne__() built-in function +* base.Resource not define \_\_ne\_\_() built-in function * Updated from global requirements * Updated from global requirements * Fix typo * Pass correct arguments in osc plugin -* Use osc_lib instead of cliff +* Use osc\_lib instead of cliff * Use osc-lib instead of openstackclient * Imported Translations from Zanata * Enhance error message * Replace dict.iteritems with six.iteritems to make PY3 compatible -* Show 'deletion_time' of stacks +* Show 'deletion\_time' of stacks * Updated from global requirements * Updated from global requirements * Implement client side of event list --nested-depth -* Refactor test_shell +* Refactor test\_shell * Serialize files when using SessionClient * Updated from global requirements * Updated from global requirements * Updated from global requirements -* Show 'parameter_defaults' for environment-show +* Show 'parameter\_defaults' for environment-show * A resource list formatter for graphviz dot diagrams * Updated from global requirements * Implement "openstack stack failures list" @@ -139,7 +145,7 @@ * OpenStack client plugin for environment show * Add client library support for retrieving a stack's environment * Support "--pre-delete" argument for hook-clear -* Fixed fragile assertion in test_template_utils +* Fixed fragile assertion in test\_template\_utils 1.2.0 ----- @@ -148,16 +154,16 @@ * Updated from global requirements * Fix logging issue in heatclient tests * Add basic read-only function test for template validate -* Support OS_KEY/OS_CERT environment variables +* Support OS\_KEY/OS\_CERT environment variables * Replace assertRegexpMatches with assertRegex * Moved -t parameter for visibility * Move OpenStack client to test-requirements * OSC plugin for orchestration template validate * Use stack.get for resolving outputs for old API * Fix regression handling relative paths in environment -* stack-delete command should not call do_stack_list +* stack-delete command should not call do\_stack\_list * Added deprecation warnings for heat commands -* Don't use print() from event_utils.poll_for_events +* Don't use print() from event\_utils.poll\_for\_events * OSC plugin should be region/interface aware * Replace ConfigParser with six.moves.configparser * Fixed issues in invalid JSON file @@ -168,7 +174,7 @@ 1.0.0 ----- -* Use poll_for_events for "openstack stack delete" +* Use poll\_for\_events for "openstack stack delete" * Add OSC plugin for openstack orchestation service list * Add OSC plugin for openstack orchestation build info * Register a log formatter for stack event list @@ -176,18 +182,18 @@ * Strip any whitespace before checking for json * Add OSC plugin for stack resource mark unhealthy * Implement stack event list --follow -* Replace assertEqual(None, *) with assertIsNone +* Replace assertEqual(None, \*) with assertIsNone * Prompt user before deleting stack if tty * Add more readonly openstack client funcitonal tests -* Use poll_for_events for "openstack stack <action>" -* Use poll_for_events for "openstack stack adopt" -* Use poll_for_events for "openstack stack update" -* Use poll_for_events for "openstack stack create" -* poll_for_events fall back to stack get +* Use poll\_for\_events for "openstack stack <action>" +* Use poll\_for\_events for "openstack stack adopt" +* Use poll\_for\_events for "openstack stack update" +* Use poll\_for\_events for "openstack stack create" +* poll\_for\_events fall back to stack get * Fix collision with update and update cancel * Update OSC metavars * OpenstackClient plugin for software deployment output show -* Move poll_for_events to event_utils +* Move poll\_for\_events to event\_utils * Adds --filter to search for resources * Updated from global requirements * Stack resource search @@ -199,7 +205,7 @@ * Changes to support server-side environment resolution * OSC plugin for stack snapshot delete * OSC plugin for stack snapshot create -* Use yaml.safe_load() instead of yaml.load() +* Use yaml.safe\_load() instead of yaml.load() * Use oslo.utils.reflection to extract class name * Add OpenstackClient plugin for software deployment show * Add openstack client stack snapshot restore @@ -208,7 +214,7 @@ * OpenstackClient plugin for event list * OpenstackClient plugin for event show * OpenstackClient plugin for stack delete -* Fix resource_type osc entrypoint +* Fix resource\_type osc entrypoint * OSC plugin for software config show * Updated from global requirements * Add openstack cli stack actions @@ -220,7 +226,7 @@ * OpenstackClient plugin for stack output show * Add openstack client software config list * Add openstack client stack resource metadata show -* Adds ignore_errors for template-validate command +* Adds ignore\_errors for template-validate command * Add heat client support for Resource set health * Sort osc command entry points * OpenstackClient plugin for template function list @@ -236,8 +242,8 @@ * Edit backslashes for lines continuations * Raise CommandError when Any of stack/deployment/config delete failed * Updated from global requirements -* Ignore restricted_actions key -* Add formatters for 'tags' in method _do_stack_show +* Ignore restricted\_actions key +* Add formatters for 'tags' in method \_do\_stack\_show * Enable osc extension in setup.cfg 0.9.0 @@ -248,15 +254,15 @@ * Add openstack client stack snapshot list * Add --dry-run option to openstack stack create * Include keystone message when authentication failed -* Add show_nested support to update --dry-run -* Update template_utils to support object env's +* Add show\_nested support to update --dry-run +* Update template\_utils to support object env's * Improve "openstack stack create --wait" help message * OpenstackClient plugin for stack update * OpenstackClient plugin for stack create * Validate for empty file for stack-adopt * Misspelling in message * Updated from global requirements -* Add resolve_outputs parameter to stack get method +* Add resolve\_outputs parameter to stack get method * Allow event specification in the environment * Add debug testenv in tox * Replace deprecated library function os.popen() with subprocess @@ -268,9 +274,9 @@ * use keystoneclient exceptions instead of oslo-incubator code * Resolve outputs from stack object * Use stack lookup for getting stack name/id -* Replace assertEqual(None, *) with assertIsNone in tests +* Replace assertEqual(None, \*) with assertIsNone in tests * Removes MANIFEST.in as it is not needed explicitely by PBR -* Fix Resource.__eq__ mismatch semantics of object equal +* Fix Resource.\_\_eq\_\_ mismatch semantics of object equal * Updated from global requirements * remove py26 specific code from heatclient * Deprecated tox -downloadcache option removed @@ -294,7 +300,7 @@ * Enable pep8 H238 test * Enable pep8 H405 tests * Add output API calls implementations -* Refine event_log_formatter output +* Refine event\_log\_formatter output * Last sync from oslo-incubator * Delete the corresponding config when deleting a deployment * Fill status code for every HTTPException @@ -321,7 +327,7 @@ ----- * stack-update -x tolerate no template -* Ability to specify show_nested for template validation +* Ability to specify show\_nested for template validation * Fix deployment create error when using existing config * Fix stack sorting support * Enable filters for heat resource-type-list @@ -341,15 +347,15 @@ * Updated from global requirements * Poll functionality for stack create action * Updated from global requirements -* Use Heat resource to validate resource_type_show +* Use Heat resource to validate resource\_type\_show * Update python3 classifiers * Updated from global requirements * Updated from global requirements -* add with_detail parameter in heat resource-list request +* add with\_detail parameter in heat resource-list request * Fix docstrings and add missing -* Add missing `deployment-list` to cli +* Add missing \`deployment-list\` to cli * Updated from global requirements -* Support 'with_attr' parameter for resource-show +* Support 'with\_attr' parameter for resource-show * Updated from global requirements * New mock release(1.1.0) broke unit tests * Fix error when creating deployment from cli @@ -359,22 +365,22 @@ * Add tests for SessionClient * Updated from global requirements * Move SessionClient from HTTPClient to adapter -* resource-list --nested-depth stack_name column +* resource-list --nested-depth stack\_name column * Fix argument order for assertEqual * Updated from global requirements * Fixed VerifyAll() when test case does ReplayAll() * Updated from global requirements -* Move test_event_utils.py module to unit directory -* Add first pass at post_test_hook for functional +* Move test\_event\_utils.py module to unit directory +* Add first pass at post\_test\_hook for functional * cleanup openstack-common.conf and sync updated files -* Move usage methods *_request to get/post/etc +* Move usage methods \*\_request to get/post/etc * Updated from global requirements * Add functional tests from Tempest * Update hacking version to fix pep8 gate job * Adds --format=log option to event-list * Add --tags option to stack-create and stack-update * Add stack tag filtering options to stack-list -* Add OS_TEST_PATH to testr +* Add OS\_TEST\_PATH to testr * Move unittests to subdir unit 0.6.0 @@ -382,7 +388,7 @@ * Updated from global requirements * Make hook type optional for hook-clear -* Refactor common event code into event_utils module +* Refactor common event code into event\_utils module * Add hook-poll function to check if a stack has pending hooks * Work around pypy testing issue * Implement --limit option for event-list with --nested-depth @@ -397,7 +403,7 @@ 0.5.0 ----- -* correction in function names under test_resource +* correction in function names under test\_resource * Uncap library requirements for liberty * Add --nested-depth option to event-list * Make README.rst comply with expected format @@ -411,12 +417,12 @@ * Add options for setting and clearing of hooks * Fix test class names * Add option for heatclient to accept parameter value from file -* Sync with oslo_incubator -* Migrate to new oslo_xxx namespace +* Sync with oslo\_incubator +* Migrate to new oslo\_xxx namespace * Updated from global requirements * Implement deployment-create * Implement deployment-output-show -* Make ; parsing optional in format_parameters +* Make ; parsing optional in format\_parameters * Updated from global requirements * Fix SessionClient error when endpoint=None * Fix non-working endpoint type argument @@ -445,14 +451,14 @@ * Add transtlation markers for error messages * Add transtlation markers for help messages * Initial setup for i18n support -* Show the creation_time for stack snapshot list +* Show the creation\_time for stack snapshot list * Workflow documentation is now in infra-manual * Remove remaining deprecated oslo-incubator modules * Convert importutils to oslo.utils * Updated from global requirements * Fix H302 errors * Curl statements to include globoff for IPv6 URLs -* Add support for parameter_defaults in environment +* Add support for parameter\_defaults in environment * Updated from global requirements * Convert strutils to oslo.utils.encodeutils * Move to oslo.serialization @@ -460,14 +466,14 @@ * Implement snapshot operations * Tests work fine with random PYTHONHASHSEED * Updated from global requirements -* Remove _ from builtins -* Fix template_utils tests for Python 3.4 +* Remove \_ from builtins +* Fix template\_utils tests for Python 3.4 * Fix event tests for Python 3.4 * Fix shell tests for Python 3.4 * Allow mock-based patching in shell tests * Make sure the --heat-url option is respected * Put a cap on our cyclomatic complexity -* Pass auth_url if os_no_client_auth specified +* Pass auth\_url if os\_no\_client\_auth specified * Updated from global requirements * Remove extraneous vim editor configuration comments * Updated from global requirements @@ -476,7 +482,7 @@ 0.2.12 ------ -* Add a required 'args' to do_list() +* Add a required 'args' to do\_list() * Client supports check action * Fix stack update for Python API * Updated from global requirements @@ -484,13 +490,13 @@ 0.2.11 ------ -* Add 'cancel_update' action and command +* Add 'cancel\_update' action and command * Updated from global requirements * Add stack-update argument for reset parameters * Add stack-update argument for patching parameters * Display stack owner info on stack-list * Add support for OSprofiler -* Reuse existing disable_rollback in stack-update +* Reuse existing disable\_rollback in stack-update * Stop using intersphinx * Add --show-nested option to stack-list * warn against sorting requirements @@ -502,7 +508,7 @@ * Updated from global requirements * Remove unused/mutable default args * Update stack-preview usage text -* Removed undefined method in install_env.py file +* Removed undefined method in install\_env.py file * Add support for multiple environment files * Add nested-depth option to resource-list * Added timeout and rollback params in stack-preview @@ -514,7 +520,7 @@ * Implement events pagination, sorting and filtering * Add keystone v3 auth support * Deprecate misleading cli command 'resource-template' -* Show physical_resource_id in resource-list +* Show physical\_resource\_id in resource-list * Fix the section name in CONTRIBUTING.rst 0.2.10 @@ -524,7 +530,7 @@ * Do not set up logging handler in http * Updated from global requirements * Fix unicode display in parameters -* Append extra space after command in bash_completion +* Append extra space after command in bash\_completion * Add shell arguments for stack update * Removed now unnecesary workaround for PyPy * Don't allow "propagate" of heatclient logger @@ -534,7 +540,7 @@ * Remove no use option parameters for template-validate * Let server order event-list * fixed typos found by RETF rules -* Heat client does not support OS_CACERT option +* Heat client does not support OS\_CACERT option * Fix empty resource list index out of range error * Add code coverage in resource list test * Remove unused arguments for stack-preview command @@ -549,12 +555,12 @@ * Deprecate preview --create-timeout in favor of --timeout * Support Python 3 * Sync oslo incubator -* Python 3: fix test_template_utils.py -* Skip timeout_mins when not specify -* get_file: encode non utf-8 encoding files via base64 -* get_file: do not read same url once again +* Python 3: fix test\_template\_utils.py +* Skip timeout\_mins when not specify +* get\_file: encode non utf-8 encoding files via base64 +* get\_file: do not read same url once again * Resolve files in resource types -* Do not use the '+' operation with dict_items() +* Do not use the '+' operation with dict\_items() * Python3: fix a bytes/str issue * Updated from global requirements * Using common methods from oslo cliutils @@ -569,9 +575,9 @@ * Modify stack ID lookup to only use stacks:lookup * Add timeout option to stack-update * Deprecate create/adopt --create-timeout in favor of --timeout -* Remove unused versions define in template_format.py +* Remove unused versions define in template\_format.py * Rename --timeout global option and make it work -* Python3: fix test_stack_list_with_args() +* Python3: fix test\_stack\_list\_with\_args() * Pass bytes to NamedTemporaryFile.write() * Enable --help for each command @@ -579,12 +585,12 @@ ----- * Sort requirement files in alphabetical order -* Expand get_file using to template scope +* Expand get\_file using to template scope * "version" section should be required in template * Updated from global requirements * add output-list and output-show * Improve help strings -* Do not use the '+' operation dict_items() +* Do not use the '+' operation dict\_items() * Remove None for dict.get() * Support the native signal API * Update apiclient.base and reuse new functional @@ -601,68 +607,68 @@ * Replace try...except with assertRaises * Add support for software config resources * Make POST/PUT redirects use original methods -* Do not use the '+' operation dict_items() +* Do not use the '+' operation dict\_items() * Decode all headers before logging curl commands -* normalise_file_path_to_url: use urlutils.pathname2url -* get_file_contents: use six.itervalues() instead of dict.itervalues() +* normalise\_file\_path\_to\_url: use urlutils.pathname2url +* get\_file\_contents: use six.itervalues() instead of dict.itervalues() * Python3: use six.iteritems() rather than dict.iteritems() * Fixes environment file using correct YAML format * Improve help strings -* Add optional args arg back to do_list +* Add optional args arg back to do\_list * python-heatclient stack-abandon support * Add more default CA paths * Port to python requests * Enable default in bash completion -* Allow environment to not have resource_registry +* Allow environment to not have resource\_registry * Add filter option to stack-list * Add pagination (limit and marker) to stack-list -* Populate files with content from get_file function calls +* Populate files with content from get\_file function calls * Enable hacking H233 rule * Configure logging regardless of debug flag * Fix order of arguments in assertEqual -* Added missed files to create venv with run_tests.sh +* Added missed files to create venv with run\_tests.sh * Pass empty dict not None for empty environment -* Refactor environment functions in preparation for get_file +* Refactor environment functions in preparation for get\_file * Updated from global requirements * Add support for build info API -* Remove unused method 'string_to_bool' from utils +* Remove unused method 'string\_to\_bool' from utils * Raise traceback on error when using CLI and -debug * Remove dependencies on pep8, pyflakes and flake8 * Sync strutils from oslo -* Add to_dict() method to Resource class +* Add to\_dict() method to Resource class * Fix comparison with singletons -* Copy run_test.sh from heat repo +* Copy run\_test.sh from heat repo * Improve and unit-test template contents fetching * Test coverage of empty environment * Move environment and template file functions to own module -* reconcile prepare_environment_file/url into one funtion -* Use template_format.parse for local stack parsing +* reconcile prepare\_environment\_file/url into one funtion +* Use template\_format.parse for local stack parsing * Fetch environment from fields rather than function arg -* Move template_format from heat to heatclient -* Update variable name in test_shell.py +* Move template\_format from heat to heatclient +* Update variable name in test\_shell.py * Use assertRaises instead of try/except/else * Remove unused common.base module * Fix some trivial py3 errors * Remove ununsed httplib2 requirement * Added API reference document * Wrapped some long lines -* Fixed typo error OS_IMAGE_URL +* Fixed typo error OS\_IMAGE\_URL * Sort resource-type-list output * Fix help formatting for resource-template * Fix inappropriate error message on event-list * Remove vim header * Enable deleting multiple stacks with single call -* Increase test_resources coverage +* Increase test\_resources coverage * Show better error when json fail to parse template * Updates .gitignore * Misc typos in Heat client -* Supports bash_completion for heatclient +* Supports bash\_completion for heatclient * Reuse BaseManager and Resource from oslo * Sync base and exceptions from oslo * Allow the environment file to be specified via URL * Use jsonutils from oslo incubator * Updates tox.ini to use new features -* Add support for resource_types +* Add support for resource\_types * Updated from global requirements * Replace inheritance hierarchy with composition * Deprecate mox in favor of mox3 @@ -673,18 +679,18 @@ * Add back --token-only for invocation compatibility * Add --include-pass option for grizzly backwards compat -* Revert "Don't call credentials_headers() twice" +* Revert "Don't call credentials\_headers() twice" * Make tokens work with --os-no-client-auth -* test_shell test current not deprecated options +* test\_shell test current not deprecated options * Fix shell operation with --os-auth-token -* Don't call credentials_headers() twice +* Don't call credentials\_headers() twice * Use fixtures for all shell environment variables * Cleanup exc.verbose after tests * Pass only tenant name or ID to keystoneclient * use correct url on Windows platform * Fix i18n error when resource-name is non-english * Remove --token-only option, it does nothing -* Honor endpoint_type when requesting keystone for a token +* Honor endpoint\_type when requesting keystone for a token * Revert "heatclient is not working with os-auth-token" * Updated from global requirements * Encode output for fixing UnicodeDecodeError @@ -698,7 +704,7 @@ * Add doc/Makefile to help with building docs * Print a more correct error with event-show * Fix the testname of scenario -* remove python 2.5 support for parse_sql +* remove python 2.5 support for parse\_sql * align the order of parameters for urlencode() * Replace urllib/urllib2 with urlutils * Transform print statement to print function @@ -721,9 +727,9 @@ * Added support for running the tests under PyPy with tox * Fix and enable Hacking H501 warning * Be backward compatible after a renaming in API -* Rename event logical_resource_id to resource_name +* Rename event logical\_resource\_id to resource\_name * Add X-Region-Name parameter in HTTP request -* Apply OS_REGION_NAME for endpoint selection +* Apply OS\_REGION\_NAME for endpoint selection * Do not obscure Unauthorized error messages * Fix heat event list sorted order incorrect * Updated from global requirements @@ -733,7 +739,7 @@ ----- * Remove unused Stack data method -* Do not paginate stack list unless page_size is set +* Do not paginate stack list unless page\_size is set * Custom Stack get method to avoid lookup redirects * Fix Stack instance delete method * Add mock as a test requirement @@ -754,12 +760,12 @@ * Update upper bound of keystoneclient version * Fix "heat validate" (add needed environment option) * Only set X-Auth-User, X-Auth-Key on stack create/update -* Format resource required_by in resource-show +* Format resource required\_by in resource-show * Unit tests for pretty table special formatters * Add support for suspend/resume actions * Upload provider templates referenced in the environment * Fix all but H302 hacking rules -* Fix all the pep8 E* and F* errors +* Fix all the pep8 E\* and F\* errors * Fix various smaller pep8 issues * flake8 ignore build directory * Stop passing path to VerifiedHTTPSConnection @@ -794,19 +800,19 @@ 0.2.1 ----- -* Don't add 'dev' to tag_build +* Don't add 'dev' to tag\_build 0.2.0 ----- * heatclient : Add --disable-rollback option * heatclient : correct timeout parameter name -* Return the exit code from tox to callers of run_tests.sh +* Return the exit code from tox to callers of run\_tests.sh * Add switch to disable token authentication * Don't log at all if debugging is not turned on * Fixes required for packaging * Relax the required version of prettytable -* Switch to using version.canonical_version_string +* Switch to using version.canonical\_version\_string * Update to latest oslo-incubator * Display a better error message on HTTP exception @@ -829,17 +835,17 @@ * Add .gitreview file * pep8 and more tests * - Comment out commands that don't yet have a REST API equivalent - Use Name/ID when specifying a stack -* Feature parity with REST API - Give a nice message for 404 for non-existent stack id - implement delete, gettemplate, validate - run do_list after create, delete - don't encode the json template as a json string +* Feature parity with REST API - Give a nice message for 404 for non-existent stack id - implement delete, gettemplate, validate - run do\_list after create, delete - don't encode the json template as a json string * set up default logging even when not debugging * Allow sort column to be specified * An error response shouldn't be logged as an error, since it is part of the REST API * Implement describe, and format the results -* Allow pretty_dict to take optional formatters +* Allow pretty\_dict to take optional formatters * Shell unit tests, remove unused code, display real results from REST API * Allow labels to be specified separately from field keys * resolve test template file path no matter where it is run from * Some slightly more realistic mock responses. Regexp asserts to check pretty print is printing something -* pass the dict to print_dict +* pass the dict to print\_dict * Properly configure debug logging * Mock at the json request level instead of the http connection level. Test create * setup tweaks diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-1.8.0/PKG-INFO new/python-heatclient-1.8.1/PKG-INFO --- old/python-heatclient-1.8.0/PKG-INFO 2017-01-25 12:55:46.000000000 +0100 +++ new/python-heatclient-1.8.1/PKG-INFO 2017-04-25 15:29:59.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: python-heatclient -Version: 1.8.0 +Version: 1.8.1 Summary: OpenStack Orchestration API Client Library Home-page: http://docs.openstack.org/developer/python-heatclient/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-1.8.0/heatclient/common/event_utils.py new/python-heatclient-1.8.1/heatclient/common/event_utils.py --- old/python-heatclient-1.8.0/heatclient/common/event_utils.py 2017-01-25 12:53:35.000000000 +0100 +++ new/python-heatclient-1.8.1/heatclient/common/event_utils.py 2017-04-25 15:28:20.000000000 +0200 @@ -151,6 +151,15 @@ return nested_events +def _get_stack_name_from_links(event): + links = dict((l.get('rel'), + l.get('href')) for l in getattr(event, 'links', [])) + href = links.get('stack') + if not href: + return + return href.split('/stacks/', 1)[-1].split('/')[0] + + def _get_stack_events(hc, stack_id, event_args): event_args['stack_id'] = stack_id try: @@ -160,9 +169,10 @@ # just use the message that the server sent us. raise exc.CommandError(str(ex)) else: + stack_name = stack_id.split("/")[0] # Show which stack the event comes from (for nested events) for e in events: - e.stack_name = stack_id.split("/")[0] + e.stack_name = _get_stack_name_from_links(e) or stack_name return events diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-1.8.0/heatclient/tests/unit/test_event_utils.py new/python-heatclient-1.8.1/heatclient/tests/unit/test_event_utils.py --- old/python-heatclient-1.8.0/heatclient/tests/unit/test_event_utils.py 2017-01-25 12:53:35.000000000 +0100 +++ new/python-heatclient-1.8.1/heatclient/tests/unit/test_event_utils.py 2017-04-25 15:28:20.000000000 +0200 @@ -47,8 +47,9 @@ @staticmethod def _mock_event(event_id, resource_id, resource_status='CREATE_COMPLETE'): - ev_info = {"links": [{"href": "http://heat/foo", "rel": "self"}, - {"href": "http://heat/stacks/a", "rel": "stack"}], + ev_info = {"links": [ + {"href": "http://heat/foo", "rel": "self"}, + {"href": "http://heat/stacks/astack", "rel": "stack"}], "logical_resource_id": resource_id, "physical_resource_id": resource_id, "resource_name": resource_id, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-1.8.0/python_heatclient.egg-info/PKG-INFO new/python-heatclient-1.8.1/python_heatclient.egg-info/PKG-INFO --- old/python-heatclient-1.8.0/python_heatclient.egg-info/PKG-INFO 2017-01-25 12:55:45.000000000 +0100 +++ new/python-heatclient-1.8.1/python_heatclient.egg-info/PKG-INFO 2017-04-25 15:29:58.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: python-heatclient -Version: 1.8.0 +Version: 1.8.1 Summary: OpenStack Orchestration API Client Library Home-page: http://docs.openstack.org/developer/python-heatclient/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-1.8.0/python_heatclient.egg-info/pbr.json new/python-heatclient-1.8.1/python_heatclient.egg-info/pbr.json --- old/python-heatclient-1.8.0/python_heatclient.egg-info/pbr.json 2017-01-25 12:55:45.000000000 +0100 +++ new/python-heatclient-1.8.1/python_heatclient.egg-info/pbr.json 2017-04-25 15:29:58.000000000 +0200 @@ -1 +1 @@ -{"is_release": true, "git_version": "17dd306"} \ No newline at end of file +{"git_version": "56b4975", "is_release": true} \ No newline at end of file
