From 806ec9287a1547da737355df79fbe63b2b6cff00 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 26 Oct 2007 08:38:16 +0000 Subject: 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. svn path=/main/trunk/; revision=8309 --- bin/repoman | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/repoman') diff --git a/bin/repoman b/bin/repoman index 884931220..a57c30052 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1455,10 +1455,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" -- cgit v1.2.3-1-g7c22