summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * Optimize metadata caching in pordbapi and bindbapi so that cache isZac Medico2008-04-082-53/+74
| | | | | | | | | 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
* In dump_trace(), fix BASH_ARGV and BASH_ARGC offsets so that they are alwaysZac Medico2008-04-081-3/+9
| | | | | | correct wrt eachother. Thanks to Betelgeuse for reporting. (trunk r9732:9734) svn path=/main/branches/2.1.2/; revision=9751
* Fix java.eclassesnotused logic. Thanks to Betelgeuse. (trunk r9732)Zac Medico2008-04-081-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=9750
* * Use type -P which does not produce messages to stderr.Zac Medico2008-04-081-7/+7
| | | | | | | | | another option is to redirect both stderr and out. * Avoid &> replace with > ... 2>&1 Thanks to Alon Bar-Lev for this patch. (trunk r9727) svn path=/main/branches/2.1.2/; revision=9749
* Bug #197905 - Preserve order of ebuild messages even between differentZac Medico2008-04-082-6/+23
| | | | | | message types. (trunk r9726 and r9747) svn path=/main/branches/2.1.2/; revision=9748
* Clarify --with-bdeps behavior with example. Thanks to Griffon26 forZac Medico2008-04-081-3/+5
| | | | | | this patch. (trunk r9725) svn path=/main/branches/2.1.2/; revision=9746
* 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
* When necessary, make quickpkg add missing metadata to the vdb entry beforeZac Medico2008-04-051-0/+14
| | | | | | creating the binary package. (trunk r9723) svn path=/main/branches/2.1.2/; revision=9724
* In dbapi.move_ent(), never assume that any of the expected metadataZac Medico2008-04-051-5/+6
| | | | | | entries exist (PF, CATEGORY, or *.ebuild). (trunk r9712) svn path=/main/branches/2.1.2/; revision=9722
* For better performace and consistency in package selection, merge theZac Medico2008-04-052-13/+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
* * In the event that a previously installed package has since been masked,Zac Medico2008-04-041-0/+7
| | | | | | | | | emerge will no longer perform an automatic downgrade as part of a "world" update. You should either unmask such packages or else explicitly re-merge them in order to have them dowgraded to an unmasked version. (trunk r9708) svn path=/main/branches/2.1.2/; revision=9709
* 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
* Merge FEATURES=webrsync-gpg docs from trunk.Zac Medico2008-04-041-0/+3
| | | | svn path=/main/branches/2.1.2/; revision=9704
* 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
* Add missing str.upper() call for PORTAGE_FETCH_RESUME_MIN_SIZE. (trunk r9691)Zac Medico2008-04-031-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9692
* If PORTAGE_FETCH_RESUME_MIN_SIZE is undefined or empty, silently useZac Medico2008-04-031-0/+3
| | | | | | the default. (trunk r9689) svn path=/main/branches/2.1.2/; revision=9690
* Implement a PORTAGE_FETCH_RESUME_MIN_SIZE variable that is useful forZac Medico2008-04-033-3/+68
| | | | | | | helping to ensure that small garbage files such as html 404 pages are properly discarded. (trunk r9687) svn path=/main/branches/2.1.2/; revision=9688
* 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
* In cpv_expand(), if the virtuals file contains a versioned atom (likeZac Medico2008-04-031-1/+5
| | | | | | | | the base profile currently has for virtual/pam), properly remove the operator and version from the atom before it is passed into dbapi.cp_list(). (trunk r9683) svn path=/main/branches/2.1.2/; revision=9684
* 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
* Handle a potential FileNotFound exception in new_protect_filename() whenZac Medico2008-04-021-3/+8
| | | | | | | the last ._cfg* file happens to be a broken symlink. Thanks to bonsaikitten for reporting. (trunk r9676:9678) svn path=/main/branches/2.1.2/; revision=9679
* 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
* Use pkgcmp() instead of == and best() for correctness in case of implicitZac Medico2008-04-011-2/+4
| | | | | | -r0. (trunk r9672) svn path=/main/branches/2.1.2/; revision=9673
* Remove some boolean logic that is obsolete now that the "selective" parameterZac Medico2008-04-011-4/+1
| | | | | | is passed into dep_zapdeps(). (trunk r9669) svn path=/main/branches/2.1.2/; revision=9671
* Exploid ascending order returned from dbapi.match() calls to avoid the needZac Medico2008-04-011-2/+4
| | | | | | to call best(). (trunk r9665) svn path=/main/branches/2.1.2/; revision=9670
* Remove references to ${O} in dyn_spec() since antarusZac Medico2008-04-011-1/+1
| | | | | | made that variable mutable. (trunk r8444) svn path=/main/branches/2.1.2/; revision=9664
* elevate the importance of 64bit clean code on 64bit hosts (trunk r5656)Zac Medico2008-04-011-1/+5
| | | | svn path=/main/branches/2.1.2/; revision=9663
* 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
* Bug #215308 - Cache the paths of known bad manifests to ensure that theZac Medico2008-04-011-1/+8
| | | | | | same broken manifest is never checked twice. (trunk r9658) svn path=/main/branches/2.1.2/; revision=9659
* 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
* When dblink.treewalk() queries for other packages in the same slot, filterZac Medico2008-03-301-2/+5
| | | | | | out old-style virtual matches since they are not desired. (trunk r9637) svn path=/main/branches/2.1.2/; revision=9640
* 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 broken return value for doins.Zac Medico2008-03-302-5/+15
| | | | | | | * Make newins cleanup temp files after itself. (trunk r9634) svn path=/main/branches/2.1.2/; revision=9635
* Fix typos. Thanks to Arfrever Frehtes Taifersar ArahesisZac Medico2008-03-303-3/+3
| | | | | | <Arfrever.FTA@GMail.Com>. (trunk r9632) svn path=/main/branches/2.1.2/; revision=9633
* 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
* Make doins clean up it's own temp files. This solves an odd issue inZac Medico2008-03-301-1/+3
| | | | | | | | dyn_package() when portage 2.1.x is installing portage-2.2 and temp python module files from doins are imported instead of the expected ones. (trunk r9628) svn path=/main/branches/2.1.2/; revision=9629
* Fix namespace typo.Zac Medico2008-03-301-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9627