Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] [PREFIX] prefix tree now defaults to being available via rsync
Date: Sun, 08 Jun 2008 11:42:38
Message-Id: 20080608114235.GR1163@gentoo.org
1 Hi all,
2
3 Since rsync is working out well, it is now time to make the change. The
4 subversion tree snapshots are no longer used for bootstrapping.
5 Everyone who does not do development on his/her local tree is advised
6 to switch to using rsync instead. Switching is as simple as removing
7 the SYNC= line from your $EPREFIX/etc/make.conf. Make sure you are
8 running >=portage-2.2.00.10347 before doing this.
9
10 Advantages of using rsync for normal users is that there is metadata
11 cache shipped with the tree. This allows Portage to calculate
12 dependencies much faster after a sync. Also tools like eix can use this
13 metadata to do their searches. Please note that eix is currently not
14 yet configured to use the metadata in Prefix, I need testers to verify
15 it works with the metadata cache we provide.
16
17 For pure informational purposes, the rsync tree is served to users by
18 currently two public servers, kindly provided to us. None of them are
19 Gentoo hardware though. The master rsync mirror is generated on a
20 Solaris 10 machine. Every ten minutes after 0:01 a new generation
21 process is started, which roughly takes about a minute to complete.
22 After a successful completion, the generated rsync image is copied to a
23 Gentoo Linux machine, which is the master for the two previously
24 mentioned public servers. The update of the tree is implemented as an
25 atomic operation on the master mirror, by means of zapping a symlink
26 pointer from the old image to the new one, once copying has completed.
27 The two public servers synchronise with the master at 15 minute
28 intervals, 0 and 5 minutes after 0:00 for the first and the second
29 server.
30
31
32 --
33 Fabian Groffen
34 Gentoo on a different level
35 --
36 gentoo-alt@l.g.o mailing list

Replies

Subject Author
[gentoo-alt] Recent problem with prefix X applications rabbe@×××××××.se