Gentoo Archives: gentoo-scm

From: Zac Medico <zmedico@g.o>
To: Donnie Berkholz <dberkholz@g.o>
Cc: gentoo-scm@l.g.o
Subject: Re: [gentoo-scm] repoman patch for git support (from drobbins)
Date: Sun, 16 Nov 2008 07:10:35
Message-Id: 491FC778.2050606@gentoo.org
In Reply to: Re: [gentoo-scm] repoman patch for git support (from drobbins) by Donnie Berkholz
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Donnie Berkholz wrote:
5 > On 22:41 Sat 15 Nov , Zac Medico wrote:
6 >> Donnie Berkholz wrote:
7 >>> One major problem with repoman+git is that a major feature of git is
8 >>> fast commits, but repoman is pretty slow (try a scan in
9 >>> x11-base/xorg-server). Anyone got a good idea for how to deal with this?
10 >> The main performance bottleneck is the dependency checks, and the
11 >> time consumed by those is related to the number of profiles checked.
12 >>
13 >> # egrep -v "(#.*|^$)" /usr/portage/profiles/profiles.desc | wc -l
14 >> 122
15 >>
16 >> It seems excessive to check 122 profiles. If we could reduce that
17 >> number significantly then we might see a significant decrease in the
18 >> time consumed by repoman.
19 >
20 > You could cut it in half by not checking 'dev' profiles by default.
21 >
22
23 That seems reasonable, since broken dependencies for 'dev' profiles
24 aren't fatal anyway.
25
26 It's also worth noting that we could do much more extensive
27 dependency checks if we moved them to the server side. For example,
28 we could check for problems in reverse dependencies such as those
29 encountered by some people commenting on bug 244511 about missing
30 mit-krb5 or heimdal keywords when e2fsprogs-libs was first stabilized.
31
32 [1] http://bugs.gentoo.org/show_bug.cgi?id=244511
33 - --
34 Thanks,
35 Zac
36 -----BEGIN PGP SIGNATURE-----
37 Version: GnuPG v2.0.9 (GNU/Linux)
38
39 iEYEARECAAYFAkkfx3YACgkQ/ejvha5XGaMIewCeL/srgIBZRpd2SS5nKaEJTUQM
40 n3EAn1JbZPXTLwWkof1LMWn52TcJDX0Z
41 =pUS7
42 -----END PGP SIGNATURE-----