talk

Differences between revisions 1 and 2
Revision 1 as of 2005-06-04 08:24:04
Size: 59
Editor: adsl-213-190-44-43
Comment: added talk page listing subpages
Revision 2 as of 2005-12-11 06:51:18
Size: 895
Editor: 103
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

= PhillipSusi =

I see several problems with this scheme:

1) xdeltas on gzipped data tend to be very inefficient. A small change in the original data set tends to make the gzip stream radically different.

2) It requires that the user still have the old package on hand to patch


I have a different proposal:

Have the delta-deb contain the full control info, and xdeltas for all of the non config files in the data.tar section. That way the user does not need the original .deb, if they have the package installed, then they just need to download the xdeltas for the installed files and patch them in place.

The package system already knows which files are config files and which are not, and it knows the md5 sums for those files so it can verify that they are correct before patching them with the xdelta.

Subpages of APTPackageDeltas

  • - ["APTIndexDeltas"]

PhillipSusi

I see several problems with this scheme:

1) xdeltas on gzipped data tend to be very inefficient. A small change in the original data set tends to make the gzip stream radically different.

2) It requires that the user still have the old package on hand to patch

I have a different proposal:

Have the delta-deb contain the full control info, and xdeltas for all of the non config files in the data.tar section. That way the user does not need the original .deb, if they have the package installed, then they just need to download the xdeltas for the installed files and patch them in place.

The package system already knows which files are config files and which are not, and it knows the md5 sums for those files so it can verify that they are correct before patching them with the xdelta.

APTPackageDeltas/talk (last edited 2008-08-06 16:15:51 by localhost)