summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Use a safer method to join the path when deciding if the current merge ↵Zac Medico2006-07-121-1/+4
| | | | | | offset is config protected. The main problem with corresponding change from r3836 is that the destroot variable happens to be // when ROOT=/. See bug #140045. svn path=/main/trunk/; revision=3837
* Replace incorrect references to myrealdest (the file name that appears in ↵Zac Medico2006-07-111-10/+11
| | | | | | CONTENTS) with correct references to mydest (the absolute destination path, prefixed with $ROOT). See bug #120653. svn path=/main/trunk/; revision=3836
* Just use the raise statement alone to re-raise exceptions.Zac Medico2006-07-111-2/+2
| | | | svn path=/main/trunk/; revision=3835
* Allow emerge --info to show per-package settings for bug #95741. Thanks to ↵Zac Medico2006-07-101-3/+67
| | | | | | npmccallum for the initial patch. svn path=/main/trunk/; revision=3834
* Don't call emergelog() from the parallel-fetch process for bug #88837.Zac Medico2006-07-101-1/+3
| | | | svn path=/main/trunk/; revision=3833
* Move code out of global scope.Zac Medico2006-07-101-10/+12
| | | | svn path=/main/trunk/; revision=3832
* Use a list comprehension to simplify the code for bug #55871.Zac Medico2006-07-101-4/+3
| | | | svn path=/main/trunk/; revision=3831
* Move all the config adjustments that require the config instance to be ↵Zac Medico2006-07-101-57/+58
| | | | | | unlocked into a new adjust_config() function. This allows the function to be applied to both of the major config instances that exist when $ROOT != /. svn path=/main/trunk/; revision=3830
* If category expansion fails against the portage tree, remove the null/ ↵Zac Medico2006-07-101-0/+6
| | | | | | prefix so that it may be given another chance to expand against the binary package tree in select_dep(). See bug #135834. svn path=/main/trunk/; revision=3829
* Start at the end of the list so that the index works properly after items ↵Zac Medico2006-07-101-1/+1
| | | | | | are deleted. svn path=/main/trunk/; revision=3828
* Allow binary packages to be installed with --usepkg even when there is no ↵Zac Medico2006-07-101-2/+3
| | | | | | ebuild in tree (but not when there is a matching ebuild in the tree that is masked). See bugs #135834 and #55871. svn path=/main/trunk/; revision=3827
* Implement fakedbapi.cpv_all() so that bindbapi will inherit it.Zac Medico2006-07-091-0/+3
| | | | svn path=/main/trunk/; revision=3826
* Add a bindbapi.aux_update() method for database maintenance. See bug #122089.Zac Medico2006-07-091-0/+12
| | | | svn path=/main/trunk/; revision=3825
* Use write_atomic for dblink metadata updates.Zac Medico2006-07-091-3/+1
| | | | svn path=/main/trunk/; revision=3824
* Update error handling for write_atomic calls to use PortageException.Zac Medico2006-07-092-3/+3
| | | | svn path=/main/trunk/; revision=3823
* Wrap common write_atomic exceptions for easier error handling.Zac Medico2006-07-091-4/+16
| | | | svn path=/main/trunk/; revision=3822
* Add a vardbapi.aux_update() method for database maintenance. See bug #122089.Zac Medico2006-07-091-3/+22
| | | | svn path=/main/trunk/; revision=3821
* Use dbapi to unify config.setinst() call in depgraph.select_dep().Zac Medico2006-07-091-4/+2
| | | | svn path=/main/trunk/; revision=3820
* Use the abstract dbapi.aux_get() interface to unify retrieval of IUSE in ↵Zac Medico2006-07-091-4/+1
| | | | | | depgraph.create(). svn path=/main/trunk/; revision=3819
* Use the abstract dbapi.aux_get() interface to unify retrieval of dependency ↵Zac Medico2006-07-091-32/+19
| | | | | | strings in depgraph.create(). svn path=/main/trunk/; revision=3818
* Use a cmpsplit() function to simplify package comparisons in ↵Zac Medico2006-07-081-6/+6
| | | | | | depgraph.select_dep(). svn path=/main/trunk/; revision=3817
* Remove the merging=2 case to simplify merge/nomerge logic.Zac Medico2006-07-081-3/+1
| | | | svn path=/main/trunk/; revision=3816
* Fix indentation mistake from the last commit.Zac Medico2006-07-081-3/+3
| | | | svn path=/main/trunk/; revision=3815
* Use set.intersection() to simplify --newuse comparison.Zac Medico2006-07-081-10/+11
| | | | svn path=/main/trunk/; revision=3814
* Do config.reset() prior to the depend phase to make sure that doebuild ↵Zac Medico2006-07-081-0/+1
| | | | | | chooses the correct category. This fixes a problem similar to bug #137105. svn path=/main/trunk/; revision=3813
* Remove USE_EXPAND_HIDDEN from make.globals since it's now included in the ↵Zac Medico2006-07-071-3/+0
| | | | | | base profile. svn path=/main/trunk/; revision=3812
* Fix the NameError that occurs when collision-protect triggers unmerge. See ↵Zac Medico2006-07-071-1/+1
| | | | | | bug #139580. svn path=/main/trunk/; revision=3811
* Use copy.deepcopy() to ensure that state comparison works properly.Zac Medico2006-07-061-2/+2
| | | | svn path=/main/trunk/; revision=3808
* Only commit the mtimedb if the internal state has changed.Zac Medico2006-07-061-1/+7
| | | | svn path=/main/trunk/; revision=3807
* Export the path of the build log into the ebuild env as suggested by Flameeyes.Zac Medico2006-07-061-0/+1
| | | | svn path=/main/trunk/; revision=3802
* remove pointless line that just ruins the displayMike Frysinger2006-07-061-1/+0
| | | | svn path=/main/trunk/; revision=3800
* Clean up getportageversion() profile logic and fix a ValueError that occurs ↵Zac Medico2006-07-061-10/+12
| | | | | | when profile is None. svn path=/main/trunk/; revision=3798
* Remove global autouse cache since most people don't use it anyway and it's ↵Zac Medico2006-07-061-8/+0
| | | | | | broken in the case where $ROOT != /. svn path=/main/trunk/; revision=3797
* Move the ARCH sanity check from the depgraph constructor to a new ↵Zac Medico2006-07-061-12/+18
| | | | | | validate_ebuild_environment() function and call it before any action that requires an ebuild environment (including search, which may result in metadata generation). So, --sync, --metadata, and --info are currently the only actions that are allowed without ARCH being defined. svn path=/main/trunk/; revision=3796
* Fix missing newline.Zac Medico2006-07-061-1/+1
| | | | svn path=/main/trunk/; revision=3795
* Cache a cloned config instance inside portdbapi so that a new one doesn't ↵Zac Medico2006-07-051-2/+7
| | | | | | have to be cloned each time metadata generation is triggered. svn path=/main/trunk/; revision=3793
* Make a backup of ACCEPT_KEYWORDS when repoman changes it for each profile. ↵Zac Medico2006-07-051-0/+2
| | | | | | This prevents it from being discarded by config.reset() and was the root cause of bug #132601. The cloning that was added in r3791 is a safeguard to prevent problems like this. svn path=/main/trunk/; revision=3792
* Use a cloned config instance for the depend phase in portdbapi.aux_get(). ↵Zac Medico2006-07-051-5/+2
| | | | | | See bug #132601. svn path=/main/trunk/; revision=3791
* Fix repoman breakage due to the fact that portage.portagetree now creates ↵Zac Medico2006-07-051-7/+9
| | | | | | it's own portdbapi instance. Repoman will now use a single portdbapi instance instead of one for each arch. The arch specific config instances are swapped in on the fly. Hopefully this fixes bug #132601. svn path=/main/trunk/; revision=3790
* Freeze all pordbapi instances.Zac Medico2006-07-051-1/+3
| | | | svn path=/main/trunk/; revision=3789
* Run global updates asap and then reload the whole config to make sure ↵Zac Medico2006-07-051-3/+6
| | | | | | everything is consistent. svn path=/main/trunk/; revision=3788
* Match blockers against the correct $ROOT for bug #108449.Zac Medico2006-07-051-4/+6
| | | | svn path=/main/trunk/; revision=3787
* Pass existing trees into load_emerge_config() so that the existing portdbapi ↵Zac Medico2006-07-051-4/+4
| | | | | | instances will be cleaned up by portage.create_trees(). svn path=/main/trunk/; revision=3786
* Allow the loading of a completely separate config for / and ↵Zac Medico2006-07-052-129/+146
| | | | | | PORTAGE_CONFIGROOT. This fixes bug #137446. svn path=/main/trunk/; revision=3785
* Fix more $ROOT references for bug #137446.Zac Medico2006-07-041-6/+14
| | | | svn path=/main/trunk/; revision=3784
* Fix $ROOT references in the depgraph class for bug #137446.Zac Medico2006-07-041-91/+89
| | | | svn path=/main/trunk/; revision=3783
* Use the correct bintree and porttree for bug #137446.Zac Medico2006-07-031-2/+2
| | | | svn path=/main/trunk/; revision=3782
* Remove color from "none" reported by vapier.Zac Medico2006-07-031-2/+2
| | | | svn path=/main/trunk/; revision=3781
* Remove commented code cruft.Zac Medico2006-07-031-10/+0
| | | | svn path=/main/trunk/; revision=3780
* Do some basic validation of the mtimedb resume data so that assumptions can ↵Zac Medico2006-07-031-0/+10
| | | | | | be made later. svn path=/main/trunk/; revision=3779