Comment 0 for bug 731376

Revision history for this message
Michael Vogt (mvo) wrote :

For natty final we want to support archvie.canoical.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 "ubutnu" (http://archive.ubuntu.com/dists/natty/Release)
- archive.canonical.com its "canonical" (http://archive.canonical.com/dists/natty/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.