summaryrefslogtreecommitdiffstats
path: root/pym/cache/metadata_overlay.py
Commit message (Collapse)AuthorAgeFilesLines
* For forward compatibility, make metadata_overlay pass any additional ↵Zac Medico2006-12-231-2/+5
| | | | | | positional and keyword parameters into the super constructor. svn path=/main/trunk/; revision=5368
* Make metadata_overlay use the autocommits attribute of the underlying database.Zac Medico2006-12-231-1/+1
| | | | svn path=/main/trunk/; revision=5357
* Pass a cache instance into metadata_overlay since it doesn't have enough ↵Zac Medico2006-12-231-3/+6
| | | | | | information to construct one itself. svn path=/main/trunk/; revision=5356
* When an unprivileged user runs portage (not in the portage group), use ↵Zac Medico2006-12-221-1/+4
| | | | | | metadata_overlay together with a volatile in-memory cache module in order to implement cache writes. This allows, for example, a user who's not in the portage group to run `ebuild foo.ebuild digest` (issue reported by Charlie Shepherd <masterdriverz@gentoo.org>). svn path=/main/trunk/; revision=5354
* More intelligently handle CacheCorruption errors in the writable cache.Zac Medico2006-12-201-0/+4
| | | | svn path=/main/trunk/; revision=5338
* Reverse the relationship between __contains__ and has_key in all cache ↵Zac Medico2006-10-261-1/+1
| | | | | | classes since python handles the "in" operator more efficiently than a has_key method call. svn path=/main/trunk/; revision=4821
* Replace relative imports with absolute imports for forward compatibility ↵Zac Medico2006-09-181-3/+3
| | | | | | with python 2.6. svn path=/main/trunk/; revision=4470
* Make it easy to pass alternative cache implementations into the constructor ↵Zac Medico2006-06-201-1/+2
| | | | | | as suggested by Brian Harring. svn path=/main/trunk/; revision=3547
* Use get() to simplify setitem logic as suggested by Brian Harring.Zac Medico2006-06-201-12/+10
| | | | svn path=/main/trunk/; revision=3546
* Fix it so that values are properly saved in the writable layer. Previously ↵Zac Medico2006-06-201-1/+3
| | | | | | they've been discarded, leading to regen on each access (only in cases where the user has altered an ebuild in the $PORTDIR). svn path=/main/trunk/; revision=3544
* Add a new cache.metadata_overlay module that layers a writable cache over a ↵Zac Medico2006-02-261-0/+91
readonly cache. svn path=/main/trunk/; revision=2792