summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Bug #215308 - Simplify the greedy atoms logic so that it behaves moreZac Medico2008-03-301-22/+5
| | | | | | like StaticFileSet and won't pull in lower slots. svn path=/main/trunk/; revision=9607
* When a resume list contains packages that are no longer available,Zac Medico2008-03-291-0/+2
| | | | | | automatically delete it. svn path=/main/trunk/; revision=9589
* Bug #214691 - Move the "slot collision" display so that it is shown afterZac Medico2008-03-281-6/+37
| | | | | | | the merge list where it is most likely to be seen (along with other depgraph problems). svn path=/main/trunk/; revision=9584
* Fix the noreplace logic to break out of the cpv loop early since there'sZac Medico2008-03-271-1/+1
| | | | | | no point in examining any lower versions from the same repo. svn path=/main/trunk/; revision=9514
* Make --noreplace take precedence over --newuse, as suggested by wolf31o2.Zac Medico2008-03-271-0/+5
| | | | svn path=/main/trunk/; revision=9513
* Improve logic from the previous commit.Zac Medico2008-03-201-1/+1
| | | | svn path=/main/trunk/; revision=9496
* Fix depgraph._select_package() to make sure the installed package is a realZac Medico2008-03-201-1/+1
| | | | | | match before rejecting other available packages. svn path=/main/trunk/; revision=9495
* display versions of other slots for new-slot installs (bug #213790)Marius Mauch2008-03-191-18/+26
| | | | svn path=/main/trunk/; revision=9488
* Bug #201045 - Fix unmerge() to preserve unmerge order so that dependenciesZac Medico2008-03-191-33/+33
| | | | | | | are respected. Also, eliminate duplicate package selections since the same package may be selected by multiple atoms but we can only unmerge it once. svn path=/main/trunk/; revision=9483
* Bug #139023 - When the --digest option is enabled, advise the user thatZac Medico2008-03-181-0/+12
| | | | | | `repoman manifest` is the preferred way to generate manifests. svn path=/main/trunk/; revision=9482
* add unmerge protection for packages still referenced by installed package setsMarius Mauch2008-03-181-0/+49
| | | | svn path=/main/trunk/; revision=9480
* fix artifact from r9477Marius Mauch2008-03-181-1/+1
| | | | svn path=/main/trunk/; revision=9478