Merge lp:~chipaca/ubuntu-push/packaging into lp:ubuntu-push

Proposed by John Lenton
Status: Merged
Approved by: John Lenton
Approved revision: 50
Merged at revision: 85
Proposed branch: lp:~chipaca/ubuntu-push/packaging
Merge into: lp:ubuntu-push
Diff against target: 221 lines (+151/-0)
13 files modified
.bzr-builddeb/default.conf (+2/-0)
.bzrignore (+9/-0)
debian/changelog (+29/-0)
debian/compat (+1/-0)
debian/config.json (+10/-0)
debian/control (+41/-0)
debian/copyright (+24/-0)
debian/docs (+1/-0)
debian/golang-ubuntu-push-dev.install (+1/-0)
debian/rules (+22/-0)
debian/source/format (+1/-0)
debian/ubuntu-push-client.conf (+6/-0)
debian/ubuntu-push-client.install (+4/-0)
To merge this branch: bzr merge lp:~chipaca/ubuntu-push/packaging
Reviewer Review Type Date Requested Status
Diogo Baeder (community) Approve
Review via email: mp+211922@code.launchpad.net

Commit message

Merging the packaging branch (to get on the CI train).

Description of the change

For the CI train, packaging needs to be in trunk. Merging the packaging branch into trunk, then.

To post a comment you must log in.
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

- 45 +ubuntu-push (0.1-0.5) trusty; urgency=medium
+ 45 +ubuntu-push (0.1-0ubuntu1) trusty; urgency=medium

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

26 === added file 'client.json'

Add this to 'debian/' to make the trunk more generic

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

103 +Maintainer: John Lenton <email address hidden>

put yourself as x-original-maintainer and use the ubuntu developers one as maintainer

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

