[Bug 1233486] Update Released

Dave Walker davewalker at ubuntu.com
Wed Oct 16 21:03:05 UTC 2013


The verification of this Stable Release Update has completed
successfully and the package has now been released to -updates.
Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report.  In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regresssions.

-- 
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 Released

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