Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 105049 Details for
Bug 159224
repoman has inconsistent output and is flat wrong
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
use separate xmatch caches for each value of ACCEPT_KEYWORDS
accept_keywords_xcache.patch (text/plain), 1.32 KB, created by
Zac Medico
on 2006-12-31 07:39:02 UTC
(
hide
)
Description:
use separate xmatch caches for each value of ACCEPT_KEYWORDS
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2006-12-31 07:39:02 UTC
Size:
1.32 KB
patch
obsolete
>Index: bin/repoman >=================================================================== >--- bin/repoman (revision 5437) >+++ bin/repoman (revision 5438) >@@ -727,6 +727,7 @@ > > > arch_caches={} >+arch_xmatch_caches = {} > for x in scanlist: > #ebuilds and digests added to cvs respectively. > if verbose: >@@ -1136,16 +1137,13 @@ > profdir = portdir+"/profiles/"+prof[0] > > if prof[0] in arch_caches: >- dep_settings, xcache = arch_caches[prof[0]] >+ dep_settings = arch_caches[prof[0]] > else: > dep_settings = portage.config( > config_profile_path=profdir, > config_incrementals=portage_const.INCREMENTALS, > local_config=False) >- portdb.melt() >- portdb.freeze() >- xcache = portdb.xcache >- arch_caches[prof[0]] = (dep_settings, xcache) >+ arch_caches[prof[0]] = dep_settings > while True: > try: > # Protect ACCEPT_KEYWORDS from config.regenerate() >@@ -1154,6 +1152,14 @@ > except ValueError: > break > >+ xmatch_cache_key = (prof[0], tuple(groups)) >+ xcache = arch_xmatch_caches.get(xmatch_cache_key) >+ if xcache is None: >+ portdb.melt() >+ portdb.freeze() >+ xcache = portdb.xcache >+ arch_xmatch_caches[xmatch_cache_key] = xcache >+ > trees["/"]["porttree"].settings = dep_settings > portdb.mysettings = dep_settings > portdb.xcache = xcache
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 159224
: 105049