summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix 'undefined name' errors found by pyflakes. (trunk r9842)Zac Medico2008-04-111-3/+3
| | | | svn path=/main/branches/2.1.2/; revision=9843
* When dep_check() expands new-style virtuals, use USE flags from aux_getZac Medico2008-04-111-2/+11
| | | | | | | | calls to evaluate any conditionals that the depstrings might contain. This works properly for ebuilds now that aux_get() is backed by Package instances containing the correct USE. (trunk r9838:9840) svn path=/main/branches/2.1.2/; revision=9841
* Make doebuild() bail out early with a PermissionDenied error if thereZac Medico2008-04-111-4/+9
| | | | | | is no write access to $PKGDIR. (trunk r9837) svn path=/main/branches/2.1.2/; revision=9838
* Remove all calls to config.load_infodir() since it doesn't seemZac Medico2008-04-111-7/+0
| | | | | | | to server any purpose now that the complete environment is loaded from environment.bz2. (trunk r9833:9835) svn path=/main/branches/2.1.2/; revision=9836
* In config.setcpv() and load_infodir(), always set known good valuesZac Medico2008-04-111-2/+14
| | | | | | | for CATEGORY and PF, since corruption of these can cause problems. (trunk r9832) svn path=/main/branches/2.1.2/; revision=9833
* Copy group mode bits from $PKGDIR when creating subdirectories.Zac Medico2008-04-112-28/+32
| | | | | | (trunk r9827) svn path=/main/branches/2.1.2/; revision=9828
* Tweak --buildpkgonly and fakeroot logic so that --buildpkgonly can beZac Medico2008-04-112-8/+15
| | | | | | | used by a non-root user to build binary packages with fakeroot. (trunk r9825) svn path=/main/branches/2.1.2/; revision=9826
* Nest the DepcheckCompositeDB class inside the depgraph class since it'sZac Medico2008-04-101-86/+86
| | | | | | not intended for use elsewhere. (trunk r9823) svn path=/main/branches/2.1.2/; revision=9824
* Rename variable pkg_cpv to pkg_str. (trunk r9821)Zac Medico2008-04-101-7/+7
| | | | svn path=/main/branches/2.1.2/; revision=9822
* Fix "pkg" variable name collisions in depgraph.display(). (trunk r9819)Zac Medico2008-04-101-13/+12
| | | | svn path=/main/branches/2.1.2/; revision=9820
* Make the CHOST visibility check tolerant of missing CHOST metadata.Zac Medico2008-04-101-7/+9
| | | | | | (trunk r9817) svn path=/main/branches/2.1.2/; revision=9818
* Bug #217122 - When waiting for a parallel-fetch download to complete,Zac Medico2008-04-101-2/+9
| | | | | | | show a more friendly and informative message. (trunk r9815) svn path=/main/branches/2.1.2/; revision=9816
* Remove an unused function. (trunk r9810)Zac Medico2008-04-101-11/+0
| | | | svn path=/main/branches/2.1.2/; revision=9814
* Implement expansion of catgories in DepcheckCompositeDB.match() for oldZac Medico2008-04-101-1/+42
| | | | | | | installed packages that may contain atoms that are not fully qualified. (trunk r9808) svn path=/main/branches/2.1.2/; revision=9813
* Make the "this code is not 64bit clean" die less strict like it was before soZac Medico2008-04-101-5/+1
| | | | | | that maintainers aren't disturbed by too many bugs like bug #216848. svn path=/main/branches/2.1.2/; revision=9802
* Iterate over a copy of the digraph nodes so that removal can't breakZac Medico2008-04-101-2/+2
| | | | | | the iterator. (trunk r9799) svn path=/main/branches/2.1.2/; revision=9800
* Make sure that everything except Package nodes is ignored when doingZac Medico2008-04-101-4/+12
| | | | | | the --buildpkgonly digraph.hasallzeros() check. (trunk r9797) svn path=/main/branches/2.1.2/; revision=9798
* Add some docs for the DepcheckCompositeDB class. (trunk r9785)Zac Medico2008-04-101-0/+7
| | | | svn path=/main/branches/2.1.2/; revision=9796
* Use cached Package instances in depgraph.display(). (trunk r9794)Zac Medico2008-04-101-11/+4
| | | | svn path=/main/branches/2.1.2/; revision=9795
* * Make depclean/prune use cached Package instances for visibility checks.Zac Medico2008-04-101-4/+18
| | | | | | | | | | * Make FakeVartree wrap dbapi.match() to make sure the metadata in Package instances gets updated for any cpv that is returned from a match() call, since the metadata can be accessed directly from the Package instance instead of via aux_get(). (trunk r9789) svn path=/main/branches/2.1.2/; revision=9793
* Make FakeVartree use PackageVirtualDbapi instead of fakedbapi so that it canZac Medico2008-04-101-7/+23
| | | | | | populate and utilize a cache of Package instances. (trunk r9788) svn path=/main/branches/2.1.2/; revision=9792
* Improve used of cached Package instances in depgraph._select_pkg_from_graph().Zac Medico2008-04-101-13/+4
| | | | | | (trunk r9787) svn path=/main/branches/2.1.2/; revision=9791
* Replace the fakedbapi class that is used to track depgraph state with aZac Medico2008-04-101-18/+103
| | | | | | | | | similar PackageVirtualDbapi class that uses Package instances internally. This eliminates some redundancy since the Package instances can be reused elsewhere, unlike the internal data structures used by fakedbapi. (trunk r9786) svn path=/main/branches/2.1.2/; revision=9790
* Pull in "system" as a separate set instead of mixing it with "world".Zac Medico2008-04-091-3/+8
| | | | svn path=/main/branches/2.1.2/; revision=9784
* To avoid false positives during the transitionZac Medico2008-04-091-1/+7
| | | | | | | | period, don't show ? if the installed package is missing a repository label. Stages starting with 2008.0 will come with repository labels. svn path=/main/branches/2.1.2/; revision=9783
* Add system atoms to world since we're trying to emulate behavior of olderZac Medico2008-04-091-0/+3
| | | | | | portage (rather than the latest behavior which is different). svn path=/main/branches/2.1.2/; revision=9782
* Fix a potential TypeError.Zac Medico2008-04-091-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9781
* When checking atoms without categories against the installed packages, justZac Medico2008-04-091-2/+3
| | | | | | check for existence of the cat/pn rather that a full match. (trunk r9779) svn path=/main/branches/2.1.2/; revision=9780
* Fix the docstring for depgraph._dep_expand(). (trunk r9777)Zac Medico2008-04-091-1/+4
| | | | svn path=/main/branches/2.1.2/; revision=9778
* Fix minor issues in the calculation of the number of parents omitted fromZac Medico2008-04-091-8/+5
| | | | | | the slot collision display. (trunk r9775) svn path=/main/branches/2.1.2/; revision=9776
* When pruning the list of parents for the slot collision display, alwaysZac Medico2008-04-091-3/+12
| | | | | | | show parents that themselves have been pulled into collision slots, since those are more relevant that others. svn path=/main/branches/2.1.2/; revision=9773
* Make DepcheckCompositeDB cache Package instances for aux_get() calls.Zac Medico2008-04-091-5/+4
| | | | | | (trunk r9771) svn path=/main/branches/2.1.2/; revision=9772
* When depgraph.select_files() expands an atom category, in case of an old-styleZac Medico2008-04-091-2/+2
| | | | | | | virtual, defer category expansion so that the depgraph has more choices. (trunk r9769) svn path=/main/branches/2.1.2/; revision=9770
* Create a new depgraph._dep_expand() method for select_files() to expandZac Medico2008-04-092-37/+62
| | | | | | atoms that have no category. (trunk r9765) svn path=/main/branches/2.1.2/; revision=9768
* Make depgraph.select_files() detect when a package name given as an argumentZac Medico2008-04-091-0/+23
| | | | | | | | is ambiguous due to the existence of a new-style virtual with the same name (cpv_expand() will not always raise a ValueError in cases like this). (trunk r9762) svn path=/main/branches/2.1.2/; revision=9767
* Split out a depgraph method to check if a specific new-style virtualZac Medico2008-04-091-9/+12
| | | | | | package exists. (trunk r9761) svn path=/main/branches/2.1.2/; revision=9766
* Handle issues with newlines in elog messages that can trigger an unhandledZac Medico2008-04-092-4/+12
| | | | | | | | | | ValueError to be raised from a split() call inside collect_ebuild_messages(): * Use \0 to delimit messages, so that that elog messages containing newlines are handled correctly. * Handle a potential ValueError when splitting the message type. (trunk r9763) svn path=/main/branches/2.1.2/; revision=9764
* Bug #162542 - When checking permissions inside CCACHE_DIR for compatibilityZac Medico2008-04-081-4/+26
| | | | | | | with FEATURES=userpriv, check the permissions on files inside the directory to decide whether to fix the permissions. (trunk r9759) svn path=/main/branches/2.1.2/; revision=9760
* Bug #197810 - Don't automatically downgrade packages for which availableZac Medico2008-04-082-10/+14
| | | | | | | | matching versions are masked by corruption, but do automatically downgrade installed packages that themselves have a valid mask such as from package.mask. (trunk r9756) svn path=/main/branches/2.1.2/; revision=9758
* Fix --update greedy atoms logic so that it only pulls in packages thatZac Medico2008-04-081-1/+1
| | | | | | actually match the given atom. (trunk r9755) svn path=/main/branches/2.1.2/; revision=9757
* Merge improved argument handling and other general depgraph improvementsZac Medico2008-04-082-418/+690
| | | | | | from trunk. svn path=/main/branches/2.1.2/; revision=9754
* For repoman, only cache the metadata necessary for visibilityZac Medico2008-04-081-0/+5
| | | | | | checks in order to reduce memory consumption. (trunk r9743) svn path=/main/branches/2.1.2/; revision=9753
* * 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