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
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-03-01 14:14:52 +0000
3+++ debian/changelog 2013-03-12 19:50:25 +0000
4@@ -1,9 +1,14 @@
5-horizon (2013.1.g3-0ubuntu3) UNRELEASED; urgency=low
6+horizon (2013.1.g3-0ubuntu4) UNRELEASED; urgency=low
7
8+ [ James Page ]
9 * d/watch: Update uversionmangle to deal with upstream versioning
10 changes, remove tarballs.openstack.org.
11
12- -- James Page <james.page@ubuntu.com> Fri, 01 Mar 2013 14:11:51 +0000
13+ [ Adam Gandelman ]
14+ * debian/patches/ubuntu_local_settings.py: Refresh, specify memcache
15+ location as part of CACHES, as per upstream changes to example config.
16+
17+ -- Adam Gandelman <adamg@ubuntu.com> Tue, 12 Mar 2013 12:47:45 -0700
18
19 horizon (2013.1.g3-0ubuntu2) raring; urgency=low
20
21
22=== modified file 'debian/patches/ubuntu_local_settings.patch'
23--- debian/patches/ubuntu_local_settings.patch 2012-11-21 18:39:13 +0000
24+++ debian/patches/ubuntu_local_settings.patch 2013-03-12 19:50:25 +0000
25@@ -1,7 +1,8 @@
26-diff -Naurp horizon-2013.1.orig/openstack_dashboard/local/local_settings.py.example horizon-2013.1/openstack_dashboard/local/local_settings.py.example
27---- horizon-2013.1.orig/openstack_dashboard/local/local_settings.py.example 2012-11-20 22:59:38.000000000 -0600
28-+++ horizon-2013.1/openstack_dashboard/local/local_settings.py.example 2012-11-21 12:35:19.701240407 -0600
29-@@ -4,7 +4,7 @@ from django.utils.translation import uge
30+Index: horizon/openstack_dashboard/local/local_settings.py.example
31+===================================================================
32+--- horizon.orig/openstack_dashboard/local/local_settings.py.example 2013-03-12 12:43:30.000000000 -0700
33++++ horizon/openstack_dashboard/local/local_settings.py.example 2013-03-12 12:45:17.159499422 -0700
34+@@ -4,7 +4,7 @@
35
36 from openstack_dashboard import exceptions
37
38@@ -10,15 +11,15 @@
39 TEMPLATE_DEBUG = DEBUG
40
41 # Set SSL proxy settings:
42-@@ -49,13 +49,29 @@ LOCAL_PATH = os.path.dirname(os.path.abs
43- # We recommend you use memcached for development; otherwise after every reload
44- # of the django development server, you will have to login again. To use
45- # memcached set CACHE_BACKED to something like 'memcached://127.0.0.1:11211/'
46--CACHE_BACKEND = 'locmem://'
47-+CACHE_BACKEND = 'memcached://127.0.0.1:11211'
48+@@ -68,6 +68,7 @@
49+ CACHES = {
50+ 'default': {
51+ 'BACKEND' : 'django.core.cache.backends.locmem.LocMemCache'
52++ 'LOCATION' : '127.0.0.1:11211',
53+ }
54+ }
55
56- # Send email to the console by default
57- EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
58+@@ -76,6 +77,22 @@
59 # Or send them to /dev/null
60 #EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
61

Subscribers

People subscribed via source and target branches