[haiku] Re: Haiku Files - Binary Diffs

  • From: Ryan Leavengood <leavengood@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Fri, 25 Sep 2009 23:56:24 -0400

On Fri, Sep 25, 2009 at 4:17 PM, Izomiac <haikulist@xxxxxxxxxxxxxxxx> wrote:
> For updating you could keep a diff of your version from the last major OS
> release (1.2 for example) and revert before applying each update (so 1.2.2
> -> 1.2 -> 1.2.5) if you aren't running the latest version (1.2.4 -> 1.2.5).
> That way only requires two diffs to be generated, and you never need to
> apply more than two diffs even if you've missed an update or three.  Since
> it requires storing diffs from the major version, you also gain the ability
> to uninstall updates essentially without any additional work.  Server-wise,
> you'd store a single diff for each update (1.2 -> 1.2.1, 1.2 -> 1.2.2, 1.2
> -> 1.2.3, etc.), and probably the last incremental (1.2.4 -> 1.2.5).

That is actually pretty clever and is pretty close to what I was
thinking, which was chaining of updates (1.2.3 -> 1.2.4 -> 1.2.5), but
your method is of course faster and more efficient. I will definitely
experiment with the above when I get around to trying this.

-- 
Regards,
Ryan

Other related posts: