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

Re: These new diffs are great, but...



Steinar H. Gunderson wrote:
> On Thu, Jun 29, 2006 at 09:15:13PM +0200, Bastian Venthur wrote:
>> Same here. Very annoying on a box where you only update every few weeks
>> or something. Wouldn't it be possible to make snapshots every week and
>> only pdiff from this snapshot?
> 
> You can turn off pdiffs if you'd like to; the old packages files are still
> there. The question here is what to do with the default.

Ah ok, I was not aware of this feature. But since downloading pdiffs of
> x days might in fact result in a larger download than downloading the
package-files directly, aptitude (or apt-get) should decide
automatically when to use pdiffs and when not.

Someone could make stats to calculate the average day-count x when the
summ of the pdiffs becomes larger that the package-files. Then aptitude
(or apt-get) could decide whether the last update is more than x days
away and decide what to use.

Should not be too hard to implement. We had still the advantage of using
pdiffs for the users who update regulary but no drawbacks for all the
other ones.


Cheers,

Bastian

-- 
Bastian Venthur
http://venthur.de



Reply to: