Gentoo Archives: gentoo-soc

From: Michael Seifert <michael.seifert@×××.net>
To: gentoo-soc@l.g.o
Subject: Re: [gentoo-soc] GSoC - cache sync/self-contained ebuilds
Date: Wed, 23 Mar 2011 21:02:19
Message-Id: 4D8A5FAE.80602@gmx.net
In Reply to: Re: [gentoo-soc] GSoC - cache sync/self-contained ebuilds by Donnie Berkholz
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Am 23.03.2011 20:47, schrieb Donnie Berkholz:
5 > On 14:43 Wed 23 Mar , Rich Freeman wrote:
6 >> On Wed, Mar 23, 2011 at 1:44 PM, Michael Seifert
7 >> <michael.seifert@×××.net> wrote:
8 >>> I cannot tell you at this stage, sorry. The real loss for steps 3/4
9 >>> has to be measured after the implementation. The problem with the
10 >>> estimates here is that the assembled ebuilds also contain the
11 >>> sources and the eclasses. Maybe I will do some number crunching on a
12 >>> few selected ebuilds.
13 >>
14 >> A more critical factor could be the dependencies - unless we otherwise
15 >> cache them. To install a package you need to walk the dependency tree
16 >> (well, at least until you hit installed packages with the right USE
17 >> flags). That requires one set of fetches for each level you traverse,
18 >> and that means at least one round trip per level.
19
20 You are right. I only considered the size improvements, not the changes
21 to speed.
22 Anyway, is the calculation of dependencies handled differently in
23 current portage versions?
24
25 >
26 > Perhaps both of you need to take a quick stroll through the metadata
27 > cache (/usr/portage/metadata/cache/) and check out what those files look
28 > like. =)
29 >
30 > Here's a description of the format from our Package Manager
31 > Specification (PMS):
32 >
33 > http://dev.gentoo.org/~ulm/pms/4/pms.html#x1-16000014
34 >
35
36 I already did, but the documentation helps a lot, thanks. This way one
37 doesn't have to match the digits in the metadata (e.g. EAPI version)
38 with those in the ebuild to know what they are good for :)
39 -----BEGIN PGP SIGNATURE-----
40 Version: GnuPG v2.0.17 (GNU/Linux)
41 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
42
43 iEYEARECAAYFAk2KX64ACgkQnzX+Jf4GTUwQaQCgiR5xig03B6ELbDuOP+GkbUSA
44 KW0AnAtCKIaK73NGOqZ9KoyhDmEkW5f8
45 =gyhl
46 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-soc] GSoC - cache sync/self-contained ebuilds Zac Medico <zmedico@g.o>