Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108448 - getbinpkg caching needs optimization
Summary: getbinpkg caching needs optimization
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on: 194552
Blocks:
  Show dependency tree
 
Reported: 2005-10-07 20:25 UTC by Georgi Georgiev
Modified: 2010-09-23 01:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.