summaryrefslogtreecommitdiffstats
path: root/bin/emerge
Commit message (Collapse)AuthorAgeFilesLines
* * Optimize metadata caching in pordbapi and bindbapi so that cache isZac Medico2008-04-081-35/+40
| | | | | | | | | never pulled for the same package twice. * Cache a Package instances constructed during package selection and reuse them during later package selections. (trunk r9741) svn path=/main/branches/2.1.2/; revision=9752
* Fix the CompositDbapi.match() logic wrt "selective" behavior and installedZac Medico2008-04-061-4/+16
| | | | | | | packages so that it correctly handles false argument matches due to PROVIDE when a corresponding new-style virtual exists. (trunk r9729) svn path=/main/branches/2.1.2/; revision=9730
* For better performace and consistency in package selection, merge theZac Medico2008-04-051-5/+58
| | | | | | CompositeDbapi code from trunk. svn path=/main/branches/2.1.2/; revision=9721
* Bug #216328 - Fix broken --newuse reinstallation logic. (trunk r9718)Zac Medico2008-04-051-1/+4
| | | | svn path=/main/branches/2.1.2/; revision=9719
* Add missing "the" to fix grammar. (trunk r9710)Zac Medico2008-04-041-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=9711
* Display the note referencing "masked packages" docs when there areZac Medico2008-04-041-13/+18
| | | | | | installed masked packages to display. (trunk r9704:9706) svn path=/main/branches/2.1.2/; revision=9707
* Fix a typo in the depclean USE flag handling when populating theZac Medico2008-04-041-1/+1
| | | | | | digraph for bug #201045. (trunk r9702) svn path=/main/branches/2.1.2/; revision=9703
* 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. (trunk r9698:9700) svn path=/main/branches/2.1.2/; revision=9701
* Add missing DepPriority instances to the graph so that the --buildpkgonlyZac Medico2008-04-041-25/+16
| | | | | | hasallzeros() calculation works correctly. (trunk r9695:9697) svn path=/main/branches/2.1.2/; revision=9698
* 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. (trunk r9693) svn path=/main/branches/2.1.2/; revision=9694
* For old-style virtuals, we need to repeat the package.providedZac Medico2008-04-031-2/+25
| | | | | | check against the selected package. (trunk r9685) svn path=/main/branches/2.1.2/; revision=9686
* Use Package.cp instead of dep_getkey(cpv). (trunk r9679:9681)Zac Medico2008-04-021-3/+14
| | | | svn path=/main/branches/2.1.2/; revision=9682
* Remove the digraph._parent_child_digraph since it's no longer needed. It'sZac Medico2008-04-011-7/+8
| | | | | | | main purpose was to track PDEPEND relationships but those are handled just like the other deps now. (trunk r9675) svn path=/main/branches/2.1.2/; revision=9676
* When identifying a sys-apps/portage node, compare category too (not justZac Medico2008-04-011-2/+1
| | | | | | "portage". (trunk r9660) svn path=/main/branches/2.1.2/; revision=9661
* When deps are forced to be satisfied by installed packages due to maskingZac Medico2008-03-311-5/+4
| | | | | | | | 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. (trunk r9656) svn path=/main/branches/2.1.2/; revision=9657
* In the package selection loop, move the installed package rejectionZac Medico2008-03-311-10/+6
| | | | | | code as early as possible. (trunk r9654) svn path=/main/branches/2.1.2/; revision=9655
* 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. (trunk r9652) svn path=/main/branches/2.1.2/; revision=9653
* Remove some redundant and obsolete code for warning about installedZac Medico2008-03-311-12/+2
| | | | | | packages pulled into the graph. (trunk r9650) svn path=/main/branches/2.1.2/; revision=9651
* Make depgraph creation more tolerant of missing or masked packages whenZac Medico2008-03-311-30/+45
| | | | | | | | | | | 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. (trunk r9643:9648) svn path=/main/branches/2.1.2/; revision=9649
* Pass Package instances into visible() so that the package instance canZac Medico2008-03-311-20/+23
| | | | | | | be used to cache relevant visibility information such as whether or not the package is corrupt or otherwise invalid. (trunk r9643) svn path=/main/branches/2.1.2/; revision=9647
* Fix broken unsatisfied deps handling that triggers false positives inZac Medico2008-03-301-5/+6
| | | | | | | a case like virtual/pager which is both a new-style and old-style virtual. svn path=/main/branches/2.1.2/; revision=9642
* Fix broken variable reference that triggers an UnboundLocalError.Zac Medico2008-03-301-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9641
* Make sure the all resume lists are deleted when a stale one is encountered.Zac Medico2008-03-301-1/+5
| | | | | | (trunk r9636) svn path=/main/branches/2.1.2/; revision=9639
* Prevent premature expansion of old-style virtualsZac Medico2008-03-301-0/+10
| | | | | | inside depgraph.select_files(). (trunk r8306) svn path=/main/branches/2.1.2/; revision=9638
* Fix display code that can triger a 'Invalid category' exception when itZac Medico2008-03-301-18/+18
| | | | | | | is given a blocker. It's only supposed to execute for normal packages. (trunk r9630) svn path=/main/branches/2.1.2/; revision=9631
* Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.Zac Medico2008-03-301-4/+5
| | | | | | (trunk r9625) svn path=/main/branches/2.1.2/; revision=9626
* Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.Zac Medico2008-03-301-1/+2
| | | | | | (trunk r9623) svn path=/main/branches/2.1.2/; revision=9624
* Move the AUTOCLEAN code into dblink.treewalk since it's already partiallyZac Medico2008-03-301-13/+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. (trunk r9621) svn path=/main/branches/2.1.2/; revision=9622
* Fix broke package.provided handling.Zac Medico2008-03-301-0/+12
| | | | svn path=/main/branches/2.1.2/; revision=9618
* * Make code a bit less prone to potentially hidden TypeError like bugs.Zac Medico2008-03-301-9/+11
| | | | | | | * Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv. (trunk r9614:9616) svn path=/main/branches/2.1.2/; revision=9617
* Use enumerate() to iterate over an array. (trunk r9613)Zac Medico2008-03-301-2/+1
| | | | svn path=/main/branches/2.1.2/; revision=9614
* Fix a broken reference to the DependencyArg class.Zac Medico2008-03-301-11/+3
| | | | svn path=/main/branches/2.1.2/; revision=9612
* 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. svn path=/main/branches/2.1.2/; revision=9610
* Bug #215308 - Simplify the greedy atoms logic so that it behaves moreZac Medico2008-03-301-42/+7
| | | | | | like StaticFileSet and won't pull in lower slots. (trunk r9607) svn path=/main/branches/2.1.2/; revision=9608
* When all available ebuilds are masked, avoid producing warning message whenZac Medico2008-03-291-23/+4
| | | | | | | the package does not need to be reinstalled and the installed version is not masked. (trunk r9457) svn path=/main/branches/2.1.2/; revision=9605
* Fix broken --onlydeps recursion logic.Zac Medico2008-03-291-1/+3
| | | | svn path=/main/branches/2.1.2/; revision=9604
* Merge part of the package selection code from trunk.Zac Medico2008-03-291-369/+397
| | | | svn path=/main/branches/2.1.2/; revision=9603
* Bug #214691 - Move display of depgraph problems from xcreate() toZac Medico2008-03-291-26/+28
| | | | | | | display_problems() so that they are shown _after_ the merge list where they are easier/likely to be seen by the user. svn path=/main/branches/2.1.2/; revision=9602
* When a resume list contains packages that are no longer available,Zac Medico2008-03-291-0/+2
| | | | | | automatically delete it. (trunk r9589) svn path=/main/branches/2.1.2/; revision=9601
* Bug #214691 - Move the "slot collision" display so that it is shown afterZac Medico2008-03-291-6/+36
| | | | | | | the merge list where it is most likely to be seen (along with other depgraph problems). (trunk r9584) svn path=/main/branches/2.1.2/; revision=9596
* display versions of other slots for new-slot installs (bug #213790)Zac Medico2008-03-281-19/+27
| | | | | | (trunk r9488) svn path=/main/branches/2.1.2/; revision=9566
* Bug #139023 - When the --digest option is enabled, advise the user thatZac Medico2008-03-281-0/+12
| | | | | | | `repoman manifest` is the preferred way to generate manifests. (trunk r9482) svn path=/main/branches/2.1.2/; revision=9561
* s/add/append/ (missing from r9530 for bug #201045)Zac Medico2008-03-281-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9559
* * Optimize parallel-fetch to avoid redundant checksum verification.Zac Medico2008-03-281-1/+2
| | | | | | | * Add parallel-fetch to the default FEATURES since it is more efficient now. (trunk r9462) svn path=/main/branches/2.1.2/; revision=9553
* Make --prune and --depclean operate with missing dependencies when onlyZac Medico2008-03-281-2/+10
| | | | | | | asked to remove specific packages since it's relatively safe in this case. (trunk r9451) svn path=/main/branches/2.1.2/; revision=9551
* separate different messages with newlines in post-emerge outputZac Medico2008-03-281-3/+3
| | | | | | (trunk r9394) svn path=/main/branches/2.1.2/; revision=9541
* Bug #211554 - Replace references to config["USE"] with references toZac Medico2008-03-281-9/+10
| | | | | | | | config["PORTAGE_USE"] (which is filtered for intersection with IUSE) so that dependency calculations at installation time are consistent with those at depclean time. (trunk r9391:9393) svn path=/main/branches/2.1.2/; revision=9540
* Add support for file paths as arguments to emerge. If an argument startsZac Medico2008-03-281-0/+29
| | | | | | | | 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. (trunk r9367) svn path=/main/branches/2.1.2/; revision=9535
* Bug #210667 - In the circular dependency display, drop PDEPEND (akaZac Medico2008-03-281-1/+1
| | | | | | MEDIUM_SOFT) from the graph so there's less noise. (trunk r9362) svn path=/main/branches/2.1.2/; revision=9533
* Bug #201045 - Use a topological sort to create an unmerge order such thatZac Medico2008-03-281-85/+228
| | | | | | | | each package is unmerged before it's dependencies. This is necessary to avoid breaking things that may need to run during pkg_prerm or pkg_postrm phases. (trunk r9337:9341, 9343, 9344:9347, 9350, 9385, and 9483) svn path=/main/branches/2.1.2/; revision=9530