update-software-center-agent does not cache

Bug #645837 reported by Michael Vogt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
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)
Changed in software-center (Ubuntu):
milestone: none → ubuntu-10.10
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Michael Vogt (mvo)
Revision history for this message
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.

Revision history for this message
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,
    softwarecenter/backend/channel.py:
    - fix multiple instances of the "Previous Purchases"
      item in the left navigation pane (LP: #645439)
  * README:
    - 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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.