From: Zac Medico Date: Sat, 8 Oct 2011 06:52:21 +0000 (-0700) Subject: repoman: add 'repository' to portdbapi cache X-Git-Tag: v2.2.0_alpha64~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=176f43b1ec7e7a82cf67d19b40dcacbebc6dc3f6;p=portage.git repoman: add 'repository' to portdbapi cache This fixes _getMaskAtom to work correctly with the repo atoms that are generated by MaskManager, solving the issue reported here: https://github.com/cschwan/sage-on-gentoo/issues/90#issuecomment-2324953 --- diff --git a/bin/repoman b/bin/repoman index 5d2a84c5f..38f969464 100755 --- a/bin/repoman +++ b/bin/repoman @@ -652,7 +652,7 @@ root_config = RootConfig(repoman_settings, trees[root], None) # We really only need to cache the metadata that's necessary for visibility # filtering. Anything else can be discarded to reduce memory consumption. portdb._aux_cache_keys.clear() -portdb._aux_cache_keys.update(["EAPI", "IUSE", "KEYWORDS", "SLOT"]) +portdb._aux_cache_keys.update(["EAPI", "IUSE", "KEYWORDS", "repository", "SLOT"]) reposplit = myreporoot.split(os.path.sep) repolevel = len(reposplit)