From 9136295ae10a4cb0e8a0c69f0c560d5a3698553305500b6b6907551e561cc102 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 25 Mar 2014 14:22:20 +0000 Subject: [PATCH] osc copypac from project:Cloud:OpenStack:Icehouse:Staging package:python-heatclient revision:7, using keep-link, using expand OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-heatclient?expand=0&rev=17 --- _service | 4 +- python-heatclient-0.2.6.tar.gz | 3 - python-heatclient-master.tar.gz | 3 + python-heatclient.changes | 452 +++++++++++++++++++++++++++++++- python-heatclient.spec | 37 +-- 5 files changed, 467 insertions(+), 32 deletions(-) delete mode 100644 python-heatclient-0.2.6.tar.gz create mode 100644 python-heatclient-master.tar.gz diff --git a/_service b/_service index c8bf08d..53fa2cf 100644 --- a/_service +++ b/_service @@ -1,9 +1,9 @@ - + enable - keystone + python-heatclient enable diff --git a/python-heatclient-0.2.6.tar.gz b/python-heatclient-0.2.6.tar.gz deleted file mode 100644 index 3190ccd..0000000 --- a/python-heatclient-0.2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:544d2436f016675a02e179e0f7a99207b4134750e8ddfcc19326fb1e3d9067d5 -size 68473 diff --git a/python-heatclient-master.tar.gz b/python-heatclient-master.tar.gz new file mode 100644 index 0000000..f4d8d58 --- /dev/null +++ b/python-heatclient-master.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14ddf3d5afea0a480e6729c8d88c6966dec32a63401dcf55e16898521a43f6e4 +size 79538 diff --git a/python-heatclient.changes b/python-heatclient.changes index 5b41bf0..2ab160b 100644 --- a/python-heatclient.changes +++ b/python-heatclient.changes @@ -1,20 +1,454 @@ ------------------------------------------------------------------- -Thu Feb 13 14:21:07 UTC 2014 - dmueller@suse.com +Tue Mar 25 00:32:07 UTC 2014 - cloud-devel@suse.de -- update to 0.2.6: - * make tokens work with --os-no-client-auth - * Add --include-pass option for grizzly backwards compat +- Update to version python-heatclient-0.2.8.29.g508b6bb: + * Using common methods from oslo cliutils + * Output warnings for deprecated commands + * Python 3: Fix YamlEnvironmentTest tests + * Sort requirement files in alphabetical order ------------------------------------------------------------------- -Wed Jan 29 09:12:36 UTC 2014 - speilicke@suse.com +Sat Mar 22 00:32:05 UTC 2014 - cloud-devel@suse.de -- Add refresh_patches source service +- Update to version python-heatclient-0.2.8.21.g644d148: + * Add new tests to cover most of the requests port + * Pass bytes to NamedTemporaryFile.write() ------------------------------------------------------------------- -Mon Oct 7 10:23:08 UTC 2013 - dmueller@suse.com +Fri Mar 21 00:56:45 UTC 2014 - cloud-devel@suse.de -- go with release tarball of 0.2.5: - * no changes +- Update to version python-heatclient-0.2.8.17.g8a51be6: + * Add stack-preview support + * Workaround failing pypy gate job + * Remove dependent module py3kcompat + * Oslo: sync strutils + * Modify stack ID lookup to only use stacks:lookup + +------------------------------------------------------------------- +Wed Mar 19 17:18:40 UTC 2014 - dmueller@suse.com + +- install bash_completion for heat + +------------------------------------------------------------------- +Sat Mar 15 01:14:41 UTC 2014 - cloud-devel@suse.de + +- Update to version python-heatclient-0.2.8.8.g7e265ec: + * Add timeout option to stack-update + * Deprecate create/adopt --create-timeout in favor of --timeout + * Remove unused versions define in template_format.py + * Python3: fix test_stack_list_with_args() + +------------------------------------------------------------------- +Thu Mar 13 00:58:14 UTC 2014 - cloud-devel@suse.de + +- Update to version python-heatclient-0.2.8.2.g3809893: + * Rename --timeout global option and make it work + +------------------------------------------------------------------- +Thu Mar 6 00:53:01 UTC 2014 - cloud-devel@suse.de + +- Update to version python-heatclient-0.2.8.1.gaa30e46: + * Enable --help for each command + 0.2.8 + +------------------------------------------------------------------- +Sun Mar 2 01:26:45 UTC 2014 - cloud-devel@suse.de + +- Update to version python-heatclient-0.2.7.34.gb048b1a: + * Do not use the '+' operation dict_items() + * Remove None for dict.get() + * Update apiclient.base and reuse new functional + +------------------------------------------------------------------- +Sat Mar 1 00:39:10 UTC 2014 - cloud-devel@suse.de + +- Update to version python-heatclient-0.2.7.28.ga9f321e: + * Expand get_file using to template scope + * "version" section should be required in template + * Replace try...except with assertRaises + +------------------------------------------------------------------- +Wed Feb 26 01:39:05 UTC 2014 - cloud-devel@suse.de + +- Update to version python-heatclient-0.2.7.22.g7083897: + * Updated from global requirements + * Improve help strings + * Fixed incorrect indentation in the tests + * Don't use request builtin redirect for any methods + +------------------------------------------------------------------- +Tue Feb 25 01:13:46 UTC 2014 - cloud-devel@suse.de + +- Update to version python-heatclient-0.2.7.15.g55ad4b7: + * Support the native signal API + * Python3: fix bytes/str issues + +------------------------------------------------------------------- +Fri Feb 21 00:39:14 UTC 2014 - cloud-devel@suse.de + +- Update to version python-heatclient-0.2.7.11.g60f3de4: + * add output-list and output-show + * Adding stack-adopt support to python-heatclient + 0.2.7 + * Only call decode() on bytes + * Do not use the '+' operation dict_items() + * get_file_contents: use six.itervalues() instead of dict.itervalues() + * Improve help strings + +------------------------------------------------------------------- +Wed Feb 19 00:39:11 UTC 2014 - cloud-devel@suse.de + +- Update to version python-heatclient-0.2.6.117.g1dabd8c: + * REST method to fetch deployments metadata for a server + * Make POST/PUT redirects use original methods + * Decode all headers before logging curl commands + * Python3: use six.iteritems() rather than dict.iteritems() + +------------------------------------------------------------------- +Tue Feb 18 00:47:12 UTC 2014 - cloud-devel@suse.de + +- Update to version python-heatclient-0.2.6.109.gaa1f09e: + * Add support for software config resources + * Fixes environment file using correct YAML format + * Add optional args arg back to do_list + +------------------------------------------------------------------- +Fri Feb 14 08:23:50 UTC 2014 - cloud-devel@suse.de + +- Update to version python-heatclient-0.2.6.104.g42099da: + * normalise_file_path_to_url: use urlutils.pathname2url + +------------------------------------------------------------------- +Thu Feb 13 14:17:39 UTC 2014 - dmueller@suse.com + +- fix requires + +------------------------------------------------------------------- +Tue Feb 11 15:47:45 UTC 2014 - speilicke@suse.com + +- Update to version python-heatclient-0.2.6.103.g448d303: + + 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 + + Add filter option to stack-list + + Add pagination (limit and marker) to stack-list + + Populate files with content from get_file function calls + + Enable hacking H233 rule + + Configure logging regardless of debug flag +- Replace git_tarballs source service with download_files and set_version + + Use upstream URL as source (enables verification) + +------------------------------------------------------------------- +Tue Feb 4 00:36:26 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.84: + + Fix order of arguments in assertEqual + +------------------------------------------------------------------- +Fri Jan 31 01:14:26 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.83: + + Pass empty dict not None for empty environment + +------------------------------------------------------------------- +Wed Jan 29 01:38:10 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.82: + + Remove unused method 'string_to_bool' from utils + + Updated from global requirements + + Add support for build info API + +------------------------------------------------------------------- +Mon Jan 27 00:46:23 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.76: + + Remove dependencies on pep8, pyflakes and flake8 + + Refactor environment functions in preparation for get_file + +------------------------------------------------------------------- +Fri Jan 24 13:09:00 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.72: + + Use template_format.parse for local stack parsing + + reconcile prepare_environment_file/url into one funtion + + Raise traceback on error when using CLI and -debug + + Copy run_test.sh from heat repo + + Move environment and template file functions to own module + + Test coverage of empty environment + + Improve and unit-test template contents fetching + +------------------------------------------------------------------- +Mon Jan 20 01:31:58 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.58: + + Move template_format from heat to heatclient + + Fetch environment from fields rather than function arg + +------------------------------------------------------------------- +Sat Jan 18 01:23:08 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.54: + + Fix comparison with singletons + + Use assertRaises instead of try/except/else + +------------------------------------------------------------------- +Fri Jan 17 00:40:55 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.50: + + Remove unused common.base module + +------------------------------------------------------------------- +Thu Jan 16 11:57:51 UTC 2014 - dmueller@suse.com + +- fix requires + +------------------------------------------------------------------- +Thu Jan 16 01:18:30 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.48: + + Add to_dict() method to Resource class + + Update variable name in test_shell.py + + Fix some trivial py3 errors + + Sync strutils from oslo + +------------------------------------------------------------------- +Fri Jan 10 11:38:26 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.40: + + Added API reference document + + Remove vim header + + Enable deleting multiple stacks with single call + + Remove ununsed httplib2 requirement + +------------------------------------------------------------------- +Thu Jan 9 00:41:40 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.32: + + Updates .gitignore + +------------------------------------------------------------------- +Wed Jan 8 01:39:58 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.30: + + Increase test_resources coverage + +------------------------------------------------------------------- +Tue Jan 7 01:40:18 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.28: + + Fix help formatting for resource-template + +------------------------------------------------------------------- +Mon Jan 6 01:02:06 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.26: + + Sort resource-type-list output + +------------------------------------------------------------------- +Sat Jan 4 01:10:42 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.24: + + Fixed typo error OS_IMAGE_URL + + Wrapped some long lines + +------------------------------------------------------------------- +Thu Jan 2 18:43:39 UTC 2014 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.22: + + Fix inappropriate error message on event-list + +------------------------------------------------------------------- +Sat Dec 21 00:55:39 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.21: + + Allow the environment file to be specified via URL + + Show better error when json fail to parse template + +------------------------------------------------------------------- +Fri Dec 20 01:20:00 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.17: + + Sync base and exceptions from oslo + + Reuse BaseManager and Resource from oslo + +------------------------------------------------------------------- +Wed Dec 18 01:14:41 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.13: + + Supports bash_completion for heatclient + + Misc typos in Heat client + +------------------------------------------------------------------- +Tue Dec 17 01:28:55 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.11: + + Deprecate mox in favor of mox3 + + Use jsonutils from oslo incubator + +------------------------------------------------------------------- +Mon Dec 16 01:15:35 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.7: + + Updated from global requirements + + Updates tox.ini to use new features + +------------------------------------------------------------------- +Sat Dec 14 00:44:50 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.3: + + Add support for resource_types + +------------------------------------------------------------------- +Wed Dec 11 01:37:59 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.2: + + Replace inheritance hierarchy with composition + +------------------------------------------------------------------- +Sat Dec 7 00:58:32 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.6.1: + + Change ID column of Event table to UUID + +------------------------------------------------------------------- +Fri Dec 6 10:19:19 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.54: + + Fix i18n error when resource-name is non-english + + Add --include-pass option for grizzly backwards compat + + Add back --token-only for invocation compatibility + +------------------------------------------------------------------- +Wed Dec 4 00:36:05 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.50: + + Revert "Don't call credentials_headers() twice" + +------------------------------------------------------------------- +Fri Nov 29 01:25:26 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.49: + + use correct url on Windows platform + + Fix shell operation with --os-auth-token + + test_shell test current not deprecated options + + Make tokens work with --os-no-client-auth + + Honor endpoint_type when requesting keystone for a token + +------------------------------------------------------------------- +Thu Nov 28 01:00:28 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.39: + + Pass only tenant name or ID to keystoneclient + + Cleanup exc.verbose after tests + + Use fixtures for all shell environment variables + + Don't call credentials_headers() twice + +------------------------------------------------------------------- +Wed Nov 27 01:16:23 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.35: + + Remove --token-only option, it does nothing + +------------------------------------------------------------------- +Tue Nov 26 00:40:24 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.34: + + Revert "heatclient is not working with os-auth-token" + +------------------------------------------------------------------- +Mon Nov 25 14:21:08 UTC 2013 - dmueller@suse.com + +- switch to python-setuptools + +------------------------------------------------------------------- +Sun Nov 24 01:05:18 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.32: + + Updated from global requirements + +------------------------------------------------------------------- +Thu Nov 21 01:08:48 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.30: + + Encode output for fixing UnicodeDecodeError + +------------------------------------------------------------------- +Wed Nov 13 01:03:10 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.29: + + Add a basic man page for heat + +------------------------------------------------------------------- +Tue Nov 12 01:31:56 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.28: + + heatclient is not working with os-auth-token + +------------------------------------------------------------------- +Sat Nov 9 01:29:34 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.26: + + Returning the json body after a stack-create or stack-update + +------------------------------------------------------------------- +Sat Nov 2 00:49:20 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.25: + + Add a contibuting section to index.rst + + Add a top level introduction to the index + +------------------------------------------------------------------- +Fri Nov 1 00:41:29 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.21: + + Add doc/Makefile to help with building docs + + Resync doc/source/conf.py from heat for consistency + + Remove the release notes as it is not maintained here + +------------------------------------------------------------------- +Thu Oct 31 00:48:35 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.15: + + Print a more correct error with event-show + +------------------------------------------------------------------- +Sat Oct 26 00:08:45 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.14: + + Fix the testname of scenario + +------------------------------------------------------------------- +Wed Oct 23 23:30:26 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.13: + + Import urlutils from openstack common + + Use the six library for compatability + + Transform print statement to print function + + Replace urllib/urllib2 with urlutils + + remove python 2.5 support for parse_sql + + align the order of parameters for urlencode() + +------------------------------------------------------------------- +Fri Oct 18 00:13:41 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.6: + + Replace mox with mox3 + + Import httplib from six.moves + + Updated from global requirements + +------------------------------------------------------------------- +Mon Oct 14 12:55:41 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.3: + + Allow env registry paths to be relative to env file + +------------------------------------------------------------------- +Tue Oct 8 13:01:41 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 0.2.5.1: + + Updated from global requirements ------------------------------------------------------------------- Fri Sep 27 23:40:56 UTC 2013 - opensuse-cloud@opensuse.org diff --git a/python-heatclient.spec b/python-heatclient.spec index 3e73cd1..cf5258c 100644 --- a/python-heatclient.spec +++ b/python-heatclient.spec @@ -19,31 +19,31 @@ %define component heatclient Name: python-%{component} -Version: 0.2.6 +Version: 0.2.8.29.g508b6bb Release: 0 -Summary: Openstack Orchestration (Heat) API Client +Summary: OpenStack Orchestration (Heat) API Client License: Apache-2.0 Group: Development/Languages/Python Url: http://launchpad.net/python-heatclient -Source: http://tarballs.openstack.org/python-heatclient/python-heatclient-0.2.6.tar.gz +Source: http://tarballs.openstack.org/python-heatclient/python-heatclient-master.tar.gz BuildRequires: openstack-suse-macros BuildRequires: python-base -BuildRequires: python-distribute +BuildRequires: python-setuptools # Documentation build requirements: BuildRequires: python-PrettyTable BuildRequires: python-Sphinx -BuildRequires: python-httplib2 BuildRequires: python-iso8601 >= 0.1.4 BuildRequires: python-keystoneclient BuildRequires: python-pbr Requires: python >= 2.6.8 -Requires: python-PrettyTable >= 0.6 +Requires: python-PrettyTable >= 0.7 Requires: python-PyYAML >= 3.1.0 Requires: python-argparse -Requires: python-httplib2 -Requires: python-iso8601 >= 0.1.4 -Requires: python-keystoneclient >= 0.3.0 +Requires: python-iso8601 >= 0.1.8 +Requires: python-keystoneclient >= 0.4.2 Requires: python-pbr >= 0.5.21 +Requires: python-requests >= 1.1 +Requires: python-six >= 1.4.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -56,7 +56,7 @@ This is a client library for Heat built on the Heat orchestration API. It provides a Python API (the heatclient module) and a command-line tool (heat). %package doc -Summary: Openstack Orchestration (Heat) API Client - Documentation +Summary: OpenStack Orchestration (Heat) API Client - Documentation Group: Documentation/HTML Requires: %{name} = %{version} @@ -64,19 +64,16 @@ Requires: %{name} = %{version} This package contains documentation files for %{name}. %package test -Summary: Openstack Orchestration (Heat) API Client - Testsuite +Summary: OpenStack Orchestration (Heat) API Client - Testsuite Group: Development/Languages/Python Requires: %{name} = %{version} Requires: python-coverage >= 3.6 %if 0%{?suse_version} && 0%{?suse_version} <= 1110 Requires: python-discover %endif -Requires: python-fixtures >= 0.3.12 -Requires: python-flake8 >= 2.0 -Requires: python-mock >= 0.8.0 -Requires: python-mox >= 0.5.3 -Requires: python-pep8 >= 1.4.5 -Requires: python-pyflakes >= 0.7.2 +Requires: python-fixtures >= 0.3.14 +Requires: python-mock >= 1.0 +Requires: python-mox3 >= 0.7.0 Requires: python-testrepository >= 0.0.17 Requires: python-testscenarios >= 0.4 Requires: python-testtools >= 0.9.32 @@ -85,7 +82,7 @@ Requires: python-testtools >= 0.9.32 This package contains testsuite files for %{name}. %prep -%setup -q -n python-heatclient-0.2.6 +%setup -q %openstack_cleanup_prep echo %{version} > heatclient/versioninfo @@ -97,6 +94,9 @@ rm doc/build/html/.buildinfo %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-data=%{python_sitelib} +# bash completion +install -p -D -m 644 tools/heat.bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/openstack-heat.sh + ### test subpackage %openstack_test_package_install @@ -106,6 +106,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-data=% %{_bindir}/heat %{python_sitelib}/%{component}/ %{python_sitelib}/python_%{component}-*.egg-info +%{_sysconfdir}/bash_completion.d/openstack-heat.sh %files doc %defattr(-,root,root,-)