summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* s/timetasmp/timestamp/Zac Medico2008-04-141-1/+1
| | | | svn path=/main/trunk/; revision=9883
* Fix some more broken logic inside WorldSet.load().Zac Medico2008-04-141-1/+5
| | | | svn path=/main/trunk/; revision=9882
* Fix buggy logic in WorldSet.load() that causes it to discard all ofZac Medico2008-04-141-2/+5
| | | | | | it's atoms in some cases (leading to loss of the whole world file). svn path=/main/trunk/; revision=9881
* * 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. svn path=/main/trunk/; revision=9879
* To optimize consistency of atom selections, add all of the root packagesZac Medico2008-04-131-4/+7
| | | | | | to the graph before processing any dependencies. svn path=/main/trunk/; revision=9874
* Improve lookahead for new-style virtuals:Zac Medico2008-04-131-9/+30
| | | | | | | | | | | | | | | | | * Substitue the graph tree for the vartree in dep_check() since we want atom selections to be consistent with package selections 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 a 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. svn path=/main/trunk/; revision=9873
* Fix the _dep_check_composite_db visibility filtering some more.Zac Medico2008-04-131-9/+18
| | | | svn path=/main/trunk/; revision=9872
* Fix _dep_check_composite_db.match() so that it doesn't exempt the highestZac Medico2008-04-131-3/+0
| | | | | | slot from visibility checks. svn path=/main/trunk/; revision=9871
* Make _dep_check_composite_db match() return multiple slots so thatZac Medico2008-04-131-15/+36
| | | | | | | it behaves more like other dbapi instances would, and also make it inherit from dbapi. svn path=/main/trunk/; revision=9870
* store sets in a different physical location than normal packages for 'world' ↵Marius Mauch2008-04-131-5/+62
| | | | | | (makes ferringb a bit happier, and might have other advantages in the future) svn path=/main/trunk/; revision=9866
* Convert st_mtime to long for movefile() return type.Zac Medico2008-04-131-1/+1
| | | | svn path=/main/trunk/; revision=9865
* 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. svn path=/main/trunk/; revision=9864
* fix check for other lib copies to properly exclude the current packageMarius Mauch2008-04-131-1/+3
| | | | svn path=/main/trunk/; revision=9862
* 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). svn path=/main/trunk/; revision=9860
* 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 svn path=/main/trunk/; revision=9858
* 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. svn path=/main/trunk/; revision=9856
* * 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. svn path=/main/trunk/; revision=9854
* 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(). svn path=/main/trunk/; revision=9852
* Make binarytree.prevent_collision() adjust permissions on directoriesZac Medico2008-04-121-1/+11
| | | | | | | and raise a PermissionDenied error if the required directories is not writable. svn path=/main/trunk/; revision=9850
* Add some notes for the parallel-fetch feature and the new --complete-graphZac Medico2008-04-112-1/+20
| | | | | | option for emerge. svn path=/main/trunk/; revision=9848
* Rename the undocumented --conistent option to --complete-graph and addZac Medico2008-04-113-4/+28
| | | | | | some docs. svn path=/main/trunk/; revision=9846
* Make file_get() redirect FETCHCOMMAND output to stdout just likeZac Medico2008-04-111-1/+6
| | | | | | portage.fetch() does. Thanks to Ramereth for reporting. svn path=/main/trunk/; revision=9844
* Fix 'undefined name' errors found by pyflakes.Zac Medico2008-04-111-3/+3
| | | | svn path=/main/trunk/; revision=9842
* Fix the code from the previous commit so that it doesn't try to pullZac Medico2008-04-111-2/+7
| | | | | | | USE from a portdbapi instance (like when called by repoman) since portdbapi doesn't return USE in aux_get() calls. svn path=/main/trunk/; revision=9840
* When dep_check() expands new-style virtuals, use USE flags from aux_getZac Medico2008-04-111-2/+6
| | | | | | | | 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. svn path=/main/trunk/; revision=9839
* Make doebuild() bail out early with a PermissionDenied error if thereZac Medico2008-04-111-0/+10
| | | | | | is no write access to $PKGDIR. svn path=/main/trunk/; revision=9837
* Remove unused infodir variable.Zac Medico2008-04-111-2/+0
| | | | svn path=/main/trunk/; revision=9835
* Remove all calls to config.load_infodir() since it doesn't seemZac Medico2008-04-111-5/+0
| | | | | | | to server any purpose now that the complete environment is loaded from environment.bz2. svn path=/main/trunk/; revision=9834
* 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. svn path=/main/trunk/; revision=9832
* Copy group mode bits from $PKGDIR when creating subdirectories.Zac Medico2008-04-111-31/+30
| | | | svn path=/main/trunk/; revision=9827
* 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. svn path=/main/trunk/; revision=9825
* Nest the DepcheckCompositeDB class inside the depgraph class since it'sZac Medico2008-04-101-86/+86
| | | | | | not intended for use elsewhere. svn path=/main/trunk/; revision=9823
* Rename variable pkg_cpv to pkg_str.Zac Medico2008-04-101-7/+7
| | | | svn path=/main/trunk/; revision=9821
* Fix "pkg" variable name collisions in depgraph.display().Zac Medico2008-04-101-13/+12
| | | | svn path=/main/trunk/; revision=9819
* Make the CHOST visibility check tolerant of missing CHOST metadata.Zac Medico2008-04-101-7/+9
| | | | svn path=/main/trunk/; revision=9817
* Bug #217122 - When waiting for a parallel-fetch download to complete,Zac Medico2008-04-101-2/+9
| | | | | | show a more friendly and informative message. svn path=/main/trunk/; revision=9815
* Remove an unused function.Zac Medico2008-04-101-11/+0
| | | | svn path=/main/trunk/; revision=9810
* 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. svn path=/main/trunk/; revision=9808
* Iterate over a copy of the digraph nodes so that removal can't breakZac Medico2008-04-101-2/+2
| | | | | | the iterator. svn path=/main/trunk/; revision=9799
* Make sure that everything except Package nodes is ignored when doingZac Medico2008-04-101-4/+12
| | | | | | the --buildpkgonly digraph.hasallzeros() check. svn path=/main/trunk/; revision=9797
* Use cached Package instances in depgraph.display().Zac Medico2008-04-101-11/+4
| | | | svn path=/main/trunk/; revision=9794
* * 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(). svn path=/main/trunk/; revision=9789
* Make FakeVartree use PackageVirtualDbapi instead of fakedbapi so that it canZac Medico2008-04-101-7/+23
| | | | | | populate and utilize a cache of Package instances. svn path=/main/trunk/; revision=9788
* Improve used of cached Package instances in depgraph._select_pkg_from_graph().Zac Medico2008-04-101-13/+4
| | | | svn path=/main/trunk/; revision=9787
* Replace the fakdbapi 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. svn path=/main/trunk/; revision=9786
* Add some docs for the DepcheckCompositeDB class.Zac Medico2008-04-091-0/+7
| | | | svn path=/main/trunk/; revision=9785
* 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. svn path=/main/trunk/; revision=9779
* Fix the docstring for depgraph._dep_expand().Zac Medico2008-04-091-1/+4
| | | | svn path=/main/trunk/; revision=9777
* Fix minor issues in the calculation of the number of parents omitted fromZac Medico2008-04-091-8/+5
| | | | | | the slot collision display. svn path=/main/trunk/; revision=9775
* 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. (branches/2.1.2 r9773) svn path=/main/trunk/; revision=9774