Merge lp:~james-page/ceilometer/grizzly-tidyup into lp:~openstack-ubuntu-testing/ceilometer/grizzly
- grizzly-tidyup
- Merge into grizzly
Proposed by
James Page
Status: | Merged |
---|---|
Approved by: | Yolanda Robla |
Approved revision: | 21 |
Merged at revision: | 21 |
Proposed branch: | lp:~james-page/ceilometer/grizzly-tidyup |
Merge into: | lp:~openstack-ubuntu-testing/ceilometer/grizzly |
Diff against target: |
354 lines (+138/-88) 6 files modified
debian/changelog (+24/-19) debian/control (+75/-68) debian/patches/remove-hbase-support.patch (+13/-0) debian/patches/requests-dep.patch (+15/-0) debian/patches/series (+2/-0) debian/rules (+9/-1) |
To merge this branch: | bzr merge lp:~james-page/ceilometer/grizzly-tidyup |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Yolanda Robla (community) | Approve | ||
Review via email: mp+152793@code.launchpad.net |
Commit message
Description of the change
General tidy of package in preparation for Grizzly rc1
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-11 15:40:24 +0000 | |||
3 | +++ debian/changelog 2013-03-11 22:44:20 +0000 | |||
4 | @@ -4,34 +4,39 @@ | |||
5 | 4 | * New upstream release. | 4 | * New upstream release. |
6 | 5 | * debian/watch: point to the right releases. | 5 | * debian/watch: point to the right releases. |
7 | 6 | * debian/rules: Enable testsuite. | 6 | * debian/rules: Enable testsuite. |
8 | 7 | * debian/control: Update dependencies. | ||
9 | 8 | * debian/patches/remove-unwanted-dependencies.patch: Remove mongodb dependencies. | ||
10 | 9 | * debian/ceilometer-agent-compute.postinst: Add smarts to | 7 | * debian/ceilometer-agent-compute.postinst: Add smarts to |
11 | 10 | configure users after install. | 8 | configure users after install. |
12 | 11 | * debian/ceilometer-common.postinst: Configure ceilometer db. | 9 | * debian/ceilometer-common.postinst: Configure ceilometer db. |
13 | 12 | * debian/ceilometer-common.install: Install configuration files. | 10 | * debian/ceilometer-common.install: Install configuration files. |
17 | 13 | * debian/*.usptart: Update and use start-stop-daemon. | 11 | * debian/*.upstart: Update and use start-stop-daemon. |
15 | 14 | * debian/patches/exclude-tests-when-isntall.patch: Exclude tests so it | ||
16 | 15 | doesnt conflict with python-boto (LP: #1102110) | ||
18 | 16 | 12 | ||
19 | 17 | [ James Page ] | 13 | [ James Page ] |
20 | 18 | * Added watch file. | 14 | * Added watch file. |
21 | 15 | * d/rules: Fixup test suite execution as much as possible: | ||
22 | 16 | - Set PYTHONPATH to CURDIR during execution. | ||
23 | 17 | - Provide HOME directory for keystone tests. | ||
24 | 18 | - Override clean to tidy up after execution. | ||
25 | 19 | * d/control: Tidied BD's: | ||
26 | 20 | - Drop python-ming (not the right ming). | ||
27 | 21 | - python-oslo-config -> python-oslo.config. | ||
28 | 22 | - Dropped misc other surplus/duplicate dependencies. | ||
29 | 23 | - Wrapped and sorted. | ||
30 | 24 | * d/p/request-dep.patch: Remove upper bound on python-requests inline with | ||
31 | 25 | the rest of OpenStack. | ||
32 | 26 | * d/p/remove-hbase-support.patch: Remove happybase dependency. | ||
33 | 27 | * d/control: Bumped Standards-Version, no changes. | ||
34 | 19 | 28 | ||
35 | 20 | [ Yolanda Robla ] | 29 | [ Yolanda Robla ] |
50 | 21 | * d/patches: removed unused patches | 30 | * d/rules: Copy ceilometer.conf.sample to ceilometer.conf. |
51 | 22 | * d/rules: copying ceilometer.conf.sample to ceilometer.conf | 31 | * d/ceilometer-common.install: Install ceilometer.conf and ceilometer-dbsync. |
52 | 23 | * d/ceilometer-common.install: fix copying ceilometer.conf, copy ceilometer-dbsync | 32 | * d/ceilometer-common.postinst: Configure mongo connection by default, |
53 | 24 | * d/ceilometer-common.postinst: configuring mongo connection by default, | 33 | fixing user/group creation. |
54 | 25 | * fixing user/group creation | 34 | * d/*.upstart: Fix upstart jobs. |
55 | 26 | * d/control: updated dependencies | 35 | * d/pydist-overrides: Correct pymongo and wsme package names. |
56 | 27 | * d/*.upstart: fixed upstart jobs | 36 | * d/control: moved mongodb recommends to api and collector |
57 | 28 | * d/pydist-overrides: correcting pymongo and wsme package names | 37 | packages (LP: #1131627). |
58 | 29 | * d/control: moved mongo recommends to api and collector | 38 | * d/files: copying pipeline.yaml. |
59 | 30 | packages (LP: #1131627) | 39 | * d/control: fixed typo (LP: #1140309). |
46 | 31 | * d/control: refreshed dependencies | ||
47 | 32 | * d/files: copying pipeline.yaml | ||
48 | 33 | * d/control: fixed typo (LP: #1140309) | ||
49 | 34 | * debian/patches/exclude-tests-when-installing.patch: removed, not needed | ||
60 | 35 | 40 | ||
61 | 36 | -- Yolanda Robla <yolanda.robla@canonical.com> Mon, 11 Mar 2013 14:23:00 +0100 | 41 | -- Yolanda Robla <yolanda.robla@canonical.com> Mon, 11 Mar 2013 14:23:00 +0100 |
62 | 37 | 42 | ||
63 | 38 | 43 | ||
64 | === modified file 'debian/control' | |||
65 | --- debian/control 2013-03-04 14:20:41 +0000 | |||
66 | +++ debian/control 2013-03-11 22:44:20 +0000 | |||
67 | @@ -2,64 +2,55 @@ | |||
68 | 2 | Section: python | 2 | Section: python |
69 | 3 | Priority: optional | 3 | Priority: optional |
70 | 4 | Maintainer: Chuck Short <zulcss@ubuntu.com> | 4 | Maintainer: Chuck Short <zulcss@ubuntu.com> |
72 | 5 | Build-Depends: debhelper (>= 8.0.0), | 5 | Build-Depends: |
73 | 6 | debhelper (>= 8.0.0), | ||
74 | 6 | python-all (>= 2.6), | 7 | python-all (>= 2.6), |
75 | 7 | python-all-dev (>= 2.6.6-3~) | ||
76 | 8 | Build-Depends-Indep: | ||
77 | 9 | python-nose, | 8 | python-nose, |
79 | 10 | python-unittest2, | 9 | python-anyjson (>= 0.2.4), |
80 | 10 | python-argparse, | ||
81 | 11 | python-babel (>= 0.9.6), | ||
82 | 11 | python-coverage, | 12 | python-coverage, |
83 | 12 | python-mock, | ||
84 | 13 | python-mox, | ||
85 | 14 | python-babel (>= 0.9.6), | ||
86 | 15 | python-ming, | ||
87 | 16 | python-nova, | ||
88 | 17 | python-glance, | ||
89 | 18 | python-swift, | ||
90 | 19 | python-setuptools-git (>= 0.4), | ||
91 | 20 | python-netifaces, | ||
92 | 21 | python-sphinx, | ||
93 | 22 | python-docutils, | 13 | python-docutils, |
99 | 23 | python-oslo-config, | 14 | python-eventlet, |
100 | 24 | python-yaml, | 15 | python-extras, |
101 | 25 | python-flask (>= 0.9) | 16 | python-flask (>= 0.9), |
102 | 26 | Depends: | 17 | python-glanceclient, |
103 | 27 | python-webob (>= 1.2), | 18 | python-iso8601, |
104 | 19 | python-keystoneclient (<< 1:0.3), | ||
105 | 28 | python-kombu, | 20 | python-kombu, |
106 | 29 | python-iso8601, | ||
107 | 30 | python-lockfile, | 21 | python-lockfile, |
108 | 22 | python-lxml, | ||
109 | 23 | python-migrate, | ||
110 | 24 | python-mock, | ||
111 | 25 | python-mox, | ||
112 | 31 | python-netaddr, | 26 | python-netaddr, |
116 | 32 | python-argparse, | 27 | python-netifaces, |
117 | 33 | python-sqlalchemy (<= 0.7.9), | 28 | python-novaclient (>= 2.6.10), |
118 | 34 | python-migrate, | 29 | python-oslo.config, |
119 | 30 | python-pecan (>= 0.2.0), | ||
120 | 35 | python-pymongo (>= 2.2), | 31 | python-pymongo (>= 2.2), |
125 | 36 | python-eventlet, | 32 | python-requests, |
126 | 37 | python-anyjson (>= 0.2.4), | 33 | python-setuptools-git (>= 0.4), |
127 | 38 | python-flask (>= 0.9), | 34 | python-sphinx, |
128 | 39 | python-pecan (>= 0.2.0), | 35 | python-sqlalchemy, |
129 | 40 | python-stevedore (>= 0.6), | 36 | python-stevedore (>= 0.6), |
133 | 41 | python-glanceclient, | 37 | python-swift, |
131 | 42 | python-novaclient (>= 2.6.10), | ||
132 | 43 | python-keystoneclient (<< 0.3), | ||
134 | 44 | python-swiftclient, | 38 | python-swiftclient, |
138 | 45 | python-lxml, | 39 | python-unittest2, |
139 | 46 | python-requests, | 40 | python-webob (>= 1.2), |
137 | 47 | python-extras, | ||
140 | 48 | python-wsme (>= 0.5b1), | 41 | python-wsme (>= 0.5b1), |
144 | 49 | python-pyyaml, | 42 | python-yaml |
145 | 50 | python-oslo-config | 43 | Standards-Version: 3.9.4 |
143 | 51 | Standards-Version: 3.9.3 | ||
146 | 52 | 44 | ||
147 | 53 | Package: python-ceilometer | 45 | Package: python-ceilometer |
148 | 54 | Architecture: all | 46 | Architecture: all |
151 | 55 | Depends: ${python:Depends}, | 47 | Depends: ${misc:Depends}, ${python:Depends} |
150 | 56 | ${misc:Depends} | ||
152 | 57 | Description: ceilometer python libraries | 48 | Description: ceilometer python libraries |
158 | 58 | Ceilometer aims to deliver a unique point of contact for billing systems to | 49 | Ceilometer aims to deliver a unique point of contact for billing systems to |
159 | 59 | aquire all counters they need to establish customer billing, accross all | 50 | aquire all counters they need to establish customer billing, accross all |
160 | 60 | current and future OpenStack components. The delivery of counters must | 51 | current and future OpenStack components. The delivery of counters must |
161 | 61 | be tracable and auditable, the counters must be easily extensible to support | 52 | be tracable and auditable, the counters must be easily extensible to support |
162 | 62 | new projects, and agents doing data collections should be | 53 | new projects, and agents doing data collections should be |
163 | 63 | independent of the overall system. | 54 | independent of the overall system. |
164 | 64 | . | 55 | . |
165 | 65 | (A ceilometer is an instrument that measures cloud coverage.) | 56 | (A ceilometer is an instrument that measures cloud coverage.) |
166 | @@ -69,14 +60,18 @@ | |||
167 | 69 | 60 | ||
168 | 70 | Package: ceilometer-common | 61 | Package: ceilometer-common |
169 | 71 | Architecture: all | 62 | Architecture: all |
171 | 72 | Depends: python-ceilometer (= ${binary:Version}), ${python:Depends}, ${misc:Depends}, adduser | 63 | Depends: |
172 | 64 | adduser, | ||
173 | 65 | python-ceilometer (= ${binary:Version}), | ||
174 | 66 | ${misc:Depends}, | ||
175 | 67 | ${python:Depends} | ||
176 | 73 | Provides: ${python:Provides} | 68 | Provides: ${python:Provides} |
177 | 74 | Description: ceilometer common files | 69 | Description: ceilometer common files |
178 | 75 | Ceilometer aims to deliver a unique point of contact for billing systems to | 70 | Ceilometer aims to deliver a unique point of contact for billing systems to |
183 | 76 | aquire all counters they need to establish customer billing, accross all | 71 | aquire all counters they need to establish customer billing, accross all |
184 | 77 | current and future OpenStack components. The delivery of counters must | 72 | current and future OpenStack components. The delivery of counters must |
185 | 78 | be tracable and auditable, the counters must be easily extensible to support | 73 | be tracable and auditable, the counters must be easily extensible to support |
186 | 79 | new projects, and agents doing data collections should be | 74 | new projects, and agents doing data collections should be |
187 | 80 | independent of the overall system. | 75 | independent of the overall system. |
188 | 81 | . | 76 | . |
189 | 82 | (A ceilometer is an instrument that measures cloud coverage.) | 77 | (A ceilometer is an instrument that measures cloud coverage.) |
190 | @@ -85,14 +80,17 @@ | |||
191 | 85 | 80 | ||
192 | 86 | Package: ceilometer-collector | 81 | Package: ceilometer-collector |
193 | 87 | Architecture: all | 82 | Architecture: all |
195 | 88 | Depends: ceilometer-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends} | 83 | Depends: |
196 | 84 | ceilometer-common (= ${binary:Version}), | ||
197 | 85 | ${misc:Depends}, | ||
198 | 86 | ${python:Depends} | ||
199 | 89 | Recommends: mongodb | 87 | Recommends: mongodb |
200 | 90 | Description: ceilometer collector service | 88 | Description: ceilometer collector service |
201 | 91 | Ceilometer aims to deliver a unique point of contact for billing systems to | 89 | Ceilometer aims to deliver a unique point of contact for billing systems to |
206 | 92 | aquire all counters they need to establish customer billing, accross all | 90 | aquire all counters they need to establish customer billing, accross all |
207 | 93 | current and future OpenStack components. The delivery of counters must | 91 | current and future OpenStack components. The delivery of counters must |
208 | 94 | be tracable and auditable, the counters must be easily extensible to support | 92 | be tracable and auditable, the counters must be easily extensible to support |
209 | 95 | new projects, and agents doing data collections should be | 93 | new projects, and agents doing data collections should be |
210 | 96 | independent of the overall system. | 94 | independent of the overall system. |
211 | 97 | . | 95 | . |
212 | 98 | (A ceilometer is an instrument that measures cloud coverage.) | 96 | (A ceilometer is an instrument that measures cloud coverage.) |
213 | @@ -101,27 +99,33 @@ | |||
214 | 101 | 99 | ||
215 | 102 | Package: ceilometer-api | 100 | Package: ceilometer-api |
216 | 103 | Architecture: all | 101 | Architecture: all |
218 | 104 | Depends: ceilometer-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends} | 102 | Depends: |
219 | 103 | ceilometer-common (= ${binary:Version}), | ||
220 | 104 | ${misc:Depends}, | ||
221 | 105 | ${python:Depends} | ||
222 | 105 | Recommends: mongodb | 106 | Recommends: mongodb |
223 | 106 | Description: ceilometer api service | 107 | Description: ceilometer api service |
224 | 107 | Ceilometer aims to deliver a unique point of contact for billing systems to | 108 | Ceilometer aims to deliver a unique point of contact for billing systems to |
229 | 108 | aquire all counters they need to establish customer billing, accross all | 109 | aquire all counters they need to establish customer billing, accross all |
230 | 109 | current and future OpenStack components. The delivery of counters must | 110 | current and future OpenStack components. The delivery of counters must |
231 | 110 | be tracable and auditable, the counters must be easily extensible to support | 111 | be tracable and auditable, the counters must be easily extensible to support |
232 | 111 | new projects, and agents doing data collections should be | 112 | new projects, and agents doing data collections should be |
233 | 112 | independent of the overall system. | 113 | independent of the overall system. |
234 | 113 | . | 114 | . |
235 | 114 | This package contains the api service | 115 | This package contains the api service |
236 | 115 | 116 | ||
237 | 116 | Package: ceilometer-agent-compute | 117 | Package: ceilometer-agent-compute |
238 | 117 | Architecture: all | 118 | Architecture: all |
240 | 118 | Depends: ceilometer-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends} | 119 | Depends: |
241 | 120 | ceilometer-common (= ${binary:Version}), | ||
242 | 121 | ${misc:Depends}, | ||
243 | 122 | ${python:Depends} | ||
244 | 119 | Description: ceilometer compute agent | 123 | Description: ceilometer compute agent |
245 | 120 | Ceilometer aims to deliver a unique point of contact for billing systems to | 124 | Ceilometer aims to deliver a unique point of contact for billing systems to |
250 | 121 | aquire all counters they need to establish customer billing, accross all | 125 | aquire all counters they need to establish customer billing, accross all |
251 | 122 | current and future OpenStack components. The delivery of counters must | 126 | current and future OpenStack components. The delivery of counters must |
252 | 123 | be tracable and auditable, the counters must be easily extensible to support | 127 | be tracable and auditable, the counters must be easily extensible to support |
253 | 124 | new projects, and agents doing data collections should be | 128 | new projects, and agents doing data collections should be |
254 | 125 | independent of the overall system. | 129 | independent of the overall system. |
255 | 126 | . | 130 | . |
256 | 127 | (A ceilometer is an instrument that measures cloud coverage.) | 131 | (A ceilometer is an instrument that measures cloud coverage.) |
257 | @@ -130,13 +134,16 @@ | |||
258 | 130 | 134 | ||
259 | 131 | Package: ceilometer-agent-central | 135 | Package: ceilometer-agent-central |
260 | 132 | Architecture: all | 136 | Architecture: all |
262 | 133 | Depends: ceilometer-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends} | 137 | Depends: |
263 | 138 | ceilometer-common (= ${binary:Version}), | ||
264 | 139 | ${misc:Depends}, | ||
265 | 140 | ${python:Depends} | ||
266 | 134 | Description: ceilometer central agent | 141 | Description: ceilometer central agent |
267 | 135 | Ceilometer aims to deliver a unique point of contact for billing systems to | 142 | Ceilometer aims to deliver a unique point of contact for billing systems to |
272 | 136 | aquire all counters they need to establish customer billing, accross all | 143 | aquire all counters they need to establish customer billing, accross all |
273 | 137 | current and future OpenStack components. The delivery of counters must | 144 | current and future OpenStack components. The delivery of counters must |
274 | 138 | be tracable and auditable, the counters must be easily extensible to support | 145 | be tracable and auditable, the counters must be easily extensible to support |
275 | 139 | new projects, and agents doing data collections should be | 146 | new projects, and agents doing data collections should be |
276 | 140 | independent of the overall system. | 147 | independent of the overall system. |
277 | 141 | . | 148 | . |
278 | 142 | (A ceilometer is an instrument that measures cloud coverage.) | 149 | (A ceilometer is an instrument that measures cloud coverage.) |
279 | 143 | 150 | ||
280 | === added directory 'debian/patches' | |||
281 | === added file 'debian/patches/remove-hbase-support.patch' | |||
282 | --- debian/patches/remove-hbase-support.patch 1970-01-01 00:00:00 +0000 | |||
283 | +++ debian/patches/remove-hbase-support.patch 2013-03-11 22:44:20 +0000 | |||
284 | @@ -0,0 +1,13 @@ | |||
285 | 1 | Description: Drop unpackaged happybase from dependencies | ||
286 | 2 | This avoids breaking stevedore extensions via endpoints. | ||
287 | 3 | Author: James Page <james.page@ubuntu.com> | ||
288 | 4 | Forwarded: not-needed | ||
289 | 5 | |||
290 | 6 | --- a/tools/pip-requires | ||
291 | 7 | +++ b/tools/pip-requires | ||
292 | 8 | @@ -25,4 +25,4 @@ extras | ||
293 | 9 | wsme>=0.5b1 | ||
294 | 10 | pyyaml | ||
295 | 11 | http://tarballs.openstack.org/oslo-config/oslo.config-1.1.0b1.tar.gz#egg=oslo.config | ||
296 | 12 | -happybase>=0.4 | ||
297 | 13 | +#happybase>=0.4 | ||
298 | 0 | 14 | ||
299 | === added file 'debian/patches/requests-dep.patch' | |||
300 | --- debian/patches/requests-dep.patch 1970-01-01 00:00:00 +0000 | |||
301 | +++ debian/patches/requests-dep.patch 2013-03-11 22:44:20 +0000 | |||
302 | @@ -0,0 +1,15 @@ | |||
303 | 1 | Description: Remove upper bound on requests | ||
304 | 2 | Author: James Page <james.page@ubuntu.com> | ||
305 | 3 | Forwarded: no | ||
306 | 4 | |||
307 | 5 | --- a/tools/pip-requires | ||
308 | 6 | +++ b/tools/pip-requires | ||
309 | 7 | @@ -20,7 +20,7 @@ python-novaclient>=2.6.10 | ||
310 | 8 | http://tarballs.openstack.org/python-keystoneclient/python-keystoneclient-master.tar.gz#egg=python-keystoneclient | ||
311 | 9 | python-swiftclient | ||
312 | 10 | lxml | ||
313 | 11 | -requests<1.0 | ||
314 | 12 | +requests | ||
315 | 13 | extras | ||
316 | 14 | wsme>=0.5b1 | ||
317 | 15 | pyyaml | ||
318 | 0 | 16 | ||
319 | === added file 'debian/patches/series' | |||
320 | --- debian/patches/series 1970-01-01 00:00:00 +0000 | |||
321 | +++ debian/patches/series 2013-03-11 22:44:20 +0000 | |||
322 | @@ -0,0 +1,2 @@ | |||
323 | 1 | remove-hbase-support.patch | ||
324 | 2 | requests-dep.patch | ||
325 | 0 | 3 | ||
326 | === modified file 'debian/rules' | |||
327 | --- debian/rules 2013-01-17 17:45:41 +0000 | |||
328 | +++ debian/rules 2013-03-11 22:44:20 +0000 | |||
329 | @@ -3,6 +3,8 @@ | |||
330 | 3 | # Uncomment this to turn on verbose mode. | 3 | # Uncomment this to turn on verbose mode. |
331 | 4 | #export DH_VERBOSE=1 | 4 | #export DH_VERBOSE=1 |
332 | 5 | 5 | ||
333 | 6 | export HOME="$(CURDIR)/debian/test" | ||
334 | 7 | |||
335 | 6 | %: | 8 | %: |
336 | 7 | dh $@ --with python2 | 9 | dh $@ --with python2 |
337 | 8 | 10 | ||
338 | @@ -11,9 +13,15 @@ | |||
339 | 11 | 13 | ||
340 | 12 | ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) | 14 | ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) |
341 | 13 | override_dh_auto_test: | 15 | override_dh_auto_test: |
343 | 14 | nosetests || true | 16 | mkdir -p ${HOME} |
344 | 17 | PYTHONPATH=$(CURDIR) nosetests || true | ||
345 | 15 | endif | 18 | endif |
346 | 16 | 19 | ||
347 | 17 | override_dh_install: | 20 | override_dh_install: |
348 | 18 | cp etc/ceilometer/ceilometer.conf.sample etc/ceilometer/ceilometer.conf | 21 | cp etc/ceilometer/ceilometer.conf.sample etc/ceilometer/ceilometer.conf |
349 | 19 | dh_install | 22 | dh_install |
350 | 23 | |||
351 | 24 | override_dh_auto_clean: | ||
352 | 25 | rm -f etc/ceilometer/ceilometer.conf | ||
353 | 26 | rm -f ${HOME} | ||
354 | 27 | dh_auto_clean |
Looks good to me