[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Binary patching .deb files



On Sat, 2004-09-04 at 21:09 -0400, Daniel Burrows wrote:
> On Saturday 04 September 2004 07:13 pm, you wrote:
> > Did you solve the problem I had? Not generating the exact same file
> > because the gzip compression isn't exactly the same? Did you do it some
> > other way?
> 
>   No, I think I didn't.  I did the patching slightly differently: I unpacked
> the whole archive and diffed individual files.  It's not clear that this is
> better or worse than your approach, but it does have the advantage that you
> could theoretically apply in-place (note that this is dangerous if the user's
> package is different from the official Debian version, though).

Makes sense.

>   The major problem is simply that it's not practical to distribute patches to
> unstable (because you can't keep diffs for every pair of versions), 

My idea was to only have the diff between the last two versions. This
way the people that do frequent updates would download much less (around
10%). The archive would then increase those same 10%. This would also
make security fixes much smaller.

Pedro.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: