summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix --update greedy atoms logic so that it only pulls in packages thatZac Medico2008-04-081-1/+1
| | | | | | actually match the given atom. svn path=/main/trunk/; revision=9755
* Remove the depgraph._get_arg_for_pkg() method since _iter_atoms_for_pkg()Zac Medico2008-04-081-16/+3
| | | | | | does the job. svn path=/main/trunk/; revision=9745
* Remove unused iter_atoms() function.Zac Medico2008-04-081-15/+0
| | | | svn path=/main/trunk/; revision=9744
* * Optimize metadata caching in pordbapi and bindbapi so that cache isZac Medico2008-04-071-38/+41
| | | | | | | | never pulled for the same package twice. * Cache a Package instances constructed during package selection and reuse them during later package selections. svn path=/main/trunk/; revision=9741
* Move all the --update greedy slot logic to depgraph.select_files().Zac Medico2008-04-071-13/+6
| | | | svn path=/main/trunk/; revision=9738
* Move virtuals logic from DepcheckCompositeDB.match() toZac Medico2008-04-071-16/+15
| | | | | | | depgraph._iter_atoms_for_pkg() since it's more generally useful there. svn path=/main/trunk/; revision=9737
* Fix variable name collision in DepcheckCompositeDB.match().Zac Medico2008-04-061-2/+2
| | | | svn path=/main/trunk/; revision=9736
* Fix DepcheckCompositeDB.match() so that it doesn't assume that everyZac Medico2008-04-061-17/+5
| | | | | | DependencyArg instance has an "atom" attribute. svn path=/main/trunk/; revision=9735
* Rename the CompositDbapi class to DepcheckCompositeDB since it's reallyZac Medico2008-04-061-2/+2
| | | | | | | a special pupose class just for dep_check() and it doesn't implement the full dbapi interface. svn path=/main/trunk/; revision=9731
* Fix the CompositDbapi.match() logic wrt "selective" behavior and installedZac Medico2008-04-061-6/+15
| | | | | | | packages so that it correctly handles false argument matches due to PROVIDE when a corresponding new-style virtual exists. svn path=/main/trunk/; revision=9729
* Handle a potential InvalidDependString exception insideZac Medico2008-04-051-0/+2
| | | | | | CompositeDbapi.match(). svn path=/main/trunk/; revision=9720
* Bug #216328 - Fix broken --newuse reinstallation logic.Zac Medico2008-04-051-1/+4
| | | | svn path=/main/trunk/; revision=9718
* Fix the depgraph package selection cache to update the "existing node"Zac Medico2008-04-051-0/+8
| | | | | | | state of packages if they've been added to the graph since the last call. svn path=/main/trunk/; revision=9717
* Fix a typo.Zac Medico2008-04-051-1/+1
| | | | svn path=/main/trunk/; revision=9716
* Memoize package selection results in the depgraph for better performance.Zac Medico2008-04-051-1/+18
| | | | svn path=/main/trunk/; revision=9715
* Remove "selective" depgraph logic from dep_zapdeps() since it's nowZac Medico2008-04-051-2/+0
| | | | | | handled by CompositeDbapi. svn path=/main/trunk/; revision=9714
* Replace the depgraph's fakedbapi of visible packages with a newZac Medico2008-04-051-130/+34
| | | | | | | CompositeDbapi that is implemented on top of the depgraph's existing package selection logic. svn path=/main/trunk/; revision=9713
* Add missing "the" to fix grammar.Zac Medico2008-04-041-2/+2
| | | | svn path=/main/trunk/; revision=9710
* Adjust newlines whitespace masked packages display.Zac Medico2008-04-041-2/+2
| | | | svn path=/main/trunk/; revision=9706
* Display the note referencing "masked packages" docs when there areZac Medico2008-04-041-15/+20
| | | | | | installed masked packages to display. svn path=/main/trunk/; revision=9705
* Fix a typo in the depclean USE flag handling when populating theZac Medico2008-04-041-1/+1
| | | | | | digraph for bug #201045. svn path=/main/trunk/; revision=9702
* Fix a typo.Zac Medico2008-04-041-1/+1
| | | | svn path=/main/trunk/; revision=9700
* When the user has given --depclean a list of atoms to clean, pull allZac Medico2008-04-041-3/+9
| | | | | | | | installed packages into the graph (not just those traversable from system or world) to ensure that packages can not be uninstalled unless nothing requires them. svn path=/main/trunk/; revision=9699
* Decrease priority on --onlydpes dependencies so thatZac Medico2008-04-041-0/+4
| | | | | | --buildpkgonly hasallzeros() works correctly. svn path=/main/trunk/; revision=9697
* Add missing DepPriority instances to the graph so that the --buildpkgonlyZac Medico2008-04-041-3/+4
| | | | | | hasallzeros() calculation works correctly again. svn path=/main/trunk/; revision=9696
* Eliminate a redundant atom from the --update greedy slot expansion code.Zac Medico2008-04-031-3/+2
| | | | svn path=/main/trunk/; revision=9695
* Fix package selection logic so that it always properly finds the highestZac Medico2008-04-031-5/+39
| | | | | | | available version in a new slot even though the graph already contains a matching version in a lower slot. svn path=/main/trunk/; revision=9693
* For old-style virtuals, we need to repeat the package.providedZac Medico2008-04-031-0/+12
| | | | | | check against the selected package. svn path=/main/trunk/; revision=9685
* Fix the previous commit so that the Package instance is created in theZac Medico2008-04-021-2/+9
| | | | | | correct scope. svn path=/main/trunk/; revision=9681
* Use Package.cp instead of dep_getkey(cpv).Zac Medico2008-04-021-2/+6
| | | | svn path=/main/trunk/; revision=9680
* Remove the digraph._parent_child_digraph since it's no longer needed. It'sZac Medico2008-04-011-10/+7
| | | | | | | main purpose was to track PDEPEND relationships but those are handled just like the other deps now. svn path=/main/trunk/; revision=9675
* When identifying a sys-apps/portage node, compare category too (not justZac Medico2008-04-011-2/+1
| | | | | | "portage". svn path=/main/trunk/; revision=9660
* When deps are forced to be satisfied by installed packages due to maskingZac Medico2008-03-311-3/+8
| | | | | | | | or unavailability, only tolerate it when the atom comes from either the system or world set since otherwise it's a good idea to bail so that the user can correct the problem. svn path=/main/trunk/; revision=9656
* In the package selection loop, move the installed package rejectionZac Medico2008-03-311-10/+6
| | | | | | code as early as possible. svn path=/main/trunk/; revision=9654
* Fix package selection logic to always properly reject the installed packageZac Medico2008-03-311-2/+4
| | | | | | when another is available and the user wants to reinstall. svn path=/main/trunk/; revision=9652
* Remove some redundant and obsolete code for warning about installedZac Medico2008-03-311-22/+2
| | | | | | packages pulled into the graph. svn path=/main/trunk/; revision=9650
* When selecting packages and there is a mixture of old-style and new-styleZac Medico2008-03-311-4/+17
| | | | | | virtual matches, filter out the old-style virtual matches. svn path=/main/trunk/; revision=9648
* Bug #197810 - Fix package selection logic so that it will always fall backZac Medico2008-03-311-8/+0
| | | | | | to an installed package when necessary. svn path=/main/trunk/; revision=9646
* Make depgraph creation more tolerant of missing or masked packages whenZac Medico2008-03-311-21/+24
| | | | | | | | | | | the relevant deps are satisfied by installed packages. This kind of friendliness is especially desired in cases such as --emptytree where it might not be possible to reinstall every single package. Also, it allows multislot atoms from the world file (that are necessary to prevent them from being removed by depclean) trigger warning messages while still allowing a --emptytree to proceed. svn path=/main/trunk/; revision=9645
* Replace an package tuple with a real Package instance.Zac Medico2008-03-311-2/+1
| | | | svn path=/main/trunk/; revision=9644
* Pass Package instances into visible() so that the package instance canZac Medico2008-03-311-27/+30
| | | | | | | be used to cache relevant visibility information such as whether or not the package is corrupt or otherwise invalid. svn path=/main/trunk/; revision=9643
* Make sure the all resume lists are deleted when a stale one is encountered.Zac Medico2008-03-301-1/+5
| | | | svn path=/main/trunk/; revision=9636
* Fix display code that can triger a 'Invalid category' exception when itZac Medico2008-03-301-17/+17
| | | | | | is given a blocker. It's only supposed to execute for normal packages. svn path=/main/trunk/; revision=9630
* Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.Zac Medico2008-03-301-4/+5
| | | | svn path=/main/trunk/; revision=9625
* Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.Zac Medico2008-03-301-1/+2
| | | | svn path=/main/trunk/; revision=9623
* Move the AUTOCLEAN code into dblink.treewalk since it's already partiallyZac Medico2008-03-301-14/+0
| | | | | | | | supported there anyway (for replacement of identical cpv). This has the benefit of guaranteeing that the order of installation and removal phases is always the same. svn path=/main/trunk/; revision=9621
* Make code a bit less prone to potentially hidden TypeError like bugs.Zac Medico2008-03-301-9/+10
| | | | svn path=/main/trunk/; revision=9616
* Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.Zac Medico2008-03-301-1/+2
| | | | svn path=/main/trunk/; revision=9615
* Use enumerate() it iterate over an array.Zac Medico2008-03-301-2/+1
| | | | svn path=/main/trunk/; revision=9613
* For bugs #197810 and #215308, pass the depgraph's "selective" parameterZac Medico2008-03-301-0/+2
| | | | | | | down into dep_check() for better atom preference selection when handling virtuals and other disjunctive || dependencies. (branches/2.1.2 r9610) svn path=/main/trunk/; revision=9611