Opened 12 years ago

Closed 8 years ago

#1499 closed defect (wontfix)

incremental activity update

Reported by: dsd Owned by: tomeu
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Sugar Version: 0.82.x
Severity: Unspecified Keywords:
Cc: mtd Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

At the moment, the activity updater downloads the full .xo bundle for each activity update. This patch (for sugar-0.82) makes it only download the parts that have changed, greatly reducing the bandwidth needed for updates.

Attachments (3)

activity-update-incremental.patch (14.2 KB) - added by dsd 12 years ago.
patch
activity-update-incremental-v2.patch (14.0 KB) - added by dsd 12 years ago.
oops, forgot about supporting content bundles in previous patch
actutils.patch (2.0 KB) - added by dsd 12 years ago.
patch against bitfrost/update/actutils.py

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by dsd

patch

Changed 12 years ago by dsd

oops, forgot about supporting content bundles in previous patch

Changed 12 years ago by dsd

patch against bitfrost/update/actutils.py

comment:1 Changed 11 years ago by dsd

One problem with this work is that it no longer uses unzip to extract zip files, it uses python internals. The unzip program parses various file attributes to set permissions and so on. Python classes do not do this.

I suggest that Sugar be moved to using python zip file classes to unzip activities, parsing the important attributes as appropriate. This should not be difficult but will need testing. Then this could be applied at the same time.

comment:2 Changed 11 years ago by mtd

  • Cc mtd added

comment:3 Changed 8 years ago by dnarvaez

  • Resolution set to wontfix
  • Status changed from new to closed

Patches are 4 years old, most likely bitrotten and apparently never proposed for inclusion.

Note: See TracTickets for help on using tickets.