Merge lp:~james-page/ceilometer/grizzly-tidyup into lp:~openstack-ubuntu-testing/ceilometer/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
Reviewer Review Type Date Requested Status
Yolanda Robla (community) Approve
Review via email: mp+152793@code.launchpad.net

Description of the change

General tidy of package in preparation for Grizzly rc1

To post a comment you must log in.
Revision history for this message
Yolanda Robla (yolanda.robla) wrote :

Looks good to me

review: Approve

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-11 15:40:24 +0000
+++ debian/changelog 2013-03-11 22:44:20 +0000
@@ -4,34 +4,39 @@
4 * New upstream release. 4 * New upstream release.
5 * debian/watch: point to the right releases.5 * debian/watch: point to the right releases.
6 * debian/rules: Enable testsuite.6 * debian/rules: Enable testsuite.
7 * debian/control: Update dependencies.
8 * debian/patches/remove-unwanted-dependencies.patch: Remove mongodb dependencies.
9 * debian/ceilometer-agent-compute.postinst: Add smarts to 7 * debian/ceilometer-agent-compute.postinst: Add smarts to
10 configure users after install.8 configure users after install.
11 * debian/ceilometer-common.postinst: Configure ceilometer db.9 * debian/ceilometer-common.postinst: Configure ceilometer db.
12 * debian/ceilometer-common.install: Install configuration files.10 * debian/ceilometer-common.install: Install configuration files.
13 * debian/*.usptart: Update and use start-stop-daemon.11 * debian/*.upstart: Update and use start-stop-daemon.
14 * debian/patches/exclude-tests-when-isntall.patch: Exclude tests so it
15 doesnt conflict with python-boto (LP: #1102110)
1612
17 [ James Page ]13 [ James Page ]
18 * Added watch file.14 * Added watch file.
15 * d/rules: Fixup test suite execution as much as possible:
16 - Set PYTHONPATH to CURDIR during execution.
17 - Provide HOME directory for keystone tests.
18 - Override clean to tidy up after execution.
19 * d/control: Tidied BD's:
20 - Drop python-ming (not the right ming).
21 - python-oslo-config -> python-oslo.config.
22 - Dropped misc other surplus/duplicate dependencies.
23 - Wrapped and sorted.
24 * d/p/request-dep.patch: Remove upper bound on python-requests inline with
25 the rest of OpenStack.
26 * d/p/remove-hbase-support.patch: Remove happybase dependency.
27 * d/control: Bumped Standards-Version, no changes.
1928
20 [ Yolanda Robla ]29 [ Yolanda Robla ]
21 * d/patches: removed unused patches30 * d/rules: Copy ceilometer.conf.sample to ceilometer.conf.
22 * d/rules: copying ceilometer.conf.sample to ceilometer.conf31 * d/ceilometer-common.install: Install ceilometer.conf and ceilometer-dbsync.
23 * d/ceilometer-common.install: fix copying ceilometer.conf, copy ceilometer-dbsync32 * d/ceilometer-common.postinst: Configure mongo connection by default,
24 * d/ceilometer-common.postinst: configuring mongo connection by default,33 fixing user/group creation.
25 * fixing user/group creation34 * d/*.upstart: Fix upstart jobs.
26 * d/control: updated dependencies35 * d/pydist-overrides: Correct pymongo and wsme package names.
27 * d/*.upstart: fixed upstart jobs36 * d/control: moved mongodb recommends to api and collector
28 * d/pydist-overrides: correcting pymongo and wsme package names37 packages (LP: #1131627).
29 * d/control: moved mongo recommends to api and collector38 * d/files: copying pipeline.yaml.
30 packages (LP: #1131627)39 * d/control: fixed typo (LP: #1140309).
31 * d/control: refreshed dependencies
32 * d/files: copying pipeline.yaml
33 * d/control: fixed typo (LP: #1140309)
34 * debian/patches/exclude-tests-when-installing.patch: removed, not needed
3540
36 -- Yolanda Robla <yolanda.robla@canonical.com> Mon, 11 Mar 2013 14:23:00 +010041 -- Yolanda Robla <yolanda.robla@canonical.com> Mon, 11 Mar 2013 14:23:00 +0100
3742
3843
=== modified file 'debian/control'
--- debian/control 2013-03-04 14:20:41 +0000
+++ debian/control 2013-03-11 22:44:20 +0000
@@ -2,64 +2,55 @@
2Section: python2Section: python
3Priority: optional3Priority: optional
4Maintainer: Chuck Short <zulcss@ubuntu.com>4Maintainer: Chuck Short <zulcss@ubuntu.com>
5Build-Depends: debhelper (>= 8.0.0),5Build-Depends:
6 debhelper (>= 8.0.0),
6 python-all (>= 2.6),7 python-all (>= 2.6),
7 python-all-dev (>= 2.6.6-3~)
8Build-Depends-Indep:
9 python-nose,8 python-nose,
10 python-unittest2,9 python-anyjson (>= 0.2.4),
10 python-argparse,
11 python-babel (>= 0.9.6),
11 python-coverage,12 python-coverage,
12 python-mock,
13 python-mox,
14 python-babel (>= 0.9.6),
15 python-ming,
16 python-nova,
17 python-glance,
18 python-swift,
19 python-setuptools-git (>= 0.4),
20 python-netifaces,
21 python-sphinx,
22 python-docutils,13 python-docutils,
23 python-oslo-config,14 python-eventlet,
24 python-yaml,15 python-extras,
25 python-flask (>= 0.9)16 python-flask (>= 0.9),
26Depends:17 python-glanceclient,
27 python-webob (>= 1.2),18 python-iso8601,
19 python-keystoneclient (<< 1:0.3),
28 python-kombu,20 python-kombu,
29 python-iso8601,
30 python-lockfile,21 python-lockfile,
22 python-lxml,
23 python-migrate,
24 python-mock,
25 python-mox,
31 python-netaddr,26 python-netaddr,
32 python-argparse,27 python-netifaces,
33 python-sqlalchemy (<= 0.7.9),28 python-novaclient (>= 2.6.10),
34 python-migrate,29 python-oslo.config,
30 python-pecan (>= 0.2.0),
35 python-pymongo (>= 2.2),31 python-pymongo (>= 2.2),
36 python-eventlet,32 python-requests,
37 python-anyjson (>= 0.2.4),33 python-setuptools-git (>= 0.4),
38 python-flask (>= 0.9),34 python-sphinx,
39 python-pecan (>= 0.2.0),35 python-sqlalchemy,
40 python-stevedore (>= 0.6),36 python-stevedore (>= 0.6),
41 python-glanceclient,37 python-swift,
42 python-novaclient (>= 2.6.10),
43 python-keystoneclient (<< 0.3),
44 python-swiftclient,38 python-swiftclient,
45 python-lxml,39 python-unittest2,
46 python-requests,40 python-webob (>= 1.2),
47 python-extras,
48 python-wsme (>= 0.5b1),41 python-wsme (>= 0.5b1),
49 python-pyyaml,42 python-yaml
50 python-oslo-config43Standards-Version: 3.9.4
51Standards-Version: 3.9.3
5244
53Package: python-ceilometer45Package: python-ceilometer
54Architecture: all46Architecture: all
55Depends: ${python:Depends},47Depends: ${misc:Depends}, ${python:Depends}
56 ${misc:Depends}
57Description: ceilometer python libraries48Description: ceilometer python libraries
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
59 aquire all counters they need to establish customer billing, accross all 50 aquire all counters they need to establish customer billing, accross all
60 current and future OpenStack components. The delivery of counters must 51 current and future OpenStack components. The delivery of counters must
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
62 new projects, and agents doing data collections should be 53 new projects, and agents doing data collections should be
63 independent of the overall system.54 independent of the overall system.
64 .55 .
65 (A ceilometer is an instrument that measures cloud coverage.)56 (A ceilometer is an instrument that measures cloud coverage.)
@@ -69,14 +60,18 @@
6960
70Package: ceilometer-common61Package: ceilometer-common
71Architecture: all62Architecture: all
72Depends: python-ceilometer (= ${binary:Version}), ${python:Depends}, ${misc:Depends}, adduser63Depends:
64 adduser,
65 python-ceilometer (= ${binary:Version}),
66 ${misc:Depends},
67 ${python:Depends}
73Provides: ${python:Provides}68Provides: ${python:Provides}
74Description: ceilometer common files69Description: ceilometer common files
75 Ceilometer aims to deliver a unique point of contact for billing systems to70 Ceilometer aims to deliver a unique point of contact for billing systems to
76 aquire all counters they need to establish customer billing, accross all 71 aquire all counters they need to establish customer billing, accross all
77 current and future OpenStack components. The delivery of counters must 72 current and future OpenStack components. The delivery of counters must
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
79 new projects, and agents doing data collections should be 74 new projects, and agents doing data collections should be
80 independent of the overall system.75 independent of the overall system.
81 .76 .
82 (A ceilometer is an instrument that measures cloud coverage.)77 (A ceilometer is an instrument that measures cloud coverage.)
@@ -85,14 +80,17 @@
8580
86Package: ceilometer-collector81Package: ceilometer-collector
87Architecture: all82Architecture: all
88Depends: ceilometer-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends}83Depends:
84 ceilometer-common (= ${binary:Version}),
85 ${misc:Depends},
86 ${python:Depends}
89Recommends: mongodb87Recommends: mongodb
90Description: ceilometer collector service88Description: ceilometer collector service
91 Ceilometer aims to deliver a unique point of contact for billing systems to89 Ceilometer aims to deliver a unique point of contact for billing systems to
92 aquire all counters they need to establish customer billing, accross all 90 aquire all counters they need to establish customer billing, accross all
93 current and future OpenStack components. The delivery of counters must 91 current and future OpenStack components. The delivery of counters must
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
95 new projects, and agents doing data collections should be 93 new projects, and agents doing data collections should be
96 independent of the overall system.94 independent of the overall system.
97 .95 .
98 (A ceilometer is an instrument that measures cloud coverage.)96 (A ceilometer is an instrument that measures cloud coverage.)
@@ -101,27 +99,33 @@
10199
102Package: ceilometer-api100Package: ceilometer-api
103Architecture: all101Architecture: all
104Depends: ceilometer-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends}102Depends:
103 ceilometer-common (= ${binary:Version}),
104 ${misc:Depends},
105 ${python:Depends}
105Recommends: mongodb106Recommends: mongodb
106Description: ceilometer api service107Description: ceilometer api service
107 Ceilometer aims to deliver a unique point of contact for billing systems to108 Ceilometer aims to deliver a unique point of contact for billing systems to
108 aquire all counters they need to establish customer billing, accross all 109 aquire all counters they need to establish customer billing, accross all
109 current and future OpenStack components. The delivery of counters must 110 current and future OpenStack components. The delivery of counters must
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
111 new projects, and agents doing data collections should be 112 new projects, and agents doing data collections should be
112 independent of the overall system.113 independent of the overall system.
113 .114 .
114 This package contains the api service115 This package contains the api service
115116
116Package: ceilometer-agent-compute117Package: ceilometer-agent-compute
117Architecture: all118Architecture: all
118Depends: ceilometer-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends}119Depends:
120 ceilometer-common (= ${binary:Version}),
121 ${misc:Depends},
122 ${python:Depends}
119Description: ceilometer compute agent123Description: ceilometer compute agent
120 Ceilometer aims to deliver a unique point of contact for billing systems to124 Ceilometer aims to deliver a unique point of contact for billing systems to
121 aquire all counters they need to establish customer billing, accross all 125 aquire all counters they need to establish customer billing, accross all
122 current and future OpenStack components. The delivery of counters must 126 current and future OpenStack components. The delivery of counters must
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
124 new projects, and agents doing data collections should be 128 new projects, and agents doing data collections should be
125 independent of the overall system.129 independent of the overall system.
126 .130 .
127 (A ceilometer is an instrument that measures cloud coverage.)131 (A ceilometer is an instrument that measures cloud coverage.)
@@ -130,13 +134,16 @@
130134
131Package: ceilometer-agent-central135Package: ceilometer-agent-central
132Architecture: all136Architecture: all
133Depends: ceilometer-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends}137Depends:
138 ceilometer-common (= ${binary:Version}),
139 ${misc:Depends},
140 ${python:Depends}
134Description: ceilometer central agent141Description: ceilometer central agent
135 Ceilometer aims to deliver a unique point of contact for billing systems to142 Ceilometer aims to deliver a unique point of contact for billing systems to
136 aquire all counters they need to establish customer billing, accross all 143 aquire all counters they need to establish customer billing, accross all
137 current and future OpenStack components. The delivery of counters must 144 current and future OpenStack components. The delivery of counters must
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
139 new projects, and agents doing data collections should be 146 new projects, and agents doing data collections should be
140 independent of the overall system.147 independent of the overall system.
141 .148 .
142 (A ceilometer is an instrument that measures cloud coverage.)149 (A ceilometer is an instrument that measures cloud coverage.)
143150
=== added directory 'debian/patches'
=== added file 'debian/patches/remove-hbase-support.patch'
--- debian/patches/remove-hbase-support.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/remove-hbase-support.patch 2013-03-11 22:44:20 +0000
@@ -0,0 +1,13 @@
1Description: Drop unpackaged happybase from dependencies
2 This avoids breaking stevedore extensions via endpoints.
3Author: James Page <james.page@ubuntu.com>
4Forwarded: not-needed
5
6--- a/tools/pip-requires
7+++ b/tools/pip-requires
8@@ -25,4 +25,4 @@ extras
9 wsme>=0.5b1
10 pyyaml
11 http://tarballs.openstack.org/oslo-config/oslo.config-1.1.0b1.tar.gz#egg=oslo.config
12-happybase>=0.4
13+#happybase>=0.4
014
=== added file 'debian/patches/requests-dep.patch'
--- debian/patches/requests-dep.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/requests-dep.patch 2013-03-11 22:44:20 +0000
@@ -0,0 +1,15 @@
1Description: Remove upper bound on requests
2Author: James Page <james.page@ubuntu.com>
3Forwarded: no
4
5--- a/tools/pip-requires
6+++ b/tools/pip-requires
7@@ -20,7 +20,7 @@ python-novaclient>=2.6.10
8 http://tarballs.openstack.org/python-keystoneclient/python-keystoneclient-master.tar.gz#egg=python-keystoneclient
9 python-swiftclient
10 lxml
11-requests<1.0
12+requests
13 extras
14 wsme>=0.5b1
15 pyyaml
016
=== added file 'debian/patches/series'
--- debian/patches/series 1970-01-01 00:00:00 +0000
+++ debian/patches/series 2013-03-11 22:44:20 +0000
@@ -0,0 +1,2 @@
1remove-hbase-support.patch
2requests-dep.patch
03
=== modified file 'debian/rules'
--- debian/rules 2013-01-17 17:45:41 +0000
+++ debian/rules 2013-03-11 22:44:20 +0000
@@ -3,6 +3,8 @@
3# Uncomment this to turn on verbose mode.3# Uncomment this to turn on verbose mode.
4#export DH_VERBOSE=14#export DH_VERBOSE=1
55
6export HOME="$(CURDIR)/debian/test"
7
6%:8%:
7 dh $@ --with python29 dh $@ --with python2
810
@@ -11,9 +13,15 @@
1113
12ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))14ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
13override_dh_auto_test:15override_dh_auto_test:
14 nosetests || true16 mkdir -p ${HOME}
17 PYTHONPATH=$(CURDIR) nosetests || true
15endif18endif
1619
17override_dh_install:20override_dh_install:
18 cp etc/ceilometer/ceilometer.conf.sample etc/ceilometer/ceilometer.conf21 cp etc/ceilometer/ceilometer.conf.sample etc/ceilometer/ceilometer.conf
19 dh_install22 dh_install
23
24override_dh_auto_clean:
25 rm -f etc/ceilometer/ceilometer.conf
26 rm -f ${HOME}
27 dh_auto_clean

Subscribers

People subscribed via source and target branches