On Tuesday 11 March 2008, Dale wrote:
> Uwe Thiem wrote:
> > BTW, you can reduce the downloads by a large margin using deltup.
> >
> >
> > Uwe
>
> Dial-up user reporting in here.  What is this "feature" you speak
> of here?  How does this work?

Instead of downloading the whole tarball of a new version of a 
package, it downloads a delta between the latest old version and the 
new version (kind of diff). It then produces the new tarball locally 
from the old one and the delta.

Simply emerge deltup and add the following line to 
your /etc/make.conf:
FETCHCOMMAND="/usr/bin/getdelta.sh \${URI}"

It can reduce your downloads by up to 95% depending on how much the 
new tarballs differs from the old one.

And now the downside:

1.
It doesn't help you when you emerge a new package for the first time.

2.
At times, it simply doesn't work. It will then fall back to 
downloading the whole tarball.

Give it a try. If it doesn't suit you, you can simple delete the line 
above from make.conf.

Uwe

-- 
Informal Linux Group Namibia:
http://www.linux.org.na/
SysEx (Pty) Ltd.:
http://www.SysEx.com.na/
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to