[Bug 731376] Re: Support archive.canonical.com and for-pay as origin

Anthony Lenton 731376 at bugs.launchpad.net
Fri Jul 8 14:35:00 UTC 2011


** Changed in: rnr-server
    Milestone: None => 11.03

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/731376

Title:
  Support archive.canonical.com and for-pay as origin

Status in Ratings and Reviews server:
  Fix Released
Status in “software-center” package in Ubuntu:
  Fix Released
Status in “software-center” source package in Natty:
  Fix Released

Bug description:
  For natty final we want to support  archive.canonical.com,
  extras.ubuntu.com and the for-pay origins (in addition to the
  "regular" origin).

  To do that the server needs to be extended to support this, the client
  already sends along the origin information that it gets from the
  archive release file (in lowercase) when submitting a review.

  E.g.:
  - archive.ubuntu.com its "ubuntu"  (http://archive.ubuntu.com/dists/natty/Release)
  - archive.canonical.com its "canonical" (http://archive.canonical.com/dists/natty/Release)
  - extras.ubuntu.com its "lp-ppa-app-review-board" (http://extras.ubuntu.com/ubuntu/dists/maverick/Release)
  - a PPA its "lp-ppa-mvo" (http://ppa.launchpad.net/mvo/ppa/ubuntu/dists/lucid/Release)
  - a private PPA its e.g. lp-ppa-commercial-ppa-uploaders-vendetta-online (https://private-ppa.launchpad.net/commercial-ppa-uploaders/vendetta-online/ubuntu/dists/maverick/Release)

  The client will use the origin information to get reviews as well. It will have to special case the software-center-agent ones
  and add something like:
      origin = "lp-ppa-%s" % item.archive_id.replace("/", "-")
  to get the origin for the agent.

  QA Notes:
  Currently this is difficult to QA as there are no for-pay apps for natty yet. To trick USC you need to update (1) your sources.list entry for the archive you are testing (either a for-pay private ppa, or archive.canonical.com), and then (2) update DISTRIB_CODENAME to 'maverick' in /etc/lsb-release, then (3) `sudo apt-get update`, and run software center.
   1) Select 'More info' for the for-pay app (or partner app) that you have installed
   2) Write a review and verify it submits successfully, and displays in the UI
   3) Remember to revert the changes to your sources.list and /etc/lsb-release

  Cheated, I had uplink installed on maverick so I use SC trunk and
  filed a review from there on Uplink.

To manage notifications about this bug go to:
https://bugs.launchpad.net/rnr-server/+bug/731376/+subscriptions




More information about the foundations-bugs mailing list