summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-keystone
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2014-07-18 13:05:34 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-07-18 13:05:34 -0400
commit74f6718fc594b088fd9966562dbf8a110d2505d5 (patch)
tree1e64c59c2339d1ad720099882680234605feca5c /meta-openstack/recipes-devtools/python/python-keystone
parente69535f5c915f763910f179e3da6ddc7673fbb2e (diff)
downloadmeta-cloud-services-74f6718fc594b088fd9966562dbf8a110d2505d5.tar.gz
keystone: uprev to juno
Updating keystone to the juno release candidate. Also adding new dependencies. Note: also ensure that the new keystoneclient and keystonemiddleware are used. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone')
-rw-r--r--meta-openstack/recipes-devtools/python/python-keystone/keystone-remove-git-commands-in-tests.patch17
-rw-r--r--meta-openstack/recipes-devtools/python/python-keystone/keystone-search-in-etc-directory-for-config-files.patch23
2 files changed, 17 insertions, 23 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone/keystone-remove-git-commands-in-tests.patch b/meta-openstack/recipes-devtools/python/python-keystone/keystone-remove-git-commands-in-tests.patch
index 5605950..928c0fb 100644
--- a/meta-openstack/recipes-devtools/python/python-keystone/keystone-remove-git-commands-in-tests.patch
+++ b/meta-openstack/recipes-devtools/python/python-keystone/keystone-remove-git-commands-in-tests.patch
@@ -17,11 +17,11 @@ Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
17 keystone/tests/core.py | 2 ++ 17 keystone/tests/core.py | 2 ++
18 1 file changed, 2 insertions(+) 18 1 file changed, 2 insertions(+)
19 19
20diff --git a/keystone/tests/core.py b/keystone/tests/core.py 20Index: git/keystone/tests/core.py
21index 860f68d..9aa54db 100644 21===================================================================
22--- a/keystone/tests/core.py 22--- git.orig/keystone/tests/core.py
23+++ b/keystone/tests/core.py 23+++ git/keystone/tests/core.py
24@@ -109,6 +109,7 @@ def checkout_vendor(repo, rev): 24@@ -125,6 +125,7 @@
25 25
26 working_dir = os.getcwd() 26 working_dir = os.getcwd()
27 revdir = os.path.join(VENDOR, '%s-%s' % (name, rev.replace('/', '_'))) 27 revdir = os.path.join(VENDOR, '%s-%s' % (name, rev.replace('/', '_')))
@@ -29,14 +29,11 @@ index 860f68d..9aa54db 100644
29 modcheck = os.path.join(VENDOR, '.%s-%s' % (name, rev.replace('/', '_'))) 29 modcheck = os.path.join(VENDOR, '.%s-%s' % (name, rev.replace('/', '_')))
30 try: 30 try:
31 if os.path.exists(modcheck): 31 if os.path.exists(modcheck):
32@@ -129,6 +130,7 @@ def checkout_vendor(repo, rev): 32@@ -145,6 +146,7 @@
33 fd.write('1') 33 fd.write('1')
34 except environment.subprocess.CalledProcessError: 34 except environment.subprocess.CalledProcessError:
35 LOG.warning(_('Failed to checkout %s'), repo) 35 LOG.warning(_('Failed to checkout %s'), repo)
36+ """ 36+ """
37 cd(working_dir) 37 os.chdir(working_dir)
38 return revdir 38 return revdir
39 39
40--
411.9.3
42
diff --git a/meta-openstack/recipes-devtools/python/python-keystone/keystone-search-in-etc-directory-for-config-files.patch b/meta-openstack/recipes-devtools/python/python-keystone/keystone-search-in-etc-directory-for-config-files.patch
index 1259a20..6f88e17 100644
--- a/meta-openstack/recipes-devtools/python/python-keystone/keystone-search-in-etc-directory-for-config-files.patch
+++ b/meta-openstack/recipes-devtools/python/python-keystone/keystone-search-in-etc-directory-for-config-files.patch
@@ -14,23 +14,23 @@ Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
14 keystone/tests/core.py | 6 +++--- 14 keystone/tests/core.py | 6 +++---
15 1 file changed, 3 insertions(+), 3 deletions(-) 15 1 file changed, 3 insertions(+), 3 deletions(-)
16 16
17diff --git a/keystone/tests/core.py b/keystone/tests/core.py 17Index: git/keystone/tests/core.py
18index 860f68d..8e069fb 100644 18===================================================================
19--- a/keystone/tests/core.py 19--- git.orig/keystone/tests/core.py
20+++ b/keystone/tests/core.py 20+++ git/keystone/tests/core.py
21@@ -75,9 +75,9 @@ from keystone.openstack.common import policy as common_policy # noqa 21@@ -68,9 +68,9 @@
22 22 PID = six.text_type(os.getpid())
23 LOG = logging.getLogger(__name__)
24 TESTSDIR = os.path.dirname(os.path.abspath(__file__)) 23 TESTSDIR = os.path.dirname(os.path.abspath(__file__))
24 TESTCONF = os.path.join(TESTSDIR, 'config_files')
25-ROOTDIR = os.path.normpath(os.path.join(TESTSDIR, '..', '..')) 25-ROOTDIR = os.path.normpath(os.path.join(TESTSDIR, '..', '..'))
26+ROOTDIR = os.path.normpath(os.path.join(TESTSDIR, '..')) 26+ROOTDIR = os.path.normpath(os.path.join(TESTSDIR, '..'))
27 VENDOR = os.path.join(ROOTDIR, 'vendor') 27 VENDOR = os.path.join(ROOTDIR, 'vendor')
28-ETCDIR = os.path.join(ROOTDIR, 'etc') 28-ETCDIR = os.path.join(ROOTDIR, 'etc')
29+ETCDIR = "/etc/keystone" 29+ETCDIR = "/etc/keystone"
30 TMPDIR = os.path.join(TESTSDIR, 'tmp')
31 30
32 CONF = config.CONF 31
33@@ -380,7 +380,7 @@ class TestCase(NoModule, testtools.TestCase): 32 def _calc_tmpdir():
33@@ -560,7 +560,7 @@
34 def _paste_config(self, config): 34 def _paste_config(self, config):
35 if not config.startswith('config:'): 35 if not config.startswith('config:'):
36 test_path = os.path.join(TESTSDIR, config) 36 test_path = os.path.join(TESTSDIR, config)
@@ -39,6 +39,3 @@ index 860f68d..8e069fb 100644
39 for path in [test_path, etc_path]: 39 for path in [test_path, etc_path]:
40 if os.path.exists('%s-paste.ini' % path): 40 if os.path.exists('%s-paste.ini' % path):
41 return 'config:%s-paste.ini' % path 41 return 'config:%s-paste.ini' % path
42--
431.9.3
44