update-software-center-agent does not cache

Bug #645837 reported by Michael Vogt on 2010-09-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Michael Vogt

Bug Description

Binary package hint: software-center

The current update-software-center-agent is using restfulclient without caching. This results in much more load/traffic than needed. There should be a gio based http version for the "what-is-availalbe-for-sale" command that uses etags to reduce the traffic and load on the software-center-agent server.

Michael Vogt (mvo) on 2010-09-23
Changed in software-center (Ubuntu):
milestone: none → ubuntu-10.10
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Michael Vogt (mvo)
Michael Vogt (mvo) wrote :

As a low hanging fruit for the remaining bits that need restfulclient we can setup a cachedir. But this will not help the "what-is-availalbe-for-purchase" case as restfulclient will not send a etag header for already stored collections.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 3.0

software-center (3.0) maverick; urgency=low

  [ Michael Vogt ]
  * softwarecenter/backend/restfulclient.py:
    - setup cachedir to avoid unneeded wadl downloading (LP: #645837)
  * softwarecenter/utils.py:
    - fix crash if desktop_file_path does not contain "applications"
      (LP: #641071)
  * softwarecenter/backend/aptd.py:
    - add keyfile for whitelisted channel (LP: #645120)
  * softwarecenter/view/appdetailsview.py:
    - fix crash when reinstalling previous purchase
      (LP: #645843)
  * softwarecenter/backend/restfulclient.py, softwarecenter/db/update.py,
    - use gio instead of restfulclient to get the available purchase
      items and properly use the etag values provided to avoid uneeded
      bandwidth usage and load on the server (LP: #645837)
  * utils/update-software-center-agent:
    - trivial logging fix to make --debug fully work
  * debian/changelog:
    - its 3.0!

  [ Gary Lasker ]
  * softwarecenter/app.py,
    - fix multiple instances of the "Previous Purchases"
      item in the left navigation pane (LP: #645439)
    - fix typo
 -- Michael Vogt <email address hidden> Thu, 23 Sep 2010 11:16:44 +0200

Changed in software-center (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers