summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Fix repoman breakage wrt _PackageMetadataWrapper._keys values.Zac Medico2008-06-251-1/+5
| | | | svn path=/main/trunk/; revision=10783
* After the depgraph caches the vardb state in a FakeVartree, to makeZac Medico2008-06-251-0/+8
| | | | | | some room on the heap, clear the vardbapi caches. svn path=/main/trunk/; revision=10782
* Implement __contains__, pop() and clear() for Package.metadata attributes.Zac Medico2008-06-251-0/+23
| | | | svn path=/main/trunk/; revision=10780
* Make clear_caches() call portage.dircache.clear().Zac Medico2008-06-251-0/+1
| | | | svn path=/main/trunk/; revision=10778
* Remove the BlockerDB._blocker_cache attribute and just create newZac Medico2008-06-251-4/+3
| | | | | | instances on demand instead of taking space on the heap. svn path=/main/trunk/; revision=10777
* For the Package.metadata attribute, only implement the dict interfaceZac Medico2008-06-251-55/+107
| | | | | | | | instead of actually inheriting from dict. This slightly decreases the memory footprint by defining __slots__ and storing items as object attributes. svn path=/main/trunk/; revision=10776
* Bug #229069 - Before deleting the depgraph, break references pointingZac Medico2008-06-251-0/+34
| | | | | | | to the depgraph from Package instances in the merge list. This helps reduce the heap size a lot. svn path=/main/trunk/; revision=10775
* Fix spelling of depgraph._complete_threshold.Zac Medico2008-06-241-3/+3
| | | | svn path=/main/trunk/; revision=10774
* If dep calculation time exceeds 20 seconds then automaticallyZac Medico2008-06-241-5/+16
| | | | | | | | enable "complete" mode since any performance difference is not as likely to be noticed by the user after this much time has passed. svn path=/main/trunk/; revision=10773
* Bug #229233 - Fix Atom -> str breakage in the depgraph.display_problems()Zac Medico2008-06-241-1/+1
| | | | | | package.provided warning message. svn path=/main/trunk/; revision=10771
* Clear dbapi caches just after deleting the depgraph in action_build().Zac Medico2008-06-241-0/+13
| | | | | | This trims down the heap size by a few megs, for bug #229069. svn path=/main/trunk/; revision=10769
* Fix some remaining corner cases that cause bug #220341 to reappearZac Medico2008-06-241-14/+15
| | | | | | intermittently. Thanks to pva for reporting. svn path=/main/trunk/; revision=10768
* Bug #228939 - Fix display list interaction with --tree mode to preventZac Medico2008-06-221-1/+4
| | | | | | display of a duplicate list. svn path=/main/trunk/; revision=10761
* Fix Atom -> str breakage in depgraph._show_slot_collision_notice(). ThanksZac Medico2008-06-211-1/+1
| | | | | | to Arfrever for reporting. svn path=/main/trunk/; revision=10758
* Fix Atom -> str breakage in depgraph.display_problems().Zac Medico2008-06-211-1/+1
| | | | svn path=/main/trunk/; revision=10755
* Bug #228595 - Use os.path.realpath() before comparing paths to thoseZac Medico2008-06-201-0/+1
| | | | | | | returned from portdbapi.getRepositoryPath() since those paths are also cannonical. svn path=/main/trunk/; revision=10746
* Make the visibility related config methods such as getMaskAtom() andZac Medico2008-06-201-8/+8
| | | | | | | getProfileMaskAtom() private since these methods really should take Package instances before we expose them as public api. svn path=/main/trunk/; revision=10739
* reenable warning about missing repository namesv2.2_rc1Marius Mauch2008-06-201-0/+14
| | | | svn path=/main/trunk/; revision=10735
* Document the new emerge <file> feature.Zac Medico2008-06-201-1/+1
| | | | svn path=/main/trunk/; revision=10732
* Fix typo.Zac Medico2008-06-201-1/+1
| | | | svn path=/main/trunk/; revision=10731
* Make emerge <path> path search for multiple owners of directories. ThisZac Medico2008-06-201-20/+38
| | | | | | | makes it possible to use `emerge /lib/modules` as a decent substitute for module-rebuild. svn path=/main/trunk/; revision=10730
* Bug #228075 - Explicitly call gc.collect() to try and free memoryZac Medico2008-06-181-0/+8
| | | | | | | when checking for blockers. This avoids a heap overflow that triggers 'Cannot allocate memory' errors (reported with python-2.5). svn path=/main/trunk/; revision=10717
* fix typoMarius Mauch2008-06-171-2/+2
| | | | svn path=/main/trunk/; revision=10690
* Re-enable vardbapi.cpv_all() cache now that bug #223417 is solved.Zac Medico2008-06-161-1/+1
| | | | svn path=/main/trunk/; revision=10661
* Make some post_merge() things conditional on the vdb lock being heldZac Medico2008-06-161-7/+10
| | | | | | (mtimedb commit and info dirs processing). svn path=/main/trunk/; revision=10659
* Add some write access checks in post_merge() in order to avoid triggeringZac Medico2008-06-161-3/+7
| | | | | | permission related exceptions. svn path=/main/trunk/; revision=10658
* Add support for and ACCEPT_CHOSTS variable that controls masking behaviorZac Medico2008-06-151-6/+4
| | | | | | | | | for binary packages wrt CHOST. The variable is a space separated list of chosts. It support regular expressions, so if the actual chost contains any special characters then the user must escape them when setting ACCEPT_CHOSTS. svn path=/main/trunk/; revision=10654
* Pass missing "installed" parameter into Package constructor.Zac Medico2008-06-121-1/+1
| | | | svn path=/main/trunk/; revision=10651
* Handle InvalidDependString in _package_cache.__setitem__().Zac Medico2008-06-111-4/+7
| | | | svn path=/main/trunk/; revision=10648
* Fix indent.Zac Medico2008-06-111-1/+1
| | | | svn path=/main/trunk/; revision=10646
* Handle InvalidDependString.Zac Medico2008-06-111-2/+7
| | | | svn path=/main/trunk/; revision=10645
* Bug #225767 - Suppress warnings for installed packages masked by keywordsZac Medico2008-06-111-1/+34
| | | | | | | if there is an equivalent ebuild in the portage tree (same cpv) with visible keywords. svn path=/main/trunk/; revision=10644
* Remove unused PackageVirtualDbapi.__getitem__() method.Zac Medico2008-06-091-15/+0
| | | | svn path=/main/trunk/; revision=10612
* Add CONTENTS indexing support for optimization of owner lookups. TheZac Medico2008-06-091-9/+6
| | | | | | | | | | | | | | | | | | | | vardbapi cache maintains a hash table (inside vdb_metadata.pickle) that serves to index package contents by mapping the basename of file to a list of possible packages that own it. This is used to optimize owner lookups by narrowing the search down to a smaller number of packages. It increases the size of vdb_metadata.pickle by approximately 30% and it's used in the following cases: * When an unexpected file collision occurs (whether or not collision-protect is enabled) * `emerge <filename>` * `portageq owners` The svn path=/main/trunk/; revision=10609
* Make repoman pass Package instances into run_checks(), so that the checksZac Medico2008-06-081-2/+8
| | | | | | can use the Package.mtime and inherited attributes. svn path=/main/trunk/; revision=10600
* Make load_emerge_config() filter out empty PORTAGE_CONFIGROOT and ROOTZac Medico2008-06-071-1/+3
| | | | | | values, and those containing only whitespace. svn path=/main/trunk/; revision=10594
* Add a PackageVirtualDbapi.__getitem__() method.Zac Medico2008-06-061-0/+15
| | | | svn path=/main/trunk/; revision=10588
* Add Package.counter and mtime attributes.Zac Medico2008-06-051-3/+20
| | | | svn path=/main/trunk/; revision=10587
* Use sets for more accurate cache modification counts BlockerCache and vardbapi.Zac Medico2008-06-041-5/+5
| | | | svn path=/main/trunk/; revision=10578
* Use platform module to make it clear what we're displaying. Instead ofZac Medico2008-06-041-5/+5
| | | | | | | an 'uname -mrp' call use platform.platform() to describe the system in emerge --info. (branches/prefix r10555) svn path=/main/trunk/; revision=10575
* Update --depclean and package.provided docs to indicate interactionZac Medico2008-06-031-16/+31
| | | | | | between them. svn path=/main/trunk/; revision=10563
* Tweak the installed masked code from bug #223447 so that it less noisyZac Medico2008-06-031-3/+4
| | | | | | | by suppressing masking messages for packages that haven't been pulled into the current dependency graph. svn path=/main/trunk/; revision=10553
* Add modification threshold for BlockerCache.flush(), to avoid wasteful IO.Zac Medico2008-06-031-6/+10
| | | | svn path=/main/trunk/; revision=10549
* Fix typo.Zac Medico2008-06-011-1/+1
| | | | svn path=/main/trunk/; revision=10538
* Mention masked packages in another --resume message.Zac Medico2008-06-011-3/+3
| | | | svn path=/main/trunk/; revision=10535
* Reference depgraph.UnsatisfiedResumeDep instead of mydepgraph since theZac Medico2008-06-011-1/+1
| | | | | | latter can trigger an UnboundLocalError in some cases (^C for example). svn path=/main/trunk/; revision=10533
* Update the --skipfirst dropped packages warning to mention "masking"Zac Medico2008-06-011-1/+2
| | | | | | in addition to unsatisfied dependencies. svn path=/main/trunk/; revision=10532
* Update the UnsatisfiedResumeDep display to distinguish masked packagesZac Medico2008-06-011-6/+13
| | | | | | from those with unsatisfied dependencies. svn path=/main/trunk/; revision=10529
* Revert changes wrt argument atoms in the previous commit since it's notZac Medico2008-06-011-10/+8
| | | | | | really useful. svn path=/main/trunk/; revision=10528
* Make --skipfirst tolerate masked packages by dropping them (similar toZac Medico2008-06-011-10/+18
| | | | | | how it would drop a package that has an unsatisfied dependency). svn path=/main/trunk/; revision=10526