Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Gentoo stats server/client @ 2009-06-21
Date: Sun, 21 Jun 2009 22:09:48
Message-Id: robbat2-20090621T215006-739572854Z@orbis-terrarum.net
In Reply to: Re: [gentoo-dev] Gentoo stats server/client @ 2009-06-21 by Sebastian Pipping
1 On Sun, Jun 21, 2009 at 04:55:02PM +0200, Sebastian Pipping wrote:
2 > Robin H. Johnson wrote:
3 > > Relevant to this, I might not want to disclose my profile inheritance
4 > > tree. Here's one of them for you:
5 > > /etc/make.profile
6 > > /etc/managed-portage/hosts/build_webdb/make.profile
7 > > /etc/managed-portage/common/post/make.profile
8 > > /etc/managed-portage/class/webdb/make.profile
9 > > /etc/managed-portage/class/db/make.profile
10 > > /etc/managed-portage/class/web/make.profile
11 > > /etc/managed-portage/common/pre/make.profile
12 > > /etc/managed-portage/location/surrey/make.profile
13 > > /etc/managed-portage/hwtype/nehalem/make.profile
14 > > /usr/portage/profiles/default/linux/amd64/2008.0
15 > Which of these is the target of the /etc/make.profile link?
16 > The last one? My current approach resolves the soft link and
17 > cuts of the profiles dir prefix. So in case it's the last for
18 > you that would be
19
20 $MP = /etc/managed-portage.
21
22 There is a symlink right now, but there might not be in future.
23 /etc/make.profile/parents -> $MP/hosts/build_webdb/make.profile
24
25 $MP/hosts/build_webdb/make.profile/parents:
26 $MP/common/pre/make.profile
27 $MP/location/surrey/make.profile
28 $MP/class/webdb/make.profile
29 $MP/hwtype/nehalem/make.profile
30 $MP/common/post/make.profile
31
32 $MP/class/webdb/make.profile/parents:
33 $MP/class/db/make.profile
34 $MP/class/web/make.profile
35
36 $MP/hwtype/nehalem/make.profile/parents:
37 /usr/portage/profiles/default/linux/amd64/2008.0
38
39 The following have no parents:
40 $MP/class/db/make.profile
41 $MP/class/web/make.profile
42 $MP/common/pre/make.profile
43 $MP/common/post/make.profile
44 $MP/location/surrey/make.profile
45
46 > To auto-filter profiles would parsing profiles.desc work?
47 > Would a synced CVS checkout of
48 > <http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/>
49 > give anything more that I could or should use?
50 I'm wondering how profiles should be reported. Rather than just the
51 endpoint, I'm thinking that we should resolve them and generate a list,
52 like the above, then explicitly whiteout the non-public ones.
53 So in the above, you'd report:
54 ===
55 (censored) X 13
56 default/linux/amd64/2008.0
57 ===
58
59 The resolving can be terminated at each profile that is listed in
60 profiles.desc, so you can just report default/linux/amd64/2008.0 and not
61 all the profiles that make that up.
62
63
64 > I see. How about this approach instead:
65 > - Get list of overlays from layman-global.txt, through either
66 > A) Download and keep a snapshot of layman-global.txt in sync ourselves
67 Just A, per your other email.
68
69 > - Take the official tree and globa overlays (overlays from
70 > layman-global.txt) into account for statistics
71 >
72 > - Resolve ${storage} from /etc/layman/layman.cfg
73 >
74 > - Include ebuilds from ${storage}/{global,overlays,here} and
75 > /usr/portage/
76 >
77 > What it does not catch is people putting their own ebuilds
78 > right into the main tree. As they lose them all on the next sync
79 > are we safe to assume that no one really does that?
80 > If not are there alternatives to comparing to a synced checkout
81 > of gentoo-x86 (either rsync or CVS)?
82 Why does the raw content of the trees matter?
83 I can see the source (which tree) of a given package that is already
84 installed mattering, but not the raw content of the tree.
85
86 > Any concerns or ideas for improvement?
87 /usr/portage might NOT be from the public rsync.
88 - Many devs have it straight from CVS.
89 - Infra has it stripped of a lot of GUI packages (like gnome, kde etc).
90
91 --
92 Robin Hugh Johnson
93 Gentoo Linux Developer & Infra Guy
94 E-Mail : robbat2@g.o
95 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85

Replies

Subject Author
[gentoo-dev] Re: Gentoo stats server/client @ 2009-06-21 Duncan <1i5t5.duncan@×××.net>
Re: [gentoo-dev] Gentoo stats server/client @ 2009-06-21 Sebastian Pipping <webmaster@××××××××.org>