summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Make the ccache userpriv permission check from bug #162542 less sensitiveZac Medico2008-04-181-3/+1
| | | | | | | by skipping permission checks on files and just checking the directories. (trunk r9922) svn path=/main/branches/2.1.2/; revision=9923
* Remove redundant version sorting in _expand_new_virtuals() since theZac Medico2008-04-161-15/+6
| | | | | | dbapi match results are already sorted. (trunk r9920) svn path=/main/branches/2.1.2/; revision=9921
* Fix portdbapi.getfetchlist() so that it doesn't unnecessarily calculateZac Medico2008-04-161-1/+1
| | | | | | USE when the "all" parameter is True. (trunk r9918) svn path=/main/branches/2.1.2/; revision=9919
* If the mysettings parameter is not passed in to portdbapi.getfetchlist()Zac Medico2008-04-161-1/+1
| | | | | | | then substitue self.doebuild_settings since that one is mutable which is necessary in case setcpv() needs to be called. (trunk r9916) svn path=/main/branches/2.1.2/; revision=9917
* Bug #217905 - Fix portdbapi.getfetchlist() to correctly calculateZac Medico2008-04-161-1/+2
| | | | | | USE when the useflags parameter is not passed in. (trunk r9914) svn path=/main/branches/2.1.2/; revision=9915
* Handle potential InvalidDependString exceptions from visible(). (trunk r9912)Zac Medico2008-04-161-4/+11
| | | | svn path=/main/branches/2.1.2/; revision=9913
* Inside dblink.unmerge(), call self.updateprotect() just in case anythingZac Medico2008-04-151-0/+1
| | | | | | has changed since the dblink instance was constructed. (trunk r9910) svn path=/main/branches/2.1.2/; revision=9911
* The dependency resolver now has a feedback mechanism that helps make atomZac Medico2008-04-151-0/+7
| | | | | | | selections more consistent with previous selections that have been added to the graph. This solves some common cases of bug #1343. (trunk r9906) svn path=/main/branches/2.1.2/; revision=9907
* Comment some more on the significance of passing the graph_db and parentZac Medico2008-04-151-1/+8
| | | | | | | into depgraph._select_atoms() to solve some cases of bug #1343 while avoiding unresolvable direct circular dependencies. (trunk r9904) svn path=/main/branches/2.1.2/; revision=9905
* Add support to depgraph._select_atoms() to take a "parent" parameterZac Medico2008-04-152-3/+45
| | | | | | | | | | | | and use that to try and avoid unresolvable direct circular dependencies when necessary. Also, make atom selection more consistent with the graph to solve some cases of bug #1343. This improves the fix from bug #141118 to work in cases when a virtual is not yet installed but it has been pulled into the graph. For example, see the case of Bug #163801#c17, where we want kaffe to satisfy virtual/jdk-1.4 without an extra jvm being pulled in unnecessarily. (trunk r9901) svn path=/main/branches/2.1.2/; revision=9903
* Revert part of atom selection consistency improvement from r9873 since itZac Medico2008-04-151-1/+12
| | | | | | | | | | in some cases it triggers unresolvable direct circular dependencies. For example, this happens with gwydion-dylan which depends on either itself or gwydion-dylan-bin. In case gwydion-dylan is not yet installed, gwydion-dylan-bin needs to be selected in order to avoid a an unresolvable direct circular dependency. (trunk r9900) svn path=/main/branches/2.1.2/; revision=9902
* Bug #217664 - Fix emerge 'by path' package argument handling so thatZac Medico2008-04-141-0/+2
| | | | | | | Package instances are properly cached (avoiding a KeyError later). (trunk r9898) svn path=/main/branches/2.1.2/; revision=9899
* In config.setcpv() and regenerate(), replace str.startswith() calls withZac Medico2008-04-141-5/+9
| | | | | | | slice comparison. It's not pretty but performance is critical in this section of code and there is a measurable performance difference. (trunk r9896) svn path=/main/branches/2.1.2/; revision=9897
* * Call depgraph._add_dep() to add package dependencies to the graphZac Medico2008-04-141-6/+8
| | | | | | | | as soon as possible rather than pushing them onto the stack. (trunk r9885) * Fix some breakage in the allow_unsatisfied handling. (trunk r9886) svn path=/main/branches/2.1.2/; revision=9889
* Split out a depgraph._add_dep() method. (trunk r9884)Zac Medico2008-04-141-54/+59
| | | | svn path=/main/branches/2.1.2/; revision=9888
* s/timetasmp/timestamp/ (trunk r9883)Zac Medico2008-04-141-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9887
* * For optimal atom selection, use PackageVirtualDbapi instances in placeZac Medico2008-04-131-18/+4
| | | | | | | | | of the vardb for all dep_check() calls. * Replace dep_check_trees in depgraph.validate_blockers() with the equivalent self._graph_trees reference. (trunk r9879) svn path=/main/branches/2.1.2/; revision=9880
* To optimize consistency of atom selections, add all of the root packagesZac Medico2008-04-131-4/+7
| | | | | | to the graph before processing any dependencies. (trunk r9874) svn path=/main/branches/2.1.2/; revision=9878
* Improve lookahead for new-style virtuals:Zac Medico2008-04-131-9/+30
| | | | | | | | | | | | | | | | | | | * Substitute the graph tree for the vartree in dep_check() since we want atom selections to be consistent with package selections that have already been made. * Add the selected package to the graph as soon as possible so that later dep_check() calls can use it as feedback for making more consistent atom selections. * Expand all slots of new-style virtuals inside _dep_check_composite_db so that lookahead examines all matched slots. This solves some cases of bug #1343, and extends the fix for bug #141118 to work in cases when a virtual is not yet installed but it has been pulled into the graph. (trunk r9873) svn path=/main/branches/2.1.2/; revision=9877
* Make _dep_check_composite_db match() return multiple slots so thatZac Medico2008-04-131-15/+42
| | | | | | | it behaves more like other dbapi instances would, and also make it inherit from dbapi. (trunk r9869:9872) svn path=/main/branches/2.1.2/; revision=9876
* Make movefile() tolerant to EPERM errors that can be raised from utime()Zac Medico2008-04-131-5/+16
| | | | | | | calls. Instead of failing, use stat() to return the mtime if possible. (trunk r9863:9865) svn path=/main/branches/2.1.2/; revision=9875
* Bug #215673 - Make ebuild.sh leave IUSE defaults intact instead of filteringZac Medico2008-04-131-14/+0
| | | | | | | them out. The built_with_use() function in eutils.eclass needs to be updated for compatibility. (trunk r9674) svn path=/main/branches/2.1.2/; revision=9863
* In --buildpkgonly mode, don't discard RDEPEND and PDEPEND if --empty orZac Medico2008-04-131-4/+6
| | | | | | | | --deep are enabled. The makes it possible to run `emerge -eB world` and have every single package rebuilt (without actually installing anything). (trunk r9860) svn path=/main/branches/2.1.2/; revision=9861
* Fix the filtering for bug #215016:Zac Medico2008-04-121-6/+13
| | | | | | | | * fix broken comparison for he iuse filtering * filter out any duplicates that variable may contain (trunk r9858) svn path=/main/branches/2.1.2/; revision=9859
* Bug #217444 - Send debug-print() output to stderr so that it can't interfereZac Medico2008-04-121-1/+1
| | | | | | | with command substitution. Thanks to Fabio Rossi <rossi.f@inwind.it> for this patch. (trunk r9856) svn path=/main/branches/2.1.2/; revision=9857
* * Optimize config.setcpv() to return early if IUSE has not changed sinceZac Medico2008-04-121-1/+9
| | | | | | | | | | the previous setcpv() call. * Add EBUILD_PHASE to the blacklisted variables list. (trunk r9854) svn path=/main/branches/2.1.2/; revision=9855
* Bug #215016 - When transforming of USE flags to USE_EXPAND variables,Zac Medico2008-04-121-115/+88
| | | | | | | | filter out flags that aren't considered to be part of IUSE or implicit IUSE. This patch moves all IUSE dependent code from config.regenerate() to config.setcpv(). (trunk r9852) svn path=/main/branches/2.1.2/; revision=9853
* Make binarytree.prevent_collision() adjust permissions on directoriesZac Medico2008-04-122-6/+10
| | | | | | | and raise a PermissionDenied error if the required directories is not writable. (trunk r9850) svn path=/main/branches/2.1.2/; revision=9851
* Add some notes for the parallel-fetch feature and the new --complete-graphZac Medico2008-04-112-1/+20
| | | | | | option for emerge. (trunk r9848) svn path=/main/branches/2.1.2/; revision=9849
* Rename the undocumented --conistent option to --complete-graph and addZac Medico2008-04-113-4/+28
| | | | | | some docs. (trunk r9846) svn path=/main/branches/2.1.2/; revision=9847
* Make file_get() redirect FETCHCOMMAND output to stdout just likeZac Medico2008-04-111-1/+6
| | | | | | portage.fetch() does. Thanks to Ramereth for reporting. (trunk r9844) svn path=/main/branches/2.1.2/; revision=9845
* 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