summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Clone cached match results before returning them from portdbapi.xmatch(). ↵Zac Medico2006-12-241-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 Warner2006-12-241-11/+0
| | | | | | function, it appears to be unused as well. svn path=/main/trunk/; revision=5372
* Docstrings for doebuildAlec Warner2006-12-241-0/+48
| | | | svn path=/main/trunk/; revision=5371
* More code cleanup, packagetree appears to be completely unused, so lets ↵Alec Warner2006-12-241-37/+2
| | | | | | remove it in favor of inheriting from object svn path=/main/trunk/; revision=5370
* 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
* move actionmap_deps out of global scope and into doebuild where it is ↵Alec Warner2006-12-231-15/+45
| | | | | | actually used, add docstrings to config class in the meantime. svn path=/main/trunk/; revision=5366
* More Docstrings in portage.pyAlec Warner2006-12-231-17/+118
| | | | svn path=/main/trunk/; revision=5365
* disable display of elapsed time for collision-protect as it's for ↵Marius Mauch2006-12-231-1/+1
| | | | | | benchmarking purposes and useless to most people. svn path=/main/trunk/; revision=5364
* List package in summary logfileMarius Mauch2006-12-231-2/+2
| | | | svn path=/main/trunk/; revision=5363
* startime is set up in treewalk, so no need to do it globally...Alec Warner2006-12-231-2/+0
| | | | svn path=/main/trunk/; revision=5362
* Combine two default EAPI settings in portdbapi.aux_get().Zac Medico2006-12-231-7/+3
| | | | svn path=/main/trunk/; revision=5359
* 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-232-4/+9
| | | | | | information to construct one itself. svn path=/main/trunk/; revision=5356
* Add volatile cache module missing from the previous commit.Zac Medico2006-12-221-0/+25
| | | | svn path=/main/trunk/; revision=5355
* When an unprivileged user runs portage (not in the portage group), use ↵Zac Medico2006-12-223-7/+19
| | | | | | 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 Warner2006-12-221-26/+0
| | | | | | used by portage or gentoolkit or esearch svn path=/main/trunk/; revision=5353
* I hate docstringsAlec Warner2006-12-221-0/+78
| | | | svn path=/main/trunk/; revision=5351
* Use a pipe instead of a temp file for the depend phase.Zac Medico2006-12-221-50/+33
| | | | svn path=/main/trunk/; revision=5350
* Fix the "help" phase so that it works without build dirs.Zac Medico2006-12-221-1/+1
| | | | svn path=/main/trunk/; revision=5347
* Create a backward compatibility mode for dep_check() so that emerge can use ↵Zac Medico2006-12-212-1/+12
| | | | | | 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 Medico2006-12-211-2/+1
| | | | svn path=/main/trunk/; revision=5344
* For bug #158658, fix the 'TypeError: int argument required' that happens in ↵Zac Medico2006-12-211-1/+2
| | | | | | the finalize() routine. svn path=/main/trunk/; revision=5343
* For bug #158632, make aux_get caching safe for missing values in cache entries.Zac Medico2006-12-211-3/+4
| | | | svn path=/main/trunk/; revision=5342
* When a removal phase fails, tell the user where the ebuild is and advise ↵Zac Medico2006-12-211-6/+8
| | | | | | them that the ebuild can be removed in order to skip the removal phases. svn path=/main/trunk/; revision=5340
* More intelligently handle CacheCorruption errors in the writable cache.Zac Medico2006-12-201-0/+4
| | | | svn path=/main/trunk/; revision=5338
* Add missing newlines to the warning message that's printed when the user has ↵Zac Medico2006-12-201-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 Medico2006-12-201-17/+13
| | | | | | filesystem is readonly (unless "skiprocheck" is in FEATURES for some strange reason). svn path=/main/trunk/; revision=5330
* Fix an import statement typo.Zac Medico2006-12-201-1/+1
| | | | svn path=/main/trunk/; revision=5329
* For bug #158558, make the unmerge phase do automatic cleanup for broken ↵Zac Medico2006-12-191-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 Medico2006-12-191-7/+11
| | | | svn path=/main/trunk/; revision=5327
* Make binarytree.move_ent() properly update PF.Zac Medico2006-12-191-0/+1
| | | | svn path=/main/trunk/; revision=5326
* New elog modules for dismerging messages into a single file/mailMarius Mauch2006-12-193-1/+66
| | | | svn path=/main/trunk/; revision=5325
* Increase cache hits in portdbapi.xmatch().Zac Medico2006-12-191-1/+4
| | | | svn path=/main/trunk/; revision=5323
* Make portdbapi cache SLOT in addition to EAPI and KEYWORDS in order to ↵Zac Medico2006-12-181-22/+26
| | | | | | further optimize dep matching/selection. svn path=/main/trunk/; revision=5315
* Make use_reduce raise an InvalidDependString exception for use? conditionals ↵Zac Medico2006-12-162-21/+24
| | | | | | 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 Medico2006-12-161-0/+3
| | | | | | from occuring later due to unexpected invalid atoms. svn path=/main/trunk/; revision=5304
* Fix global updates error handling to prevent a traceback with python-2.5 as ↵Zac Medico2006-12-161-3/+2
| | | | | | reported in bug #158264. svn path=/main/trunk/; revision=5303
* Split ACCEPT_KEYWORDS before entering the loop for better efficiency.Zac Medico2006-12-161-1/+2
| | | | svn path=/main/trunk/; revision=5300
* Make sure eapi is defined in order to prevent a NameError.Zac Medico2006-12-161-0/+1
| | | | svn path=/main/trunk/; revision=5299
* Cache KEYWORDS and EAPI metadata values in order to speed up ↵Zac Medico2006-12-161-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 Medico2006-12-131-6/+6
| | | | svn path=/main/trunk/; revision=5281
* All portage.fetch() to succeed even if FETCHCOMMAND and RESUMECOMMAND aren't ↵Zac Medico2006-12-111-6/+9
| | | | | | defined. svn path=/main/trunk/; revision=5274
* Make the fetch phase bail out if FETCHCOMMAND or RESUMECOMMAND are missing. ↵Zac Medico2006-12-111-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 Medico2006-12-111-0/+2
| | | | | | to Flameeyes for reporting. svn path=/main/trunk/; revision=5267
* Add an allow_blockers parameter to isvalidatom so that the behavior is ↵Zac Medico2006-12-101-2/+2
| | | | | | optional. Thanks to Brian Harring for the suggestion. svn path=/main/trunk/; revision=5264
* For bug #157734, fix repoman isvalidatom() checks. Thanks to Brian Harring ↵Zac Medico2006-12-101-0/+2
| | | | | | for the patch. svn path=/main/trunk/; revision=5263
* Don't collapse the tuple into a hash, since dict can use __eq__ to avoid ↵Zac Medico2006-12-101-3/+3
| | | | | | problems with hash collisions. Thanks to Brian Harring for reporting. svn path=/main/trunk/; revision=5262
* To minimize memory consumption and maximize performance, use hash values for ↵Zac Medico2006-12-101-2/+3
| | | | | | cache keys. svn path=/main/trunk/; revision=5260
* Initialize the match cache in the bindbapi constructor.Zac Medico2006-12-101-0/+1
| | | | svn path=/main/trunk/; revision=5254
* Cache the results of fakedbapi.match() calls and clear the cache ↵Zac Medico2006-12-101-0/+16
| | | | | | automatically when necessary. svn path=/main/trunk/; revision=5253