Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | When an unprivileged user runs portage (not in the portage group), use ↵ | Zac Medico | 2006-12-22 | 1 | -1/+1 |
| | | | | | | 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 | ||||
* | Reverse the relationship between __contains__ and has_key in all cache ↵ | Zac Medico | 2006-10-26 | 1 | -1/+1 |
| | | | | | | classes since python handles the "in" operator more efficiently than a has_key method call. svn path=/main/trunk/; revision=4821 | ||||
* | Enable recognition of _mtime_ that doesn't rely on cache mtime mangling. | Zac Medico | 2006-10-24 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=4808 | ||||
* | Catch a ValueError caused by corrupt cache for bug #149134. | Zac Medico | 2006-09-28 | 1 | -1/+5 |
| | | | | svn path=/main/trunk/; revision=4545 | ||||
* | Move the open call out of the inner try block. | Zac Medico | 2006-09-22 | 1 | -4/+2 |
| | | | | svn path=/main/trunk/; revision=4506 | ||||
* | Use finally: to ensure that the file is closed properly. | Zac Medico | 2006-09-22 | 1 | -8/+9 |
| | | | | svn path=/main/trunk/; revision=4504 | ||||
* | Improve and simplify __getitem__ error handling. | Zac Medico | 2006-09-22 | 1 | -14/+8 |
| | | | | svn path=/main/trunk/; revision=4502 | ||||
* | Use fstat to when retrieve cache timestamps and avoid a race. | Zac Medico | 2006-09-22 | 1 | -13/+3 |
| | | | | svn path=/main/trunk/; revision=4501 | ||||
* | Convert stat timestamps to long for compatibility with python-2.5, which ↵ | Zac Medico | 2006-09-22 | 1 | -1/+2 |
| | | | | | | returns floats for timestamps. svn path=/main/trunk/; revision=4499 | ||||
* | Replace relative imports with absolute imports for forward compatibility ↵ | Zac Medico | 2006-09-18 | 1 | -4/+4 |
| | | | | | | with python 2.6. svn path=/main/trunk/; revision=4470 | ||||
* | make elog mail module always set the 'From' header for rfc2822 compliance | Marius Mauch | 2006-06-10 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=3483 | ||||
* | Use iteritems() instead of items() because an iterator uses less memory. | Zac Medico | 2006-05-14 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=3350 | ||||
* | Write raw bytes instead of attempting to encode as utf-8 for bug #133287. | Zac Medico | 2006-05-14 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=3349 | ||||
* | Properly encode metadata strings as utf-8 in order to avoid ↵ | Zac Medico | 2006-05-07 | 1 | -1/+1 |
| | | | | | | | | "UnicodeEncodeError: 'ascii' codec can't encode character" exception when given a unicode string. svn path=/main/trunk/; revision=3328 | ||||
* | Replace inappropriate use of writelines with normal write. | Zac Medico | 2006-05-07 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=3327 | ||||
* | Prevent an IOError with errno != ENOENT from being swallowed in ↵ | Zac Medico | 2006-03-18 | 1 | -5/+5 |
| | | | | | | flat_hash._setitem(). svn path=/main/trunk/; revision=2944 | ||||
* | Replace hard coded number 2 in cache modules with errno.ENOENT. | Zac Medico | 2006-03-18 | 1 | -3/+3 |
| | | | | svn path=/main/trunk/; revision=2938 | ||||
* | Only write known keys in flat_hash cache entries (filter out UNUSED_* keys). | Zac Medico | 2006-02-26 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=2787 | ||||
* | replacement cache subsystem that's gestated in 2.1 and 3.0. | Brian Harring | 2005-11-05 | 1 | -0/+129 |
it rocks your world, baby. svn path=/main/branches/2.0/; revision=2257 |