summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-02 06:39:03 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-02 06:39:03 +0000
commit191601b080e80ceac46da623962b4794f52b46dc (patch)
tree5e2e472293b38ffbb69c0b7efd9a1baec66f480e /bin/repoman
parentc65e25b59f39ef07615374ee3bbbba2d14691254 (diff)
downloadportage-191601b080e80ceac46da623962b4794f52b46dc.tar.gz
portage-191601b080e80ceac46da623962b4794f52b46dc.tar.bz2
portage-191601b080e80ceac46da623962b4794f52b46dc.zip
Optimize repoman visibility checks to access as little
metadata as possible. (improves performance especially in cases where metadata needs to be generated). This works by starting at the lowest version since that's most likely to have keywords and it returns as soon as the first visible package is found. (trunk r8309) svn path=/main/branches/2.1.2/; revision=8369
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/repoman b/bin/repoman
index 499e4f720..328aec4ec 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1595,10 +1595,10 @@ for x in scanlist:
continue
#we are testing deps for a masked package; give it some lee-way
suffix="masked"
- matchmode="match-all"
+ matchmode = "minimum-all"
else:
suffix=""
- matchmode="match-visible"
+ matchmode = "minimum-visible"
if prof[1] == "dev":
suffix=suffix+"indev"