[haiku-development] Re: Time to add SoftwareUpdater to build?

  • From: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 24 Apr 2017 19:42:57 +0200

On Mon, Apr 24, 2017 at 06:17:20PM +0100, Ed Robbins wrote:

Just had the idea that you could base this on a "logish" scale. For example
assuming you update daily, keep one set from each of the last 5 days, one
set from the last 5 months, one from the last five years etc. So as you go
further back in time the granularity decreases, but you can still go back
far. Guess this ought to have a configurable maximum space, and probably
you wouldn't ever want to go back more than a year...

There is a "log2rotate" algorithm for that, however I don't think it is
applicable in this case because the states depend on each other. So,
you can't really punch a hole in the history line. You can only delete
the oldest ones, on which nothing depends.

-- 
Adrien.

Other related posts: