On Friday 28 January 2011 11:25:35 Serghei Amelian wrote:
> On Friday 28 January 2011 10:45:01 Roman wrote:
> [...]
>
> > Testing the ebuilds i was only able to fetch a handful of distfiles.
> > If you (is thel.ro yours?) could add an rsync-user i would setup a
> > cronjob to sync the files and you could add that to thirdpartymirrors so
> > emerge would fetch randomly from both?
>
> rsync -avR --delete thel.ro::distfiles /tmp/distfiles
> rsync -avR --delete thel.ro::overlay /tmp/overlay

I did set up the daily cronjob to check thel.ro for new files. The mirror is 
available via http:///mirror.hasnoname.de/kde-trinity/


Although i don't really know what i should do with the overlay-files... do you 
want me to set it up in a git or something?

To spread the load randomly between thel.ro and hasnoname.de:
create overlay/profiles/repo_name containing overlay-name (i chose 
kde-trinity, but it's yours so you decicde).

then you can create overlay/profiles/thirdpartymirrors containing 1 single 
line with the following:

overlay-name http://mirror.hasnoname.de/kde-trinity/distfiles 
http://www.thel.ro/distfiles/

Afterward you can use SRC_URI="mirror://overlay-name/${P}.tar.bz2" in the 
ebuild. Portage will then fetch from official mirrors and fallback to one of 
the thirdpartymirrors.

greetings,
Roman

-- 
We are Pentium of Borg.  Division is futile.  You will be approximated.
        -- seen in someone's .signature

Reply via email to