Merge lp:~openstack-ubuntu-testing/glance/debian-merge into lp:~openstack-ubuntu-testing/glance/precise-essex-proposed

Proposed by Chuck Short
Status: Needs review
Proposed branch: lp:~openstack-ubuntu-testing/glance/debian-merge
Merge into: lp:~openstack-ubuntu-testing/glance/precise-essex-proposed
Diff against target: 817 lines (+549/-43)
33 files modified
debian/changelog (+21/-0)
debian/control (+7/-3)
debian/copyright (+2/-2)
debian/gbp.conf (+6/-0)
debian/glance-api.glance-api.upstart (+0/-9)
debian/glance-api.init (+90/-0)
debian/glance-api.logrotate (+4/-2)
debian/glance-api.manpages (+1/-0)
debian/glance-api.upstart.in (+9/-0)
debian/glance-common.config (+23/-0)
debian/glance-common.postinst (+2/-0)
debian/glance-common.templates (+29/-0)
debian/glance-registry.config (+20/-0)
debian/glance-registry.glance-registry.upstart (+0/-9)
debian/glance-registry.init (+90/-0)
debian/glance-registry.logrotate (+4/-2)
debian/glance-registry.postinst (+63/-4)
debian/glance-registry.prerm (+3/-7)
debian/glance-registry.templates (+14/-0)
debian/glance-registry.upstart.in (+9/-0)
debian/mans/glance-api.8 (+19/-0)
debian/mans/glance-control.8 (+19/-0)
debian/mans/glance-manage.8 (+19/-0)
debian/mans/glance-registry.8 (+19/-0)
debian/mans/glance-upload.8 (+19/-0)
debian/mans/glance.1 (+19/-0)
debian/patches/default_conf.patch (+20/-0)
debian/patches/series (+1/-0)
debian/po/POTFILES.in (+1/-0)
debian/pycompat (+0/-1)
debian/python-glance-doc.links (+4/-0)
debian/rules (+9/-3)
debian/watch (+3/-1)
To merge this branch: bzr merge lp:~openstack-ubuntu-testing/glance/debian-merge
Reviewer Review Type Date Requested Status
Openstack Ubuntu Testers Pending
Review via email: mp+96172@code.launchpad.net

Description of the change

Debian merges+debconf fixes.

To post a comment you must log in.
Revision history for this message
Adam Gandelman (gandelman-a) wrote :

Chuck-

debian/patches/default_conf.patch: Seems to be a typo in the paste deploy flavor of registry.conf.

Unmerged revisions

126. By Chuck Short

* debian/glance-common.config: Don't ask debconf questions.
  by default.
* debian/glance-registry.conf: Don't ask debconf questions
  by default.

125. By Chuck Short

Add missing patch

124. By Chuck Short

Re-add upstart jobs

123. By Chuck Short

debian/rules: Handle init scripts properly due to the debian/ubuntu
merge.

122. By Chuck Short

Add missing files

121. By Chuck Short

