[Sugar-devel] Problem using sugar-update-control to update large (100+ MB) activity bundles
Tomeu Vizoso
tomeu at sugarlabs.org
Wed Jun 17 04:27:54 EDT 2009
On Wed, Jun 17, 2009 at 03:15, C. Scott Ananian<cscott at 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
> contains the interesting bits. The only missing piece was a proper
> manifest file format, which would allow you to download only the
> manifest to determine which bits have changed, so you could then
> download only the changed parts inside the zip file.
What about reading the zip index (central directory?), then deciding
which files to download by the timestamp and file size?
Regards,
Tomeu
> --scott
>
> --
> ( http://cscott.net/ )
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
More information about the Sugar-devel
mailing list