summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fix create_world_atom() to take a Package instance in it's arguments.Zac Medico2008-05-311-11/+7
| | | | svn path=/main/trunk/; revision=10521
* * Tweak isvalidatom() to treat "null" category as valid, but missing categoryZac Medico2008-05-311-2/+1
| | | | | | | | | | | as invalid (previously both where treated as invalid). * Fix a spot inside emerge's unmerge() function that sometimes generates invalid atoms by adding an unnecessary "=" to the front. Even when in cases that resulted in a valid atom here, adding the "=" was redundant because dep_expand() does that automatically now (for backward compat). svn path=/main/trunk/; revision=10516
* Clean up reference to parts of the first graph for --skipfirst.Zac Medico2008-05-311-2/+3
| | | | svn path=/main/trunk/; revision=10514
* Optimize the new --skipfirst code so that in only has to buildZac Medico2008-05-311-6/+35
| | | | | | | | | a new depgraph one time when there are unsatisfied deps. This works by recursively traversing the digraph to remove the parent packages whose deps become unsatisfied when their dependencies are pruned from the mergelist. svn path=/main/trunk/; revision=10513
* Pass a mutable config instance into get_masking_status(). CurrentlyZac Medico2008-05-301-1/+1
| | | | | | | it doesn't matter for installed packages but it's safer to be consistent to avoid accidental breakage in the future. svn path=/main/trunk/; revision=10503
* When dropping deps from the resume list, make sure that the loop can'tZac Medico2008-05-291-1/+2
| | | | | | be infinite. svn path=/main/trunk/; revision=10493
* Use Package.metadata instead of calling dbapi.aux_get().Zac Medico2008-05-291-2/+1
| | | | svn path=/main/trunk/; revision=10491