Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 108448

Summary: getbinpkg caching needs optimization
Product: Portage Development Reporter: Georgi Georgiev <chutz+bugs.gentoo.org>
Component: .tbz2 supportAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: rockoo
Priority: High    
Version: 2.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 194552    
Bug Blocks:    

Description Georgi Georgiev 2005-10-07 20:25:32 UTC
Currenty getbinpkg does a simple cpickle.dump and cpickle.load for all its
metadata. This is far from optimal for reasons similar to the ones already
outlined in bug #108412.

Would it be possible to rewrite that piece of caching code to use portdbapi? It
is the same kind of data after all. Maybe %encode all weird symbols ( / => %2F )
in the url and cache it as you would cache local metadata.
Comment 1 Zac Medico gentoo-dev 2010-09-23 01:57:16 UTC
We can consider this fixed by the new protocol (bug 194552) which uses a plain text file for cache.