Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478330 - sys-apps/portage: support storing & syncing cache separately from repo
Summary: sys-apps/portage: support storing & syncing cache separately from repo
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
Depends on:
Blocks: 240187
  Show dependency tree
Reported: 2013-07-27 08:58 UTC by Michał Górny
Modified: 2013-07-27 21:34 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-27 08:58:51 UTC
Currently we're forced to fixed '/metadata/*cache' inside of repo. I believe that it would be much better if it was possible to override the cache location in repos.conf. Even better if we were able to sync caches separately of the repo.


1. We can get a clear split between 'real data' and 'cache'. For example, we can put repos in /var/db and caches in /var/cache.

2. We can give cache to the user without polluting the VCS. For example, user can use gx86 from git with cache synced via rsync. Well, there is some risk of mis-sync but that's better than having no cache at all or storing duplicate data in VCS.

3. We can give something like cache-sync-uri = autogen://, as a nice & easy way of making portage automatically generate/update caches for repos that don't have any supplied. Without polluting the checkout.