Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use a pickle to cache vdb metadata. This greatly improves the performance ↵ | Zac Medico | 2006-12-28 | 1 | -0/+95 |
| | | | | | | for loading the vdb when the buffer cache is cold. svn path=/main/trunk/; revision=5402 | ||||
* | Allow dep_check to use the global db for compatibility (fixes python-updater ↵ | Zac Medico | 2006-12-27 | 1 | -1/+2 |
| | | | | | | breakage). svn path=/main/trunk/; revision=5398 | ||||
* | Docstrings for mergeme... | Alec Warner | 2006-12-25 | 1 | -0/+26 |
| | | | | svn path=/main/trunk/; revision=5386 | ||||
* | more docstrings.. | Alec Warner | 2006-12-25 | 1 | -14/+111 |
| | | | | svn path=/main/trunk/; revision=5385 | ||||
* | Make sure that bindbapi makes EAPI correctly default to 0 in all possible cases. | Zac Medico | 2006-12-24 | 1 | -3/+3 |
| | | | | svn path=/main/trunk/; revision=5384 | ||||
* | Make bindbapi.aux_get() selectively cache metadata in order to optimize dep ↵ | Zac Medico | 2006-12-24 | 1 | -17/+31 |
| | | | | | | matching (like portdbapi does). svn path=/main/trunk/; revision=5383 | ||||
* | Clone cached match results before returning them from portdbapi.xmatch(). ↵ | Zac Medico | 2006-12-24 | 1 | -2/+2 |
| | | | | | | Thanks to Brian <dol-sen@telus.net> for reporting this issue. svn path=/main/trunk/; revision=5382 | ||||
* | cptot appears to be unused, punting it along with this commented out ↵ | Alec Warner | 2006-12-24 | 1 | -11/+0 |
| | | | | | | function, it appears to be unused as well. svn path=/main/trunk/; revision=5372 | ||||
* | Docstrings for doebuild | Alec Warner | 2006-12-24 | 1 | -0/+48 |
| | | | | svn path=/main/trunk/; revision=5371 | ||||
* | More code cleanup, packagetree appears to be completely unused, so lets ↵ | Alec Warner | 2006-12-24 | 1 | -37/+2 |
| | | | | | | remove it in favor of inheriting from object svn path=/main/trunk/; revision=5370 | ||||
* | move actionmap_deps out of global scope and into doebuild where it is ↵ | Alec Warner | 2006-12-23 | 1 | -15/+45 |
| | | | | | | actually used, add docstrings to config class in the meantime. svn path=/main/trunk/; revision=5366 | ||||
* | More Docstrings in portage.py | Alec Warner | 2006-12-23 | 1 | -17/+118 |
| | | | | svn path=/main/trunk/; revision=5365 | ||||
* | disable display of elapsed time for collision-protect as it's for ↵ | Marius Mauch | 2006-12-23 | 1 | -1/+1 |
| | | | | | | benchmarking purposes and useless to most people. svn path=/main/trunk/; revision=5364 | ||||
* | startime is set up in treewalk, so no need to do it globally... | Alec Warner | 2006-12-23 | 1 | -2/+0 |
| | | | | svn path=/main/trunk/; revision=5362 | ||||
* | Combine two default EAPI settings in portdbapi.aux_get(). | Zac Medico | 2006-12-23 | 1 | -7/+3 |
| | | | | svn path=/main/trunk/; revision=5359 | ||||
* | Pass a cache instance into metadata_overlay since it doesn't have enough ↵ | Zac Medico | 2006-12-23 | 1 | -1/+3 |
| | | | | | | information to construct one itself. svn path=/main/trunk/; revision=5356 | ||||
* | When an unprivileged user runs portage (not in the portage group), use ↵ | Zac Medico | 2006-12-22 | 1 | -5/+14 |
| | | | | | | 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 | ||||
* | Remove two old functions, appear to be relics from 2.0.X branch, no longer ↵ | Alec Warner | 2006-12-22 | 1 | -26/+0 |
| | | | | | | used by portage or gentoolkit or esearch svn path=/main/trunk/; revision=5353 | ||||
* | Use a pipe instead of a temp file for the depend phase. | Zac Medico | 2006-12-22 | 1 | -50/+33 |
| | | | | svn path=/main/trunk/; revision=5350 | ||||
* | Fix the "help" phase so that it works without build dirs. | Zac Medico | 2006-12-22 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5347 | ||||
* | Create a backward compatibility mode for dep_check() so that emerge can use ↵ | Zac Medico | 2006-12-21 | 1 | -1/+2 |
| | | | | | | it to gracefully deal with installed packages that have invalid atoms or dep syntax. svn path=/main/trunk/; revision=5345 | ||||
* | Use the return value from setdefault to avoid an extra dict lookup. | Zac Medico | 2006-12-21 | 1 | -2/+1 |
| | | | | svn path=/main/trunk/; revision=5344 | ||||
* | For bug #158632, make aux_get caching safe for missing values in cache entries. | Zac Medico | 2006-12-21 | 1 | -3/+4 |
| | | | | svn path=/main/trunk/; revision=5342 | ||||
* | When a removal phase fails, tell the user where the ebuild is and advise ↵ | Zac Medico | 2006-12-21 | 1 | -6/+8 |
| | | | | | | them that the ebuild can be removed in order to skip the removal phases. svn path=/main/trunk/; revision=5340 | ||||
* | Add missing newlines to the warning message that's printed when the user has ↵ | Zac Medico | 2006-12-20 | 1 | -4/+4 |
| | | | | | | distlocks enabled together with skiprocheck and the filesystem is readonly. svn path=/main/trunk/; revision=5331 | ||||
* | For bug #158608, don't attempt to use distlocks when it's detected that the ↵ | Zac Medico | 2006-12-20 | 1 | -17/+13 |
| | | | | | | filesystem is readonly (unless "skiprocheck" is in FEATURES for some strange reason). svn path=/main/trunk/; revision=5330 | ||||
* | For bug #158558, make the unmerge phase do automatic cleanup for broken ↵ | Zac Medico | 2006-12-19 | 1 | -1/+6 |
| | | | | | | vardbapi.move_ent() in portage versions before 2.1.2. svn path=/main/trunk/; revision=5328 | ||||
* | For bug #158558, fix broken ebuild rename logic in vardbapi.move_ent(). | Zac Medico | 2006-12-19 | 1 | -7/+11 |
| | | | | svn path=/main/trunk/; revision=5327 | ||||
* | Make binarytree.move_ent() properly update PF. | Zac Medico | 2006-12-19 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=5326 | ||||
* | New elog modules for dismerging messages into a single file/mail | Marius Mauch | 2006-12-19 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=5325 | ||||
* | Increase cache hits in portdbapi.xmatch(). | Zac Medico | 2006-12-19 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=5323 | ||||
* | Make portdbapi cache SLOT in addition to EAPI and KEYWORDS in order to ↵ | Zac Medico | 2006-12-18 | 1 | -22/+26 |
| | | | | | | further optimize dep matching/selection. svn path=/main/trunk/; revision=5315 | ||||
* | Make use_reduce raise an InvalidDependString exception for use? conditionals ↵ | Zac Medico | 2006-12-16 | 1 | -18/+19 |
| | | | | | | that aren't followed by parenthesis and add appropriate exception handling in dep_check. svn path=/main/trunk/; revision=5305 | ||||
* | Make dep_check validate all depstring atoms in order to prevent problems ↵ | Zac Medico | 2006-12-16 | 1 | -0/+3 |
| | | | | | | from occuring later due to unexpected invalid atoms. svn path=/main/trunk/; revision=5304 | ||||
* | Split ACCEPT_KEYWORDS before entering the loop for better efficiency. | Zac Medico | 2006-12-16 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=5300 | ||||
* | Make sure eapi is defined in order to prevent a NameError. | Zac Medico | 2006-12-16 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=5299 | ||||
* | Cache KEYWORDS and EAPI metadata values in order to speed up ↵ | Zac Medico | 2006-12-16 | 1 | -9/+15 |
| | | | | | | portdbapi.gvisible() calls. This greatly improves repoman performance (help emerge a little too). svn path=/main/trunk/; revision=5298 | ||||
* | Move the biolerplate cpv_all() implementation from portdbapi to dbapi. | Zac Medico | 2006-12-13 | 1 | -6/+6 |
| | | | | svn path=/main/trunk/; revision=5281 | ||||
* | All portage.fetch() to succeed even if FETCHCOMMAND and RESUMECOMMAND aren't ↵ | Zac Medico | 2006-12-11 | 1 | -6/+9 |
| | | | | | | defined. svn path=/main/trunk/; revision=5274 | ||||
* | Make the fetch phase bail out if FETCHCOMMAND or RESUMECOMMAND are missing. ↵ | Zac Medico | 2006-12-11 | 1 | -0/+6 |
| | | | | | | Thanks to Flameeyes for reporting. svn path=/main/trunk/; revision=5273 | ||||
* | Ensure that the root of the vdb exists before attempting to lock it. Thanks ↵ | Zac Medico | 2006-12-11 | 1 | -0/+2 |
| | | | | | | to Flameeyes for reporting. svn path=/main/trunk/; revision=5267 | ||||
* | Initialize the match cache in the bindbapi constructor. | Zac Medico | 2006-12-10 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=5254 | ||||
* | Cache the results of fakedbapi.match() calls and clear the cache ↵ | Zac Medico | 2006-12-10 | 1 | -0/+16 |
| | | | | | | automatically when necessary. svn path=/main/trunk/; revision=5253 | ||||
* | Use dep_getcpv() inside dep_expand() for code sharing and caching. | Zac Medico | 2006-12-10 | 1 | -15/+5 |
| | | | | svn path=/main/trunk/; revision=5252 | ||||
* | Avoid unnecessary dbapi.cp_list() calls inside cpv_expand(). | Zac Medico | 2006-12-10 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=5249 | ||||
* | Add use.force support to dep_check for repoman especially. Thanks to ↵ | Zac Medico | 2006-12-09 | 1 | -1/+5 |
| | | | | | | Flameeyes for reporting and tesing. svn path=/main/trunk/; revision=5239 | ||||
* | Fix a type from the previous commit. | Zac Medico | 2006-12-09 | 1 | -2/+1 |
| | | | | svn path=/main/trunk/; revision=5237 | ||||
* | Fix broken SLOT update logic in fakedbapi.cpv_inject(). | Zac Medico | 2006-12-09 | 1 | -3/+7 |
| | | | | svn path=/main/trunk/; revision=5236 | ||||
* | Remove locking from dbapi.aux_update() implementations so that the caller ↵ | Zac Medico | 2006-12-09 | 1 | -21/+10 |
| | | | | | | can handle locking instead. svn path=/main/trunk/; revision=5230 | ||||
* | Clean up vardbapi.aux_get(). | Zac Medico | 2006-12-09 | 1 | -14/+14 |
| | | | | svn path=/main/trunk/; revision=5229 |