summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Use a frozenset instead of a list for containment tests.Zac Medico2008-05-291-3/+2
| | | | svn path=/main/trunk/; revision=10489
* Fix typo.Zac Medico2008-05-291-1/+1
| | | | svn path=/main/trunk/; revision=10487
* Use izip() to eliminate temporary dict instances.Zac Medico2008-05-291-18/+19
| | | | svn path=/main/trunk/; revision=10485
* Clean up references to unsatisfied_parents.Zac Medico2008-05-291-1/+1
| | | | svn path=/main/trunk/; revision=10482
* Clean up reference to dropped_tasks when finished.Zac Medico2008-05-291-0/+1
| | | | svn path=/main/trunk/; revision=10481
* When --skipfirst drops packages due to unsatisfied dependencies, displayZac Medico2008-05-291-2/+13
| | | | | | a warning message with the list of dropped packages. svn path=/main/trunk/; revision=10480
* Clean up exception reference from previous commit.Zac Medico2008-05-291-0/+1
| | | | svn path=/main/trunk/; revision=10479
* Make --skipfirst handle missing dependencies by dropping the merge tasksZac Medico2008-05-291-11/+34
| | | | | | | | | | | | | that have missing dependencies. This involves creating an entirely new depgraph each time that a missing dependency is discovered. This isn't the most efficient approach but it's simple and it works well. This new behavior can server as a fix for bug #12768 by calling emerge --resume --skipfirst each time that emerge exits unsuccessfully. This was possible before, but now packages with unsatisfied dependencies will be properly identified and dropped from the list. svn path=/main/trunk/; revision=10478
* Filter out installed keyword masked packages when populatingZac Medico2008-05-291-1/+3
| | | | | | | RootConfig.visible_pkgs since otherwise such packages can trigger undesireable results inside depgraph._iter_atoms_for_pkg(). svn path=/main/trunk/; revision=10471
* Fix the code from bug #220341 so that it matches the atom against theZac Medico2008-05-291-2/+12
| | | | | | installed package, like it's supposed to. svn path=/main/trunk/; revision=10470
* Skip redundant Atom construction in select_package().Zac Medico2008-05-281-1/+2
| | | | svn path=/main/trunk/; revision=10468
* Update the fix from bug #220341 to protect USE deps from being neglected.Zac Medico2008-05-281-4/+13
| | | | svn path=/main/trunk/; revision=10467
* Bug #223447 - Adjust the "installed packages are masked" display to recognizeZac Medico2008-05-281-9/+44
| | | | | | | | | | packages that are masked by keywords and are eligible for uninstallation by depclean. This is a workaround for the fact that depclean may fail to recognize that the package is eligible for uninstall due to differences in visibility filtering which can lead to differences in || dep evaluation. TODO: Share visibility code to fix this inconsistency. svn path=/main/trunk/; revision=10465
* Fix breakage due to frozenset being immutable.Zac Medico2008-05-271-2/+2
| | | | svn path=/main/trunk/; revision=10455
* Fix a typo from the previous commit.Zac Medico2008-05-271-1/+1
| | | | svn path=/main/trunk/; revision=10450