summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
* use a dict with CP keys in unmerge() to avoid double unmerges if a package ↵Marius Mauch2008-03-181-32/+38
| | | | | | is matched by multiple atoms svn path=/main/trunk/; revision=9477
* Bug #213592 - Fix --onlydeps breakage.Zac Medico2008-03-161-3/+4
| | | | svn path=/main/trunk/; revision=9473
* * Optimize parallel-fetch to avoid redundant checksum verification.Zac Medico2008-03-141-1/+2
| | | | | | * Add parallel-fetch to the default FEATURES since it is more efficient now. svn path=/main/trunk/; revision=9462
* When all available ebuilds are masked, avoid producing warning message whenZac Medico2008-03-091-1/+2
| | | | | | | the package does not need to be reinstalled and the installed version is not masked. svn path=/main/trunk/; revision=9457
* Make --prune and --depclean operate with missing dependencies when onlyZac Medico2008-03-071-2/+10
| | | | | | asked to remove specific packages since it's relatively safe in this case. svn path=/main/trunk/; revision=9451
* remove FEATURES=livecvsportageMarius Mauch2008-03-021-30/+28
| | | | svn path=/main/trunk/; revision=9409
* remove obsolete information from preserve-libs post-emerge messagev2.2_pre3Marius Mauch2008-02-281-1/+0
| | | | svn path=/main/trunk/; revision=9395
* separate different messages with newlines in post-emerge outputMarius Mauch2008-02-281-3/+4
| | | | svn path=/main/trunk/; revision=9394
* Bug #211554 - Replace references to config["USE"] with references toZac Medico2008-02-271-12/+13
| | | | | | | | config["PORTAGE_USE"] (which is filtered for intersection with IUSE) so that dependency calculations at installation time are consistent with those at depclean time. svn path=/main/trunk/; revision=9392
* Revert r9387 (the fix for bug #211554) until I figure out why it's messingZac Medico2008-02-271-11/+11
| | | | | | up USE calculations for world updates. svn path=/main/trunk/; revision=9391
* Don't filter USE flags in emerge --info output.Zac Medico2008-02-271-1/+1
| | | | svn path=/main/trunk/; revision=9388
* Bug #211554 - Replace references to config["USE"] with references toZac Medico2008-02-271-12/+12
| | | | | | | | config["PORTAGE_USE"] (which is filtered for intersection with IUSE) so that dependency calculations at installation time are consistent with those at depclean time. svn path=/main/trunk/; revision=9387
* For depclean/prune unmerge order, if there are no dependencies betweenZac Medico2008-02-261-27/+33
| | | | | | package then just unmerge them alphabetically. svn path=/main/trunk/; revision=9385
* Add support for file paths as arguments to emerge. If an argument startsZac Medico2008-02-221-0/+30
| | | | | | | | with / and it's not recognized as a tbz2 or ebuild then we try to find and owner in the vdb and generate a slot atom from it. Thanks to solar for the suggestion. svn path=/main/trunk/; revision=9367
* In the circular dependency display, drop PDEPEND (aka MEDIUM_SOFT) fromZac Medico2008-02-201-1/+1
| | | | | | the graph so there's less noise. svn path=/main/trunk/; revision=9362
* When showing an unsatisfied dep, never include installed packages.Zac Medico2008-02-191-0/+2
| | | | svn path=/main/trunk/; revision=9360
* Fix the --depclean/--prune code to use visible() for visibility checksZac Medico2008-02-171-12/+13
| | | | | | instead of the old portdbapi hack. svn path=/main/trunk/; revision=9350
* Fix unmerge() breakage from due to pkgmap being changed fromZac Medico2008-02-171-1/+1
| | | | | | a dict to a list. svn path=/main/trunk/; revision=9349