[Bug 1233486] Re: [FFe] add support for 'cloud-archive:' like 'ppa:' but for cloud archive
Dave Walker
davewalker at ubuntu.com
Thu Oct 10 20:52:57 UTC 2013
Hello Scott, or anyone else affected,
Accepted software-properties into precise-proposed. The package will
build now and be available at http://launchpad.net/ubuntu/+source
/software-properties/0.82.7.6 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: software-properties (Ubuntu Precise)
Status: In Progress => Fix Committed
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1233486
Title:
[FFe] add support for 'cloud-archive:' like 'ppa:' but for cloud
archive
Status in “software-properties” package in Ubuntu:
Fix Released
Status in “software-properties” source package in Precise:
Fix Committed
Bug description:
=== SRU Info ===
[Impact]
Canonical and Ubuntu support openstack releases and Juju and Maas on 12.04 via the Cloud Archive [1]. Enabling that archive for the user requires installing a package and then modifying /etc/apt/sources.list by hand. This is error prone, and at very least difficult to hand-type.
apt-add-repository is installed in many systems and many Ubuntu users are familiar with it. We'd like to make documentation and enablement easier by allowing the user to simply type:
apt-add-repository cloud-archive:havana
--
[1] https://wiki.ubuntu.com/ServerTeam/CloudArchive
[Test Case]
* launch an instance or deploy Ubuntu server 12.04
* run: apt-add-repository -y cloud-archive:havana
* run: apt-get update
* run: apt-cache policy python-nova-client
* verify that the output of apt-cache above shows the cloud-archive package
Additionally, the attached 'precise SRU validate instructions' goes into
further detail on how to test this, and how to verify that the old functionality ('ppa:') still works..
[Notes]
I've also only patched 'apt-add-repository'. Other front ends won't get the support or risk of regression.
softwareproperties/cloudarchive.py is a very straightforward
copy/backport from trunk. The only modifcation was the addition of
'ShortcutException' here rather than in
softwareproperties/SoftwareProperties.py
[Regression Potential]
The potential for regression in the prepared patch should be very low.
The code path for new code is protected with statements like
if shortcut.startswith('cloud-archive:')
The attached' test/verification shows that the old path is still
functional.
=== Original Bug Report ===
This is a request to add 'cloud-archive:' support to the 'apt-add-repository' command.
The end goal is that we want to do something like this:
apt-add-repository cloud-archive:havana
And have that:
install the ubuntu-cloud-keyring
add the appropriate repos as described at [1]
The token after 'cloud-archive' would be either an openstack release,
OS_RELEASE-proposed, or 'tools' or 'tools-proposed.
The cloud-archive is only supported on precise, so in the end we want
this SRU'd also. The branch linked will raise exception if the user
tries to add the repo on something other than precise.
The linked branch passes tests and was reviewed by upstream
maintainer. It was also done with the eye towards not breaking
existing users of either the python api, the kde or gtk or cli
frontends.
In the comments below, I've walked through most of the function of
'apt-add-repository' to make sure nothing was broken. Luckily this is
a fairly simple command and there is not a lot of paths through the
code.
--
[1] https://wiki.ubuntu.com/ServerTeam/CloudArchive
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1233486/+subscriptions
More information about the foundations-bugs
mailing list