From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RCQok-00073z-D1 for garchives@archives.gentoo.org; Sat, 08 Oct 2011 06:55:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23E8621C024; Sat, 8 Oct 2011 06:55:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E250221C024 for ; Sat, 8 Oct 2011 06:55:21 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 651CB1B4013 for ; Sat, 8 Oct 2011 06:55:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 85F7180042 for ; Sat, 8 Oct 2011 06:55:20 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <176f43b1ec7e7a82cf67d19b40dcacbebc6dc3f6.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/repoman X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 176f43b1ec7e7a82cf67d19b40dcacbebc6dc3f6 Date: Sat, 8 Oct 2011 06:55:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: e0f1fe0460dac40dc4455f31a0152dc0 commit: 176f43b1ec7e7a82cf67d19b40dcacbebc6dc3f6 Author: Zac Medico gentoo org> AuthorDate: Sat Oct 8 06:52:21 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Oct 8 06:52:21 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D176f43b1 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 --- bin/repoman | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/repoman b/bin/repoman index 5d2a84c..38f9694 100755 --- a/bin/repoman +++ b/bin/repoman @@ -652,7 +652,7 @@ root_config =3D RootConfig(repoman_settings, trees[ro= ot], None) # We really only need to cache the metadata that's necessary for visibil= ity # 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"]) =20 reposplit =3D myreporoot.split(os.path.sep) repolevel =3D len(reposplit)