Merge lp:~gandelman-a/ubuntu/raring/python-novaclient/lp1172420 into lp:~openstack-ubuntu-testing/python-novaclient/grizzly

Proposed by Adam Gandelman
Status: Superseded
Proposed branch: lp:~gandelman-a/ubuntu/raring/python-novaclient/lp1172420
Merge into: lp:~openstack-ubuntu-testing/python-novaclient/grizzly
Diff against target: 44 lines (+21/-1)
4 files modified
debian/changelog (+8/-0)
debian/install (+1/-0)
debian/links (+0/-1)
debian/preinst (+12/-0)
To merge this branch: bzr merge lp:~gandelman-a/ubuntu/raring/python-novaclient/lp1172420
Reviewer Review Type Date Requested Status
Openstack Ubuntu Testers Pending
Review via email: mp+161535@code.launchpad.net

This proposal has been superseded by a proposal from 2013-04-30.

Description of the change

NOTE: Proposing this to the raring/grizzly branches because we have no branches + peer review set up for havana/saucy. This needs to be fixed via standard, non-MRE SRU to novaclient. While there is no delta, I'll upload to saucy with a +1 here + get an raring SRU rolling.

To post a comment you must log in.

Unmerged revisions

69. By Adam Gandelman

debian/{links, install, preinst}: Drop links, install bash completion
directly to /etc/bash_completion.d/. Add preinst to remove broken symlink
ahead of unpacking conffile. (LP: #1172420)

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-04-04 12:40:06 +0000
3+++ debian/changelog 2013-04-30 00:13:39 +0000
4@@ -1,3 +1,11 @@
5+python-novaclient (1:2.13.0-0ubuntu2) UNRELEASED; urgency=low
6+
7+ * debian/{links, install, preinst}: Drop links, install bash completion
8+ directly to /etc/bash_completion.d/. Add preinst to remove broken symlink
9+ ahead of unpacking conffile. (LP: #1172420)
10+
11+ -- Adam Gandelman <adamg@ubuntu.com> Mon, 29 Apr 2013 17:07:13 -0700
12+
13 python-novaclient (1:2.13.0-0ubuntu1) raring; urgency=low
14
15 * New upstream release.
16
17=== added file 'debian/install'
18--- debian/install 1970-01-01 00:00:00 +0000
19+++ debian/install 2013-04-30 00:13:39 +0000
20@@ -0,0 +1,1 @@
21+tools/nova.bash_completion etc/bash_completion.d/
22
23=== removed file 'debian/links'
24--- debian/links 2013-04-04 12:40:06 +0000
25+++ debian/links 1970-01-01 00:00:00 +0000
26@@ -1,1 +0,0 @@
27-usr/share/doc/python-novaclient/nova.bash_completion etc/bash_completion.d/nova.bash_completion
28
29=== added file 'debian/preinst'
30--- debian/preinst 1970-01-01 00:00:00 +0000
31+++ debian/preinst 2013-04-30 00:13:39 +0000
32@@ -0,0 +1,12 @@
33+#!/bin/sh -e
34+
35+if [ "$1" = "upgrade" ] ; then
36+ if [ -n "$2" ] && dpkg --compare-versions "$2" lt 1:2.13.0-0ubuntu2; then
37+ # Remove broken symlink that was released with raring. (LP: #1172420)
38+ if [ -L /etc/bash_completion.d/nova.bash_completion ] &&
39+ [ "`readlink /etc/bash_completion.d/nova.bash_completion`" =\
40+ "/usr/share/doc/python-novaclient/nova.bash_completion" ]; then
41+ rm -rf /etc/bash_completion.d/nova.bash_completion
42+ fi
43+ fi
44+fi

Subscribers

People subscribed via source and target branches