On 9/22/07, Kevin Bader <[EMAIL PROTECTED]> 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? > > kevin
This has been discussed quite extensively on the forums, and basically the consensus is that it's too complicated for not that much benefit. It might happen eventually, but it's definitely not a priority. For details and discussion, see this thread in particular from a while back: http://bbs.archlinux.org/viewtopic.php?id=22872 Aaron "ElasticDog" Schaefer -- _______________________________________________ arch mailing list arch@archlinux.org http://archlinux.org/mailman/listinfo/arch