summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
Commit message (Collapse)AuthorAgeFilesLines
* When using the spawn's returnpid parameter, manually remove the returned ↵Zac Medico2007-01-031-0/+1
| | | | | | pids from portage_exec.spawned_pids. svn path=/main/trunk/; revision=5452
* Allow - in elog module namesMarius Mauch2007-01-031-0/+2
| | | | svn path=/main/trunk/; revision=5450
* add support for scanning of build logs for common issues #111436Mike Frysinger2007-01-031-0/+2
| | | | svn path=/main/trunk/; revision=5449
* Try to create DISTDIR before disabling fetch due to it's nonexistence. ↵Zac Medico2007-01-021-7/+7
| | | | | | Thanks to astinus for reporting. svn path=/main/trunk/; revision=5448
* Optimize dep_zapdeps to work without a vartree when called by repoman.Zac Medico2007-01-021-7/+14
| | | | svn path=/main/trunk/; revision=5444
* Don't bother to list the contents of directories before they are unmerged ↵Zac Medico2007-01-021-14/+5
| | | | | | since it triggers unnecessary stat calls. Thanks to James Cloos <cloos@jhcloos.com> for reporting. svn path=/main/trunk/; revision=5443
* Fix the writemsg noiselevel from the previous commit.Zac Medico2007-01-021-1/+1
| | | | svn path=/main/trunk/; revision=5441
* For bug #159638, fix the UnboundLocalError in vartree.getprovide().Zac Medico2007-01-021-5/+8
| | | | svn path=/main/trunk/; revision=5440
* Use slot atom matching to simplify detection of downgrades relative to ↵Zac Medico2006-12-311-14/+12
| | | | | | installed packages. svn path=/main/trunk/; revision=5437
* Send errors in elog_process() to stderr via writemsg.Zac Medico2006-12-311-4/+6
| | | | svn path=/main/trunk/; revision=5433
* Use return values instead of direct sys.exit(123) calls when a merge fails.Zac Medico2006-12-301-19/+11
| | | | svn path=/main/trunk/; revision=5432
* Use a try/finally block to ensure that the alarm will always be cancelled ↵Zac Medico2006-12-301-2/+4
| | | | | | appropriately. svn path=/main/trunk/; revision=5431
* For bug #141361, use an alarm signal to implement a 1 minute timeout for ↵Zac Medico2006-12-301-0/+9
| | | | | | processing inside an elog module. svn path=/main/trunk/; revision=5430
* Correct the package.mask lookup order in getmaskingreason().Zac Medico2006-12-301-4/+4
| | | | svn path=/main/trunk/; revision=5429
* For bug #151326, prevent invalid comments from being returned by ↵Zac Medico2006-12-301-3/+10
| | | | | | portage.getmaskingreason(). svn path=/main/trunk/; revision=5428
* Improve the logic for bug #159360 to ensure that an actual upgrade is ↵Zac Medico2006-12-301-6/+9
| | | | | | selected without any downgrades. svn path=/main/trunk/; revision=5422
* Be slightly more defensive when loading the vdb/blockers caches.Zac Medico2006-12-301-1/+2
| | | | svn path=/main/trunk/; revision=5421
* For bug #159360, make sure that the highest available new-style virtual is ↵Zac Medico2006-12-301-11/+48
| | | | | | selected even if it has depes that aren't already installed. svn path=/main/trunk/; revision=5419
* Do some minor cleanup in the dep_zapdeps downgrade avoidance logic (while ↵Zac Medico2006-12-291-9/+9
| | | | | | working toward a fix for bug #159360). svn path=/main/trunk/; revision=5414
* For bug #159295 and python-2.3 compatibility, don't assume that dict.update ↵Zac Medico2006-12-281-1/+2
| | | | | | can use an iterable. svn path=/main/trunk/; revision=5409
* Make vardbapi.cpv_counter() use aux_get for caching.Zac Medico2006-12-281-0/+4
| | | | svn path=/main/trunk/; revision=5407
* Make vartree.getslot() use the dbapi for aux_get caching.Zac Medico2006-12-281-7/+3
| | | | svn path=/main/trunk/; revision=5406
* Allow the list of keys cached by the vardb to change without forcing a cache ↵Zac Medico2006-12-281-0/+4
| | | | | | version bump. svn path=/main/trunk/; revision=5405
* Make portdbapi.flush_cache() consistent with vardbapi.flush_cache().Zac Medico2006-12-281-3/+2
| | | | svn path=/main/trunk/; revision=5403
* Use a pickle to cache vdb metadata. This greatly improves the performance ↵Zac Medico2006-12-281-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 Medico2006-12-271-1/+2
| | | | | | breakage). svn path=/main/trunk/; revision=5398
* Docstrings for mergeme...Alec Warner2006-12-251-0/+26
| | | | svn path=/main/trunk/; revision=5386
* more docstrings..Alec Warner2006-12-251-14/+111
| | | | svn path=/main/trunk/; revision=5385
* Make sure that bindbapi makes EAPI correctly default to 0 in all possible cases.Zac Medico2006-12-241-3/+3
| | | | svn path=/main/trunk/; revision=5384
* Make bindbapi.aux_get() selectively cache metadata in order to optimize dep ↵Zac Medico2006-12-241-17/+31
| | | | | | matching (like portdbapi does). svn path=/main/trunk/; revision=5383
* 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
* 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
* 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
* Pass a cache instance into metadata_overlay since it doesn't have enough ↵Zac Medico2006-12-231-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 Medico2006-12-221-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 Warner2006-12-221-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 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-211-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 Medico2006-12-211-2/+1
| | | | svn path=/main/trunk/; revision=5344
* 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
* 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