On Sun 2007-09-23 00:41 , Kevin Bader wrote:
> Hi everybody,
> 
> After downloading a 263.76MB update I wonder, if it would be possible to 
> implement some kind of delta-packages.
> Most version updates include a patch which doesn't change every file in an 
> archive but only a small amount of them. All the other files, like pictures 
> or the like, are downloaded useless. Since only a few files change, the 
> archive's changes are only on certain areas.
> I'd suggest creating a meta-file along with every package which includes a 
> md5 
> checksum for every 2048 byte chunk of the tar.gz. Since most people don't 
> clean the package cache after every upgrade, pacman can download the 
> meta-files first and compare the chunk hashes with the local version. Then 
> pacman downloads the different parts of the tar.gz archive only.
> 
> The benefit is lower bandwith consumption. Since the different versions are 
> stored on the clients, no more disk space is used on the server. The only 
> little drawback is the cpu time while pacman computes md5 hashes of the 
> chunks.
> 
> What do you think?

I think there is some kind of support of xdelta in makepkg (at least in
the one in development).
Checkout pacman-dev ml archives.

-- 
Alessio 'mOLOk' Bolognino
Arch Linux Trusted User

Please send personal email to [EMAIL PROTECTED]

Public Key http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xFE0270FB
GPG Key ID = 1024D / FE0270FB 2007-04-11
Key Fingerprint = 9AF8 9011 F271 450D 59CF  2D7D 96C9 8F2A FE02 70FB

Attachment: pgpomLvn47RIq.pgp
Description: PGP signature

_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch

Reply via email to