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
In Reply to: Re: [gentoo-scm] repoman patch for git support (from drobbins) by Donnie Berkholz
Hash: SHA1

Donnie Berkholz wrote:
> On 22:41 Sat 15 Nov , Zac Medico wrote: >> Donnie Berkholz wrote: >>> One major problem with repoman+git is that a major feature of git is >>> fast commits, but repoman is pretty slow (try a scan in >>> x11-base/xorg-server). Anyone got a good idea for how to deal with this? >> The main performance bottleneck is the dependency checks, and the >> time consumed by those is related to the number of profiles checked. >> >> # egrep -v "(#.*|^$)" /usr/portage/profiles/profiles.desc | wc -l >> 122 >> >> It seems excessive to check 122 profiles. If we could reduce that >> number significantly then we might see a significant decrease in the >> time consumed by repoman. > > You could cut it in half by not checking 'dev' profiles by default. >
That seems reasonable, since broken dependencies for 'dev' profiles aren't fatal anyway. It's also worth noting that we could do much more extensive dependency checks if we moved them to the server side. For example, we could check for problems in reverse dependencies such as those encountered by some people commenting on bug 244511 about missing mit-krb5 or heimdal keywords when e2fsprogs-libs was first stabilized. [1] - -- Thanks, Zac -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkkfx3YACgkQ/ejvha5XGaMIewCeL/srgIBZRpd2SS5nKaEJTUQM n3EAn1JbZPXTLwWkof1LMWn52TcJDX0Z =pUS7 -----END PGP SIGNATURE-----