* Merge Ubuntu/Debian changes:
  - debian/control: Update build depends.
  - debian/mans/*: Add man pages.
  - debian/{glance-api,glance-registry}.init: Update
    init scripts.
  - debian/pycompat: Dropped
  - debian/rules: Update clean rules
  - debian/copyright: Update copyright file.
  - Make /var/log/glance and /etc/glance 0750 instead of 0700.
  - Add dbconfig-support

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 2012-03-02 14:27:38 +0000
3+++ debian/changelog 2012-03-06 16:34:38 +0000
4@@ -1,3 +1,24 @@
5+glance (2012.1~e4-0ubuntu2) UNRELEASED; urgency=low
6+
7+ * Merge Ubuntu/Debian changes:
8+ - debian/control: Update build depends.
9+ - debian/mans/*: Add man pages.
10+ - debian/{glance-api,glance-registry}.init: Update
11+ init scripts.
12+ - debian/pycompat: Dropped
13+ - debian/rules: Update clean rules
14+ - debian/copyright: Update copyright file.
15+ - Make /var/log/glance and /etc/glance 0750 instead of 0700.
16+ - Add dbconfig-support
17+ * debian/rules: Handle init scripts properly due to the debian/ubuntu
18+ merge.
19+ * debian/glance-common.config: Don't ask debconf questions.
20+ by default.
21+ * debian/glance-registry.conf: Don't ask debconf questions
22+ by default.
23+
24+ -- Chuck Short <zulcss@ubuntu.com> Tue, 06 Mar 2012 10:01:37 -0500
25+
26 glance (2012.1~e4-0ubuntu1) precise; urgency=low
27
28 * New upstream release.
29
30=== modified file 'debian/control'
31--- debian/control 2012-03-02 14:27:38 +0000
32+++ debian/control 2012-03-06 16:34:38 +0000
33@@ -3,11 +3,12 @@
34 Priority: extra
35 Maintainer: Ubuntu OpenStack <openstack-packaging@lists.ubuntu.com>
36 Build-Depends: debhelper (>= 7.0.50),
37- python-all (>= 2.6),
38- python-all-dev (>= 2.6.6-3~)
39+ python-all (>= 2.6.6-3~),
40+ po-debconf
41 Build-Depends-Indep:
42 python-setuptools,
43 python-sphinx,
44+ python-distutils-extra,
45 python-sqlalchemy-ext | python-sqlalchemy (<< 0.6.3-2),
46 python-nose,
47 python-mox,
48@@ -99,7 +100,10 @@
49 python-migrate,
50 python-routes,
51 python-sqlalchemy-ext | python-sqlalchemy (<< 0.6.3-2),
52- python-xattr,
53+ python-xattr,
54+ adduser,
55+ debconf,
56+ dbconfig-common,
57 adduser
58 Description: OpenStack Image Registry and Delivery Service - Common
59 The Glance project provides an image registration, discovery and
60
61=== modified file 'debian/copyright'
62--- debian/copyright 2011-01-17 10:54:50 +0000
63+++ debian/copyright 2012-03-06 16:34:38 +0000
64@@ -1,5 +1,5 @@
65-Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
66-Name: glance
67+Format: http://dep.debian.net/deps/dep5
68+Upstream-Name: glance
69 Source: https://code.launchpad.net/glance
70
71 Files: *
72
73=== added file 'debian/gbp.conf'
74--- debian/gbp.conf 1970-01-01 00:00:00 +0000
75+++ debian/gbp.conf 2012-03-06 16:34:38 +0000
76@@ -0,0 +1,6 @@
77+[DEFAULT]
78+upstream-branch = master
79+debian-branch = debian/unstable
80+
81+[git-buildpackage]
82+export-dir = ../build-area/
83
84=== removed file 'debian/glance-api.glance-api.upstart'
85--- debian/glance-api.glance-api.upstart 2011-12-15 15:21:06 +0000
86+++ debian/glance-api.glance-api.upstart 1970-01-01 00:00:00 +0000
87@@ -1,9 +0,0 @@
88-description "Glance API server"
89-author "Soren Hansen <soren@linux2go.dk>"
90-
91-start on (local-filesystems and net-device-up IFACE!=lo)
92-stop on runlevel [016]
93-
94-respawn
95-
96-exec su -s /bin/sh -c "exec glance-api" glance
97
98=== added file 'debian/glance-api.init'
99--- debian/glance-api.init 1970-01-01 00:00:00 +0000
100+++ debian/glance-api.init 2012-03-06 16:34:38 +0000
101@@ -0,0 +1,90 @@
102+#!/bin/sh
103+### BEGIN INIT INFO
104+# Provides: glance-api
105+# Required-Start: $network $local_fs $remote_fs $syslog
106+# Required-Stop: $remote_fs
107+# Default-Start: 2 3 4 5
108+# Default-Stop: 0 1 6
109+# Short-Description: Glance API server
110+# Description: Frontend Glance API server
111+### END INIT INFO
112+
113+# Author: Julien Danjou <acid@debian.org>
114+
115+# PATH should only include /usr/* if it runs after the mountnfs.sh script
116+PATH=/sbin:/usr/sbin:/bin:/usr/bin
117+DESC="OpenStack Image Service API"
118+NAME=glance-api
119+DAEMON=/usr/bin/glance-api
120+PIDFILE=/var/run/$NAME.pid
121+SCRIPTNAME=/etc/init.d/$NAME
122+
123+# Exit if the package is not installed
124+[ -x $DAEMON ] || exit 0
125+
126+# Read configuration variable file if it is present
127+[ -r /etc/default/$NAME ] && . /etc/default/$NAME
128+
129+. /lib/lsb/init-functions
130+
131+do_start()
132+{
133+ start-stop-daemon --start --background --quiet --chuid glance:glance --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null \
134+ || return 1
135+ start-stop-daemon --start --background --quiet --chuid glance:glance --make-pidfile --pidfile $PIDFILE --startas $DAEMON \
136+ || return 2
137+}
138+
139+do_stop()
140+{
141+ start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE
142+ RETVAL="$?"
143+ rm -f $PIDFILE
144+ return "$RETVAL"
145+}
146+
147+case "$1" in
148+ start)
149+ log_daemon_msg "Starting $DESC" "$NAME"
150+ do_start
151+ case "$?" in
152+ 0|1) log_end_msg 0 ;;
153+ 2) log_end_msg 1 ;;
154+ esac
155+ ;;
156+ stop)
157+ log_daemon_msg "Stopping $DESC" "$NAME"
158+ do_stop
159+ case "$?" in
160+ 0|1) log_end_msg 0 ;;
161+ 2) log_end_msg 1 ;;
162+ esac
163+ ;;
164+ status)
165+ status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
166+ ;;
167+ restart|force-reload)
168+ log_daemon_msg "Restarting $DESC" "$NAME"
169+ do_stop
170+ case "$?" in
171+ 0|1)
172+ do_start
173+ case "$?" in
174+ 0) log_end_msg 0 ;;
175+ 1) log_end_msg 1 ;; # Old process is still running
176+ *) log_end_msg 1 ;; # Failed to start
177+ esac
178+ ;;
179+ *)
180+ # Failed to stop
181+ log_end_msg 1
182+ ;;
183+ esac
184+ ;;
185+ *)
186+ echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
187+ exit 3
188+ ;;
189+esac
190+
191+:
192
193=== modified file 'debian/glance-api.logrotate'
194--- debian/glance-api.logrotate 2012-01-04 19:09:42 +0000
195+++ debian/glance-api.logrotate 2012-03-06 16:34:38 +0000
196@@ -2,6 +2,8 @@
197 daily
198 missingok
199 compress
200- delaycompress
201- notifempty
202+ missingok
203+ postrotate
204+ invoke-rc.d glance-api restart
205+ endscript
206 }
207
208=== added file 'debian/glance-api.manpages'
209--- debian/glance-api.manpages 1970-01-01 00:00:00 +0000
210+++ debian/glance-api.manpages 2012-03-06 16:34:38 +0000
211@@ -0,0 +1,1 @@
212+debian/mans/glance-api.8
213
214=== added file 'debian/glance-api.upstart.in'
215--- debian/glance-api.upstart.in 1970-01-01 00:00:00 +0000
216+++ debian/glance-api.upstart.in 2012-03-06 16:34:38 +0000
217@@ -0,0 +1,9 @@
218+description "Glance API server"
219+author "Soren Hansen <soren@linux2go.dk>"
220+
221+start on (local-filesystems and net-device-up IFACE!=lo)
222+stop on runlevel [016]
223+
224+respawn
225+
226+exec su -s /bin/sh -c "exec glance-api" glance
227
228=== added file 'debian/glance-common.config'
229--- debian/glance-common.config 1970-01-01 00:00:00 +0000
230+++ debian/glance-common.config 2012-03-06 16:34:38 +0000
231@@ -0,0 +1,23 @@
232+#!/bin/sh
233+
234+set -e
235+
236+. /usr/share/debconf/confmodule
237+
238+db_input low glance/configure_glance || true
239+db_go
240+db_get glance/configure_glance
241+if [ "$RET" = "true" ]; then
242+ db_input high glance/config
243+ db_input high glance/paste-flavor || true
244+ db_go || true
245+ db_get glance/paste-flavor
246+
247+ case "$RET" in
248+ keystone*)
249+ db_input high glance/auth-url || true
250+ db_input high glance/auth-token || true
251+ db_go || true
252+ ;;
253+ esac
254+fi
255
256=== modified file 'debian/glance-common.postinst'
257--- debian/glance-common.postinst 2011-12-16 19:26:31 +0000
258+++ debian/glance-common.postinst 2012-03-06 16:34:38 +0000
259@@ -2,6 +2,8 @@
260
261 set -e
262
263+. /usr/share/debconf/confmodule
264+
265 if [ "$1" = "configure" ]
266 then
267 if ! getent group glance > /dev/null 2>&1
268
269=== added file 'debian/glance-common.templates'
270--- debian/glance-common.templates 1970-01-01 00:00:00 +0000
271+++ debian/glance-common.templates 2012-03-06 16:34:38 +0000
272@@ -0,0 +1,29 @@
273+Template: glance/configure_glance
274+Type: boolean
275+Default: false
276+Description: Do you want to configure glance?
277+ Glance remains unconfigured for interacting with keystone, you might want to
278+ configure glance. If you don't you can safely continue on.
279+ .
280+ Glance configuration can be reconfigured later by running
281+ 'dpkg-reconfigure -plow glance-common'
282+
283+Template: glance/paste-flavor
284+Type: select
285+Choices: keystone, caching, keystone+caching, cachemanagement, keystone+cachemanagement
286+Default: caching
287+_Description: Pipeline flavor:
288+ If you use the OpenStack Identity Service (Keystone), you might want to
289+ select keystone. If you don't use this service, you can safely choose
290+ caching only.
291+
292+Template: glance/auth-url
293+Type: string
294+Default: http://localhost:5000
295+_Description: Auth server URL:
296+ Type the URL of your auth server. This is typically the URL of your
297+ OpenStack Identity Service (Keystone).
298+
299+Template: glance/auth-token
300+Type: string
301+_Description: Auth server admin token:
302
303=== added file 'debian/glance-registry.config'
304--- debian/glance-registry.config 1970-01-01 00:00:00 +0000
305+++ debian/glance-registry.config 2012-03-06 16:34:38 +0000
306@@ -0,0 +1,20 @@
307+#!/bin/sh
308+set -e
309+
310+. /usr/share/debconf/confmodule
311+
312+db_input low glance/configure_db || true
313+db_go
314+db_get glance/configure_db
315+if [ "$RET" = "true" ]; then
316+ if [ -f /usr/share/dbconfig-common/dpkg/config ];
317+ then
318+ dbc_dbtypes="sqlite3, mysql, pgsql"
319+ dbc_authmethod_user="password"
320+ dbc_basepath="/var/lib/glance"
321+ dbc_dbname="glance"
322+ dbc_dbfile_owner="glance:glance"
323+ . /usr/share/dbconfig-common/dpkg/config
324+ dbc_go glance-registry $@
325+ fi
326+fi
327
328=== removed file 'debian/glance-registry.glance-registry.upstart'
329--- debian/glance-registry.glance-registry.upstart 2011-12-15 15:21:06 +0000
330+++ debian/glance-registry.glance-registry.upstart 1970-01-01 00:00:00 +0000
331@@ -1,9 +0,0 @@
332-description "Glance registry server"
333-author "Soren Hansen <soren@linux2go.dk>"
334-
335-start on (local-filesystems and net-device-up IFACE!=lo)
336-stop on runlevel [016]
337-
338-respawn
339-
340-exec su -s /bin/sh -c "exec glance-registry" glance
341
342=== added file 'debian/glance-registry.init'
343--- debian/glance-registry.init 1970-01-01 00:00:00 +0000
344+++ debian/glance-registry.init 2012-03-06 16:34:38 +0000
345@@ -0,0 +1,90 @@
346+#!/bin/sh
347+### BEGIN INIT INFO
348+# Provides: glance-registry
349+# Required-Start: $network $local_fs $remote_fs $syslog
350+# Required-Stop: $remote_fs
351+# Default-Start: 2 3 4 5
352+# Default-Stop: 0 1 6
353+# Short-Description: Glance registry server
354+# Description: Frontend Glance registry server
355+### END INIT INFO
356+
357+# Author: Julien Danjou <acid@debian.org>
358+
359+# PATH should only include /usr/* if it runs after the mountnfs.sh script
360+PATH=/sbin:/usr/sbin:/bin:/usr/bin
361+DESC="OpenStack Image Service Registry"
362+NAME=glance-registry
363+DAEMON=/usr/bin/glance-registry
364+PIDFILE=/var/run/$NAME.pid
365+SCRIPTNAME=/etc/init.d/$NAME
366+
367+# Exit if the package is not installed
368+[ -x $DAEMON ] || exit 0
369+
370+# Read configuration variable file if it is present
371+[ -r /etc/default/$NAME ] && . /etc/default/$NAME
372+
373+. /lib/lsb/init-functions
374+
375+do_start()
376+{
377+ start-stop-daemon --start --background --quiet --chuid glance:glance --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null \
378+ || return 1
379+ start-stop-daemon --start --background --quiet --chuid glance:glance --make-pidfile --pidfile $PIDFILE --startas $DAEMON \
380+ || return 2
381+}
382+
383+do_stop()
384+{
385+ start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE
386+ RETVAL="$?"
387+ rm -f $PIDFILE
388+ return "$RETVAL"
389+}
390+
391+case "$1" in
392+ start)
393+ log_daemon_msg "Starting $DESC" "$NAME"
394+ do_start
395+ case "$?" in
396+ 0|1) log_end_msg 0 ;;
397+ 2) log_end_msg 1 ;;
398+ esac
399+ ;;
400+ stop)
401+ log_daemon_msg "Stopping $DESC" "$NAME"
402+ do_stop
403+ case "$?" in
404+ 0|1) log_end_msg 0 ;;
405+ 2) log_end_msg 1 ;;
406+ esac
407+ ;;
408+ status)
409+ status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
410+ ;;
411+ restart|force-reload)
412+ log_daemon_msg "Restarting $DESC" "$NAME"
413+ do_stop
414+ case "$?" in
415+ 0|1)
416+ do_start
417+ case "$?" in
418+ 0) log_end_msg 0 ;;
419+ 1) log_end_msg 1 ;; # Old process is still running
420+ *) log_end_msg 1 ;; # Failed to start
421+ esac
422+ ;;
423+ *)
424+ # Failed to stop
425+ log_end_msg 1
426+ ;;
427+ esac
428+ ;;
429+ *)
430+ echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
431+ exit 3
432+ ;;
433+esac
434+
435+:
436
437=== modified file 'debian/glance-registry.logrotate'
438--- debian/glance-registry.logrotate 2012-01-04 19:09:42 +0000
439+++ debian/glance-registry.logrotate 2012-03-06 16:34:38 +0000
440@@ -2,6 +2,8 @@
441 daily
442 missingok
443 compress
444- delaycompress
445- notifempty
446+ missingok
447+ postrotate
448+ invoke-rc.d glance-registry restart
449+ endscript
450 }
451
452=== modified file 'debian/glance-registry.postinst'
453--- debian/glance-registry.postinst 2012-01-04 19:37:37 +0000
454+++ debian/glance-registry.postinst 2012-03-06 16:34:38 +0000
455@@ -4,11 +4,70 @@
456
457 if [ "$1" = "configure" ]
458 then
459- if ! grep sql_connection /etc/glance/glance-registry.conf | grep -qv "sql_connection = sqlite:////var/lib/glance/glance.sqlite"
460- then
461- su -s /bin/sh -c 'glance-manage db_sync' glance
462+ . /usr/share/debconf/confmodule
463+ . /usr/share/dbconfig-common/dpkg/postinst
464+
465+
466+ db_get glance/configure_glance
467+ if [ "$RET" = "true" ]; then
468+ db_get glance/paste-flavor || true
469+ FLAVOR="$RET"
470+
471+ sed -i "s,^flavor\s*=.*$,flavor = $FLAVOR," /etc/glance/glance-registry.conf
472+
473+ case $FLAVOR in
474+ keystone*)
475+ FLAVOR=keystone
476+ db_get glance/auth-url
477+ sed -i "s,^auth_uri\s*=\s*.\+$,auth_uri = $RET," /etc/glance/glance-registry-paste.ini
478+ db_get glance/auth-token
479+ sed -i "s/^admin_token\s*=\s*.\+$/admin_token = $RET/" /etc/glance/glance-registry-paste.ini
480+ ;;
481+ *)
482+ FLAVOR=
483+ ;;
484+ esac
485 fi
486+
487+ db_get glance/configure_db
488+ if [ "$RET" = "true" ]; then
489+ dbc_dbfile_owner="glance:glance"
490+ dbc_go glance-registry $@
491+
492+ if [ "$dbc_install" = "true" ]
493+ then
494+ case "$dbc_dbtype" in
495+ mysql)
496+ [ -n "$dbc_dbport" ] && dbport=:$dbc_dbport
497+ SQL_CONNECTION="mysql://$dbc_dbuser:$dbc_dbpass@${dbc_dbserver:-localhost}$dbport/$dbc_dbname"
498+ ;;
499+ pgsql)
500+ [ -n "$dbc_dbport" ] && dbport=:$dbc_dbport
501+ SQL_CONNECTION="pgsql://$dbc_dbuser:$dbc_dbpass@${dbc_dbserver:-localhost}$dbport/$dbc_dbname"
502+ ;;
503+ *)
504+ SQL_CONNECTION="sqlite:////$dbc_basepath/$dbc_dbname.db"
505+ ;;
506+ esac
507+
508+ sed -e "s,^sql_connection\s*=\s*.\+$,sql_connection = $SQL_CONNECTION," -i /etc/glance/glance-registry.conf
509+
510+ if [ "$dbc_upgrade" = "true" ]
511+ then
512+ glance-manage db_sync || true
513+ fi
514+ fi
515+ else
516+ if ! grep sql_connection /etc/glance/glance-registry.conf | grep -qv "sql_connection = sqlite:////var/lib/glance/glance.sqlite"
517+ then
518+ su -s /bin/sh -c 'glance-manage db_sync' glance
519+ fi
520+ fi
521 fi
522
523+chown glance:glance -R /var/lib/glance/ /var/log/glance/ /etc/glance/
524+chmod 0750 /etc/glance/
525+chmod 0750 /var/log/glance/
526+
527+
528 #DEBHELPER#
529-
530
531=== modified file 'debian/glance-registry.prerm'
532--- debian/glance-registry.prerm 2011-12-16 18:47:42 +0000
533+++ debian/glance-registry.prerm 2012-03-06 16:34:38 +0000
534@@ -2,12 +2,8 @@
535
536 set -e
537
538-case $1 in
539- remove|purge)
540- if [ -x /etc/init.d/glance-registry ]; then
541- invoke-rc.d glance-registry stop || true
542- fi
543- ;;
544-esac
545+. /usr/share/debconf/confmodule
546+. /usr/share/dbconfig-common/dpkg/prerm
547+dbc_go glance-registry $@
548
549 #DEBHELPER#
550
551=== added file 'debian/glance-registry.templates'
552--- debian/glance-registry.templates 1970-01-01 00:00:00 +0000
553+++ debian/glance-registry.templates 2012-03-06 16:34:38 +0000
554@@ -0,0 +1,14 @@
555+Template: glance/configure_db
556+Type: boolean
557+Default: false
558+Description: Se up a database for glance?
559+ By default glance uses sqlite3 as a database backend. If you
560+ want to choose a different default you should have:
561+ .
562+ - the server hostname (that server must allow TCP connections
563+ from this machine);
564+ - a username and password to access the database.
565+ - a database type that you want to use.
566+ .
567+ Database configure can be configured later by running
568+ 'dpkg-reconfigure -plow glance-registry'.
569
570=== added file 'debian/glance-registry.upstart.in'
571--- debian/glance-registry.upstart.in 1970-01-01 00:00:00 +0000
572+++ debian/glance-registry.upstart.in 2012-03-06 16:34:38 +0000
573@@ -0,0 +1,9 @@
574+description "Glance registry server"
575+author "Soren Hansen <soren@linux2go.dk>"
576+
577+start on (local-filesystems and net-device-up IFACE!=lo)
578+stop on runlevel [016]
579+
580+respawn
581+
582+exec su -s /bin/sh -c "exec glance-registry" glance
583
584=== added directory 'debian/mans'
585=== added file 'debian/mans/glance-api.8'
586--- debian/mans/glance-api.8 1970-01-01 00:00:00 +0000
587+++ debian/mans/glance-api.8 2012-03-06 16:34:38 +0000
588@@ -0,0 +1,19 @@
589+.TH glance-api 8
590+.SH NAME
591+glance\-api \- A multinode storage system
592+
593+.SH SYNOPSIS
594+.B galnce\-api
595+
596+.SH DESCRIPTION
597+.B glance\-api
598+
599+This man page is a stub. Please contribute.
600+
601+.SH PARAMETERS
602+
603+.LP
604+.B params
605+.IP
606+
607+Please contribute
608
609=== added file 'debian/mans/glance-control.8'
610--- debian/mans/glance-control.8 1970-01-01 00:00:00 +0000
611+++ debian/mans/glance-control.8 2012-03-06 16:34:38 +0000
612@@ -0,0 +1,19 @@
613+.TH glance-control 8
614+.SH NAME
615+glance\-control \- A multinode storage system
616+
617+.SH SYNOPSIS
618+.B galnce\-control
619+
620+.SH DESCRIPTION
621+.B glance\-control
622+
623+This man page is a stub. Please contribute.
624+
625+.SH PARAMETERS
626+
627+.LP
628+.B params
629+.IP
630+
631+Please contribute
632
633=== added file 'debian/mans/glance-manage.8'
634--- debian/mans/glance-manage.8 1970-01-01 00:00:00 +0000
635+++ debian/mans/glance-manage.8 2012-03-06 16:34:38 +0000
636@@ -0,0 +1,19 @@
637+.TH glance-manage 8
638+.SH NAME
639+glance\-manage \- A multinode storage system
640+
641+.SH SYNOPSIS
642+.B galnce\-manage
643+
644+.SH DESCRIPTION
645+.B glance\-manage
646+
647+This man page is a stub. Please contribute.
648+
649+.SH PARAMETERS
650+
651+.LP
652+.B params
653+.IP
654+
655+Please contribute
656
657=== added file 'debian/mans/glance-registry.8'
658--- debian/mans/glance-registry.8 1970-01-01 00:00:00 +0000
659+++ debian/mans/glance-registry.8 2012-03-06 16:34:38 +0000
660@@ -0,0 +1,19 @@
661+.TH glance-registry 8
662+.SH NAME
663+glance\-registry \- A multinode storage system
664+
665+.SH SYNOPSIS
666+.B galnce\-registry
667+
668+.SH DESCRIPTION
669+.B glance\-registry
670+
671+This man page is a stub. Please contribute.
672+
673+.SH PARAMETERS
674+
675+.LP
676+.B params
677+.IP
678+
679+Please contribute
680
681=== added file 'debian/mans/glance-upload.8'
682--- debian/mans/glance-upload.8 1970-01-01 00:00:00 +0000
683+++ debian/mans/glance-upload.8 2012-03-06 16:34:38 +0000
684@@ -0,0 +1,19 @@
685+.TH glance-upload 8
686+.SH NAME
687+glance\-upload \- A multinode storage system
688+
689+.SH SYNOPSIS
690+.B galnce\-upload
691+
692+.SH DESCRIPTION
693+.B glance\-upload
694+
695+This man page is a stub. Please contribute.
696+
697+.SH PARAMETERS
698+
699+.LP
700+.B params
701+.IP
702+
703+Please contribute
704
705=== added file 'debian/mans/glance.1'
706--- debian/mans/glance.1 1970-01-01 00:00:00 +0000
707+++ debian/mans/glance.1 2012-03-06 16:34:38 +0000
708@@ -0,0 +1,19 @@
709+.TH glance 1
710+.SH NAME
711+glance \- A multinode storage system
712+
713+.SH SYNOPSIS
714+.B galnce
715+
716+.SH DESCRIPTION
717+.B glance
718+
719+This man page is a stub. Please contribute.
720+
721+.SH PARAMETERS
722+
723+.LP
724+.B params
725+.IP
726+
727+Please contribute
728
729=== added file 'debian/patches/default_conf.patch'
730--- debian/patches/default_conf.patch 1970-01-01 00:00:00 +0000
731+++ debian/patches/default_conf.patch 2012-03-06 16:34:38 +0000
732@@ -0,0 +1,20 @@
733+--- a/etc/glance-api.conf
734++++ b/etc/glance-api.conf
735+@@ -232,3 +232,6 @@
736+
737+ # Base directory that the Image Cache uses
738+ image_cache_dir = /var/lib/glance/image-cache/
739++
740++[paste_deploy]
741++flavor = caching
742+\ No newline at end of file
743+--- a/etc/glance-registry.conf
744++++ b/etc/glance-registry.conf
745+@@ -56,3 +56,6 @@
746+
747+ # Private key file to use when starting registry server securely
748+ # key_file = /path/to/keyfile
749++
750++[paste_deploy]
751++flavor = cachinge
752+\ No newline at end of file
753
754=== modified file 'debian/patches/series'
755--- debian/patches/series 2012-02-11 02:31:21 +0000
756+++ debian/patches/series 2012-03-06 16:34:38 +0000
757@@ -1,1 +1,2 @@
758+default_conf.patch
759 sql_conn.patch
760
761=== added directory 'debian/po'
762=== added file 'debian/po/POTFILES.in'
763--- debian/po/POTFILES.in 1970-01-01 00:00:00 +0000
764+++ debian/po/POTFILES.in 2012-03-06 16:34:38 +0000
765@@ -0,0 +1,1 @@
766+[type: gettext/rfc822deb] glance-common.templates
767
768=== removed file 'debian/pycompat'
769--- debian/pycompat 2011-01-17 10:54:50 +0000
770+++ debian/pycompat 1970-01-01 00:00:00 +0000
771@@ -1,1 +0,0 @@
772-2
773
774=== modified file 'debian/python-glance-doc.links'
775--- debian/python-glance-doc.links 2011-01-17 11:35:10 +0000
776+++ debian/python-glance-doc.links 2012-03-06 16:34:38 +0000
777@@ -1,3 +1,7 @@
778 # Overwrite jquery.js from upstream tarball with a link to jquery.js
779 # provided by jQuery Debian package
780 /usr/share/javascript/jquery/jquery.js usr/share/doc/python-glance-doc/html/_static/jquery.js
781+
782+# Overwrite underscore.js from upstream tarball with a link to underscore.min.js
783+# provided by underscore Debian package
784+/usr/share/javascript/underscore/underscore.min.js usr/share/doc/python-glance-doc/html/_static/underscore.js
785
786=== modified file 'debian/rules'
787--- debian/rules 2011-09-19 17:04:18 +0000
788+++ debian/rules 2012-03-06 16:34:38 +0000
789@@ -30,9 +30,15 @@
790
791 override_dh_auto_clean:
792 dh_auto_clean
793- rm -rf doc/build
794+ debconf-updatepo
795+ rm -rf build doc/build glance.egg-info po/glance.pot glance/vcsversion.py
796 rm -rf glance.sqlite
797
798 override_dh_installinit:
799- dh_installinit --name glance-api
800- dh_installinit --name glance-registry
801+ if dpkg-vendor --derives-from ubuntu ; then \
802+ for i in debian/*.upstart.in ; do \
803+ MYPKG=`echo $$i | cut -d. -f1` ; \
804+ cp $$MYPKG.upstart.in $$MYPKG.upstart ; \
805+ done; \
806+ fi
807+ dh_installinit --error-handler=true
808
809=== modified file 'debian/watch'
810--- debian/watch 2012-03-02 14:27:38 +0000
811+++ debian/watch 2012-03-06 16:34:38 +0000
812@@ -1,2 +1,4 @@
813 version=3
814-https://launchpad.net/glance/+download http://launchpad.net/glance/.*/glance-(.*)\.tar\.gz
815+http://launchpad.net/glance/+download http://launchpad.net/glance/.*/glance-(.*)\.tar\.gz
816+http://glance.openstack.org/tarballs/ glance-(.*).tar.gz
817+

Subscribers

People subscribed via source and target branches

to all changes: