Gentoo Archives: gentoo-dev

From: Alec Warner <antarus@g.o>
To: gentoo-dev@l.g.o
Cc: tools-portage@g.o
Subject: Re: [gentoo-dev] rsync mirrorstats page (generation and parsing)
Date: Mon, 06 Jul 2009 06:37:28
Message-Id: b41005390907052337w563824ceuca2d1afd122b0cd6@mail.gmail.com
In Reply to: Re: [gentoo-dev] rsync mirrorstats page (generation and parsing) by "Robin H. Johnson"
1 On Sat, Jul 4, 2009 at 6:48 PM, Robin H. Johnson<robbat2@g.o> wrote:
2 > On Sun, Jul 05, 2009 at 02:44:07AM +0200, Sebastian Pipping wrote:
3 >> When collecting information on the SYNC variable for my Summer of Code
4 >> gentoo stats project I'd like to check if the URL in SYNC is publically
5 >> known or some private/secret rsync mirror. The page behind
6 >> http://mirrorstats.gentoo.org/rsync/
7 > Mirrorstats is known to be out of date, because somebody needs to sit
8 > down and integrate it with the datasources, so manual updates aren't
9 > needed. Even better, would be hooking it into bouncer2 for the sentry
10 > output.
11 >
12 > It needs somebody to update it and hook at into the SOURCE of this data:
13 > http://www.gentoo.org/main/en/mirrors3.xml
14 >
15 > But wait, you say, that page is distfiles mirrors? Mirror-admin have a
16 > common data source, non-published as it contains private contact details
17 > for each administrator. From that data source, mirrors3 and rsync
18 > mirrors gets updated.
19 >
20 > mirrors.xml - old page, only used by mirrorselect now, manually updated.
21 > mirrors3.xml - new page, generated from internal dataset.
22 > mirrors2.xml - not a real page (See
23 > http://www.gentoo.org/main/en/mirrors2.xml?passthru=1 and the magic
24 > <mirrorlist> element.
25 >
26 > Relatedly, the original author of mirrorselect retired from Gentoo
27 > several years ago. The tools-portage team maintain it now, so you should
28 > co-operate with them. It would be nice if they implemented the mirrors3
29 > usage too, I think mirror-admin asked them more than a year ago, but I
30 > can't find the bug.
31
32 +cc tools-portage
33
34 shit, I think I was the last one to touch that thing ;p
35
36 Where is mirrorselect hiding these days, a private git repo?
37
38 -A
39
40 >
41 > In the meantime, for your original question:
42 >> is the URL in SYNC public or private
43 > Simply check by matching against gentoo.org$ in the hostname part of the
44 > field.
45 >
46 > P.S. Please report empty SYNC variables too ;-). These turn up when
47 > users/devs have their tree coming from a VCS instead of rsync.
48 >
49 > --
50 > Robin Hugh Johnson
51 > Gentoo Linux Developer & Infra Guy
52 > E-Mail : robbat2@g.o
53 > GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
54 >

Replies