From: Thomas Goirand Date: Mon, 9 Jun 2014 14:34:43 +0000 (+0800) Subject: Now packaging 2014.1.1 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=2f05354bb571bce74f63eae5d82c9fcc39e0f49f;p=openstack-build%2Fheat-build.git Now packaging 2014.1.1 Rewritten-From: c7aaafce82335f1d8fa790edf1250a0683098f29 --- diff --git a/xenial/debian/changelog b/xenial/debian/changelog index 991b413f..b6b9c913 100644 --- a/xenial/debian/changelog +++ b/xenial/debian/changelog @@ -1,3 +1,11 @@ +heat (2014.1.1-1) unstable; urgency=medium + + * New upstream release. + * Removed Dont_dynamically_create_provider_types_in_the_global_env.patch + applied upstream. + + -- Thomas Goirand Mon, 09 Jun 2014 22:33:27 +0800 + heat (2014.1-8) unstable; urgency=medium * Now also packaging heat_keystoneclient_v2 in dist-packages/heat/plugins. diff --git a/xenial/debian/patches/Dont_dynamically_create_provider_types_in_the_global_env.patch b/xenial/debian/patches/Dont_dynamically_create_provider_types_in_the_global_env.patch deleted file mode 100644 index 7613fa65..00000000 --- a/xenial/debian/patches/Dont_dynamically_create_provider_types_in_the_global_env.patch +++ /dev/null @@ -1,44 +0,0 @@ -Subject: CVE-2014-3801: Don't dynamically create provider types in the global env - Only support this in user environments. - Note: this is only when you have the following in your template - resources: - thingy: - type: http://example.com/foo.template - . - Doing this will avoid tenant-specific provider template URLs being shown - globally in the resource-type listing. -Author: Angus Salkeld -Date: Thu, 1 May 2014 01:20:55 +0000 (+1000) -X-Git-Url: https://review.openstack.org/gitweb?p=openstack%2Fheat.git;a=commitdiff_plain;h=a02ff20509171346d2a1d2a9df7c81aada134c52 -Bug-Ubuntu: https://launchpad.net/bugs/1311223 -Change-Id: Ifa18108afacbda390b19b46a8f41bc4f018e95d6 - -Index: heat/heat/engine/environment.py -=================================================================== ---- heat.orig/heat/engine/environment.py 2014-04-14 16:36:22.000000000 +0800 -+++ heat/heat/engine/environment.py 2014-05-21 16:05:44.000000000 +0800 -@@ -218,7 +218,10 @@ - registry[name] = info - - def iterable_by(self, resource_type, resource_name=None): -- if resource_type.endswith(('.yaml', '.template')): -+ is_templ_type = resource_type.endswith(('.yaml', '.template')) -+ if self.global_registry is not None and is_templ_type: -+ # we only support dynamic resource types in user environments -+ # not the global environment. - # resource with a Type == a template - # we dynamically create an entry as it has not been registered. - if resource_type not in self._registry: -Index: heat/heat/tests/test_provider_template.py -=================================================================== ---- heat.orig/heat/tests/test_provider_template.py 2014-04-14 16:36:22.000000000 +0800 -+++ heat/heat/tests/test_provider_template.py 2014-05-21 16:05:44.000000000 +0800 -@@ -432,6 +432,8 @@ - {'WordPress_Single_Instance.yaml': - 'WordPress_Single_Instance.yaml', 'resources': {}}, - stack.env.user_env_as_dict()["resource_registry"]) -+ self.assertNotIn('WordPress_Single_Instance.yaml', -+ resources.global_env().registry._registry) - - def test_persisted_unregistered_provider_templates(self): - """ diff --git a/xenial/debian/patches/series b/xenial/debian/patches/series index d31c4674..1ebe602d 100644 --- a/xenial/debian/patches/series +++ b/xenial/debian/patches/series @@ -1,2 +1 @@ fix-default-db.patch -Dont_dynamically_create_provider_types_in_the_global_env.patch