147 +Files: debian/*
148 +Copyright: 2014 John Lenton <email address hidden>
149 +License: GPL-3.0+

don't really need this as all our work is copyright canonical anyways.

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

217 +3.0 (native)

use 1.0 or 3.0 (quilt)

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

239 === added file 'ubuntu-push-client.go.moved'

I suspect this was a mistake

Revision history for this message
Diogo Baeder (diogobaeder) wrote :

109 +Depends: ${shlibs:Depends}, ${misc:Depends}, network-manager, url-dispatcher, notification-daemon

Doesn't it depend on dbus as well?

lp:~chipaca/ubuntu-push/packaging updated
50. By John Lenton

added dbus to depends

Revision history for this message
Diogo Baeder (diogobaeder) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory '.bzr-builddeb'
2=== added file '.bzr-builddeb/default.conf'
3--- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000
4+++ .bzr-builddeb/default.conf 2014-03-20 13:54:57 +0000
5@@ -0,0 +1,2 @@
6+[BUILDDEB]
7+split = True
8
9=== modified file '.bzrignore'
10--- .bzrignore 2014-01-20 06:23:17 +0000
11+++ .bzrignore 2014-03-20 13:54:57 +0000
12@@ -2,3 +2,12 @@
13 testserver
14 coverhtml
15 coverage.out
16+debian/files
17+obj-*
18+debian/tmp
19+debian/golang-ubuntu-push-dev
20+debian/ubuntu-push-client
21+debian/*.debhelper.log
22+debian/*.ex
23+debian/*.EX
24+debian/*.substvars
25
26=== added directory 'debian'
27=== added file 'debian/changelog'
28--- debian/changelog 1970-01-01 00:00:00 +0000
29+++ debian/changelog 2014-03-20 13:54:57 +0000
30@@ -0,0 +1,29 @@
31+ubuntu-push (0.1-0ubuntu1) trusty; urgency=medium
32+
33+ * Getting ready for CI train.
34+
35+ -- John Lenton <john.lenton@canonical.com> Thu, 20 Mar 2014 12:20:13 +0000
36+
37+ubuntu-push (0.1-0pre4) trusty; urgency=medium
38+
39+ * Pointing it to staging. Building a source package.
40+
41+ -- John Lenton <john.lenton@canonical.com> Fri, 07 Feb 2014 19:35:50 +0000
42+
43+ubuntu-push (0.1-0pre3) trusty; urgency=medium
44+
45+ * first one with a config file and upstart thingie!
46+
47+ -- John Lenton <john.lenton@canonical.com> Fri, 07 Feb 2014 11:29:36 +0000
48+
49+ubuntu-push (0.1-0pre2) trusty; urgency=medium
50+
51+ * A lot closer!
52+
53+ -- John Lenton <jlenton@gmail.com> Thu, 06 Feb 2014 17:31:39 +0000
54+
55+ubuntu-push (0.1-0pre1) trusty; urgency=low
56+
57+ * Initial release
58+
59+ -- John Lenton <john.lenton@canonical.com> Sun, 26 Jan 2014 22:53:09 +0000
60
61=== added file 'debian/compat'
62--- debian/compat 1970-01-01 00:00:00 +0000
63+++ debian/compat 2014-03-20 13:54:57 +0000
64@@ -0,0 +1,1 @@
65+9
66
67=== added file 'debian/config.json'
68--- debian/config.json 1970-01-01 00:00:00 +0000
69+++ debian/config.json 2014-03-20 13:54:57 +0000
70@@ -0,0 +1,10 @@
71+{
72+ "exchange_timeout": "30s",
73+ "addr": "push-delivery.ubuntu.com:443",
74+ "cert_pem_file": "",
75+ "stabilizing_timeout": "2s",
76+ "recheck_timeout": "10m",
77+ "connectivity_check_url": "http://start.ubuntu.com/connectivity-check.html",
78+ "connectivity_check_md5": "4589f42e1546aa47ca181e5d949d310b",
79+ "log_level": "debug"
80+}
81
82=== added file 'debian/control'
83--- debian/control 1970-01-01 00:00:00 +0000
84+++ debian/control 2014-03-20 13:54:57 +0000
85@@ -0,0 +1,41 @@
86+Source: ubuntu-push
87+Section: net
88+Priority: optional
89+X-Original-Maintainer: John Lenton <john.lenton@canonical.com>
90+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
91+Build-Depends: debhelper (>= 9),
92+ dh-golang,
93+ dh-exec (>= 0.3),
94+ golang-go,
95+ libwhoopsie-dev,
96+ libglib2.0-dev (>= 2.31.6),
97+ libgcrypt11-dev,
98+ golang-gocheck-dev,
99+ golang-go-dbus-dev,
100+ golang-go-xdg-dev,
101+ golang-gosqlite-dev,
102+Standards-Version: 3.9.5
103+Homepage: http://launchpad.net/ubuntu-push
104+Vcs-Bzr: lp:ubuntu-push
105+Vcs-Browser: http://bazaar.launchpad.net/~ubuntu-push-hackers/ubuntu-push/trunk/files
106+
107+Package: ubuntu-push-client
108+Architecture: any
109+Depends: ${shlibs:Depends},
110+ ${misc:Depends},
111+ dbus,
112+ network-manager,
113+ url-dispatcher,
114+ notification-daemon,
115+Built-Using: ${misc:Built-Using}
116+Description: Ubuntu Push Notifications client-side daemon
117+ The Ubuntu Push Notifications client-side daemon.
118+
119+Package: golang-ubuntu-push-dev
120+Architecture: all
121+Depends: ${shlibs:Depends}, ${misc:Depends}
122+Built-Using: ${misc:Built-Using}
123+Description: Ubuntu Push Notifications client-side daemon
124+ The Ubuntu Push Notifications client-side daemon library.
125+ .
126+ This package contains the source.
127
128=== added file 'debian/copyright'
129--- debian/copyright 1970-01-01 00:00:00 +0000
130+++ debian/copyright 2014-03-20 13:54:57 +0000
131@@ -0,0 +1,24 @@
132+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
133+Upstream-Name: ubuntu-push-client
134+Source: <url://launchpad.net/ubuntu-push>
135+
136+Files: *
137+Copyright: 2013-2014 Canonical Ltd.
138+License: GPL-3.0+
139+
140+License: GPL-3.0+
141+ This program is free software: you can redistribute it and/or modify
142+ it under the terms of the GNU General Public License as published by
143+ the Free Software Foundation, either version 3 of the License, or
144+ (at your option) any later version.
145+ .
146+ This package is distributed in the hope that it will be useful,
147+ but WITHOUT ANY WARRANTY; without even the implied warranty of
148+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
149+ GNU General Public License for more details.
150+ .
151+ You should have received a copy of the GNU General Public License
152+ along with this program. If not, see <http://www.gnu.org/licenses/>.
153+ .
154+ On Debian systems, the complete text of the GNU General
155+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
156
157=== added file 'debian/docs'
158--- debian/docs 1970-01-01 00:00:00 +0000
159+++ debian/docs 2014-03-20 13:54:57 +0000
160@@ -0,0 +1,1 @@
161+README
162
163=== added file 'debian/golang-ubuntu-push-dev.install'
164--- debian/golang-ubuntu-push-dev.install 1970-01-01 00:00:00 +0000
165+++ debian/golang-ubuntu-push-dev.install 2014-03-20 13:54:57 +0000
166@@ -0,0 +1,1 @@
167+usr/share/gocode
168
169=== added file 'debian/rules'
170--- debian/rules 1970-01-01 00:00:00 +0000
171+++ debian/rules 2014-03-20 13:54:57 +0000
172@@ -0,0 +1,22 @@
173+#!/usr/bin/make -f
174+# -*- makefile -*-
175+
176+export DH_GOPKG := launchpad.net/ubuntu-push
177+export DEB_BUILD_OPTIONS := nostrip
178+export UBUNTU_PUSH_TEST_RESOURCES_ROOT := $(CURDIR)
179+
180+TMP := debian/tmp
181+DIR := debian/ubuntu-push-client
182+BIN := $(DIR)/usr/lib/ubuntu-push-client
183+CFG := $(DIR)/etc/xdg/ubuntu-push-client
184+UPS := $(DIR)/usr/share/upstart/sessions
185+
186+# override_dh_install:
187+# mv -v $(DIR) $(TMP)
188+# mkdir -vp $(BIN) $(CFG) $(UPS)
189+# mv -v $(TMP)/usr/bin/ubuntu-push $(BIN)/ubuntu-push-client
190+# cp -v debian/config.json $(CFG)
191+# cp -v debian/ubuntu-push-client.conf $(UPS)
192+
193+%:
194+ dh $@ --buildsystem=golang --with=golang
195
196=== added directory 'debian/source'
197=== added file 'debian/source/format'
198--- debian/source/format 1970-01-01 00:00:00 +0000
199+++ debian/source/format 2014-03-20 13:54:57 +0000
200@@ -0,0 +1,1 @@
201+3.0 (quilt)
202
203=== added file 'debian/ubuntu-push-client.conf'
204--- debian/ubuntu-push-client.conf 1970-01-01 00:00:00 +0000
205+++ debian/ubuntu-push-client.conf 2014-03-20 13:54:57 +0000
206@@ -0,0 +1,6 @@
207+description "Starts the ubuntu push notifications client side daemon"
208+
209+start on dbus
210+stop on runlevel [06]
211+
212+exec /usr/lib/ubuntu-push-client/ubuntu-push-client
213
214=== added file 'debian/ubuntu-push-client.install'
215--- debian/ubuntu-push-client.install 1970-01-01 00:00:00 +0000
216+++ debian/ubuntu-push-client.install 2014-03-20 13:54:57 +0000
217@@ -0,0 +1,4 @@
218+#!/usr/bin/dh-exec
219+debian/config.json /etc/xdg/ubuntu-push-client
220+debian/ubuntu-push-client.conf /usr/share/upstart/sessions
221+usr/bin/ubuntu-push => /usr/lib/${DEB_HOST_MULTIARCH}/ubuntu-push-client/ubuntu-push-client

Subscribers

People subscribed via source and target branches