Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-17 Thread Tomeu Vizoso
On Wed, Jun 17, 2009 at 03:15, C. Scott Ananiancsc...@cscott.net wrote: When I wrote the sugar updater, I included all the code necessary to transfer only the changed portions of a large zip file.  http://dev.laptop.org/git/users/cscott/sugar-update-control/tree/bitfrost/util/urlrange.py

Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-17 Thread C. Scott Ananian
On Wed, Jun 17, 2009 at 4:27 AM, Tomeu Vizosoto...@sugarlabs.org wrote: On Wed, Jun 17, 2009 at 03:15, C. Scott Ananiancsc...@cscott.net wrote: When I wrote the sugar updater, I included all the code necessary to transfer only the changed portions of a large zip file.  

Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-17 Thread Martin Langhoff
On Mon, Jun 15, 2009 at 10:47 PM, Bernie Innocentiber...@codewiz.org wrote: This means you'd have to change both the client-side (sugar-update-control, fairly simple) and the server side (in our case Mozilla Addons, fairly complex). The XS - which Bryan has - already has an rsync server using

Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-17 Thread Michael Stone
C. Scott Ananian wrote: It should be noted that trusting the CRC32 to validate the file contents is insecure -- but IIRC the security of the update scheme relies on other signatures (probably still unimplemented -- do you know anything about that, Michael?) so you shouldn't have to worry

Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-16 Thread Bernie Innocenti
On Mon, 2009-06-15 at 22:15 +0100, Peter Robinson wrote: What about something similar to the deltarpm feature in F11 where there's a delta created between the previous release and it is served over standard http/ftp/whatever like the full package. In the initial set of updates released for

Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-16 Thread Bernie Innocenti
On Tue, 2009-06-16 at 06:00 +0545, Bryan Berry wrote: In Nepal, we are not updating against activities.sugarlabs.org but against the local XS. Would it be terribly complicated to change the code on the XS? No, because there's no code at all: it's just static HTML. You could set

Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-16 Thread Bernie Innocenti
On Tue, 2009-06-16 at 06:00 +0545, Bryan Berry wrote: In Nepal, we are not updating against activities.sugarlabs.org but against the local XS. Would it be terribly complicated to change the code on the XS? No, because there's no code at all: it's just static HTML. You could set

Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-16 Thread Bernie Innocenti
On Tue, 2009-06-16 at 06:00 +0545, Bryan Berry wrote: In Nepal, we are not updating against activities.sugarlabs.org but against the local XS. Would it be terribly complicated to change the code on the XS? No, because there's no code at all: it's just static HTML. You could set

Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-16 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On Mon, Jun 15, 2009 at 10:47:57PM +0200, Bernie Innocenti wrote: On 06/15/09 16:37, Bryan Berry wrote: I want to use rsync but I need a mechanism that the users (kids) can initiate through a simple GUI, like the current Activity Update

Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-16 Thread C. Scott Ananian
When I wrote the sugar updater, I included all the code necessary to transfer only the changed portions of a large zip file. http://dev.laptop.org/git/users/cscott/sugar-update-control/tree/bitfrost/util/urlrange.py contains the interesting bits. The only missing piece was a proper manifest

[Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-15 Thread Bryan Berry
We soon need to roll out updated version of Nepal's custom suite of activities, E-Paath. The updated bundle weighs in at a whopping 180 MB zipped and 300 MB unzipped. We have found it impractical to use the sugar-update-control mechanism to update the bundle. While E-Paath is large, the updated

Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-15 Thread Ton van Overbeek
On Mon, Jun 15, 2009 at 9:25 AM, Bryan Berrybr...@olenepal.org wrote: I would like to know if the newer version of sugar-control-update http://git.sugarlabs.org/projects/sugar-update-control/repos/mainline/blobs/master/src/model.py only transfers the differences between the new and old

Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-15 Thread Bryan Berry
On Mon, 2009-06-15 at 10:18 -0400, Ton van Overbeek wrote: On Mon, Jun 15, 2009 at 9:25 AM, Bryan Berrybr...@olenepal.org wrote: I would like to know if the newer version of sugar-control-update http://git.sugarlabs.org/projects/sugar-update-control/repos/mainline/blobs/master/src/model.py

Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-15 Thread Bernie Innocenti
On 06/15/09 16:37, Bryan Berry wrote: I want to use rsync but I need a mechanism that the users (kids) can initiate through a simple GUI, like the current Activity Update mechanism. Rsync's unique capability to transmit only changed blocks within large files requires using the real rsync://

Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-15 Thread Peter Robinson
I want to use rsync but I need a mechanism that the users (kids) can initiate through a simple GUI, like the current Activity Update mechanism. Rsync's unique capability to transmit only changed blocks within large files requires using the real rsync:// protocol.  It won't work over dumb

Re: [Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles

2009-06-15 Thread Bryan Berry
On Mon, 2009-06-15 at 22:47 +0200, Bernie Innocenti wrote: On 06/15/09 16:37, Bryan Berry wrote: I want to use rsync but I need a mechanism that the users (kids) can initiate through a simple GUI, like the current Activity Update mechanism. Rsync's unique capability to transmit only