Merge lp:~gandelman-a/ubuntu/raring/horizon/caches into lp:~openstack-ubuntu-testing/horizon/grizzly

Proposed by Adam Gandelman
Status: Merged
Merged at revision: 144
Proposed branch: lp:~gandelman-a/ubuntu/raring/horizon/caches
Merge into: lp:~openstack-ubuntu-testing/horizon/grizzly
Diff against target: 60 lines (+20/-14)
2 files modified
debian/changelog (+7/-2)
debian/patches/ubuntu_local_settings.patch (+13/-12)
To merge this branch: bzr merge lp:~gandelman-a/ubuntu/raring/horizon/caches
Reviewer Review Type Date Requested Status
Openstack Ubuntu Testers Pending
Review via email: mp+152999@code.launchpad.net

Description of the change

Patch needs refreshing to move memcache server location to the CACHES dict, as per https://review.openstack.org/#/c/23904/

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2013-03-01 14:14:52 +0000
+++ debian/changelog 2013-03-12 19:50:25 +0000
@@ -1,9 +1,14 @@
1horizon (2013.1.g3-0ubuntu3) UNRELEASED; urgency=low1horizon (2013.1.g3-0ubuntu4) UNRELEASED; urgency=low
22
3 [ James Page ]
3 * d/watch: Update uversionmangle to deal with upstream versioning4 * d/watch: Update uversionmangle to deal with upstream versioning
4 changes, remove tarballs.openstack.org.5 changes, remove tarballs.openstack.org.
56
6 -- James Page <james.page@ubuntu.com> Fri, 01 Mar 2013 14:11:51 +00007 [ Adam Gandelman ]
8 * debian/patches/ubuntu_local_settings.py: Refresh, specify memcache
9 location as part of CACHES, as per upstream changes to example config.
10
11 -- Adam Gandelman <adamg@ubuntu.com> Tue, 12 Mar 2013 12:47:45 -0700
712
8horizon (2013.1.g3-0ubuntu2) raring; urgency=low13horizon (2013.1.g3-0ubuntu2) raring; urgency=low
914
1015
=== modified file 'debian/patches/ubuntu_local_settings.patch'
--- debian/patches/ubuntu_local_settings.patch 2012-11-21 18:39:13 +0000
+++ debian/patches/ubuntu_local_settings.patch 2013-03-12 19:50:25 +0000
@@ -1,7 +1,8 @@
1diff -Naurp horizon-2013.1.orig/openstack_dashboard/local/local_settings.py.example horizon-2013.1/openstack_dashboard/local/local_settings.py.example1Index: horizon/openstack_dashboard/local/local_settings.py.example
2--- horizon-2013.1.orig/openstack_dashboard/local/local_settings.py.example 2012-11-20 22:59:38.000000000 -06002===================================================================
3+++ horizon-2013.1/openstack_dashboard/local/local_settings.py.example 2012-11-21 12:35:19.701240407 -06003--- horizon.orig/openstack_dashboard/local/local_settings.py.example 2013-03-12 12:43:30.000000000 -0700
4@@ -4,7 +4,7 @@ from django.utils.translation import uge4+++ horizon/openstack_dashboard/local/local_settings.py.example 2013-03-12 12:45:17.159499422 -0700
5@@ -4,7 +4,7 @@
5 6
6 from openstack_dashboard import exceptions7 from openstack_dashboard import exceptions
7 8
@@ -10,15 +11,15 @@
10 TEMPLATE_DEBUG = DEBUG11 TEMPLATE_DEBUG = DEBUG
11 12
12 # Set SSL proxy settings:13 # Set SSL proxy settings:
13@@ -49,13 +49,29 @@ LOCAL_PATH = os.path.dirname(os.path.abs14@@ -68,6 +68,7 @@
14 # We recommend you use memcached for development; otherwise after every reload15 CACHES = {
15 # of the django development server, you will have to login again. To use16 'default': {
16 # memcached set CACHE_BACKED to something like 'memcached://127.0.0.1:11211/'17 'BACKEND' : 'django.core.cache.backends.locmem.LocMemCache'
17-CACHE_BACKEND = 'locmem://'18+ 'LOCATION' : '127.0.0.1:11211',
18+CACHE_BACKEND = 'memcached://127.0.0.1:11211'19 }
20 }
19 21
20 # Send email to the console by default22@@ -76,6 +77,22 @@
21 EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
22 # Or send them to /dev/null23 # Or send them to /dev/null
23 #EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'24 #EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
24 25

Subscribers

People subscribed via source and target branches