Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't swallow unknown exceptions from lstat() during the merge phase. | Zac Medico | 2006-07-13 | 1 | -4/+5 |
| | | | | svn path=/main/trunk/; revision=3839 | ||||
* | Use startswith instead of slices to simplify config protect code. | Zac Medico | 2006-07-12 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=3838 | ||||
* | Use a safer method to join the path when deciding if the current merge ↵ | Zac Medico | 2006-07-12 | 1 | -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 Medico | 2006-07-11 | 1 | -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 Medico | 2006-07-11 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=3835 | ||||
* | Allow emerge --info to show per-package settings for bug #95741. Thanks to ↵ | Zac Medico | 2006-07-10 | 1 | -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 Medico | 2006-07-10 | 1 | -1/+3 |
| | | | | svn path=/main/trunk/; revision=3833 | ||||
* | Move code out of global scope. | Zac Medico | 2006-07-10 | 1 | -10/+12 |
| | | | | svn path=/main/trunk/; revision=3832 | ||||
* | Use a list comprehension to simplify the code for bug #55871. | Zac Medico | 2006-07-10 | 1 | -4/+3 |
| | | | | svn path=/main/trunk/; revision=3831 | ||||
* | Move all the config adjustments that require the config instance to be ↵ | Zac Medico | 2006-07-10 | 1 | -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 Medico | 2006-07-10 | 1 | -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 Medico | 2006-07-10 | 1 | -1/+1 |
| | | | | | | are deleted. svn path=/main/trunk/; revision=3828 | ||||
* | Allow binary packages to be installed with --usepkg even when there is no ↵ | Zac Medico | 2006-07-10 | 1 | -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 Medico | 2006-07-09 | 1 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=3826 | ||||
* | Add a bindbapi.aux_update() method for database maintenance. See bug #122089. | Zac Medico | 2006-07-09 | 1 | -0/+12 |
| | | | | svn path=/main/trunk/; revision=3825 | ||||
* | Use write_atomic for dblink metadata updates. | Zac Medico | 2006-07-09 | 1 | -3/+1 |
| | | | | svn path=/main/trunk/; revision=3824 | ||||
* | Update error handling for write_atomic calls to use PortageException. | Zac Medico | 2006-07-09 | 2 | -3/+3 |
| | | | | svn path=/main/trunk/; revision=3823 | ||||
* | Wrap common write_atomic exceptions for easier error handling. | Zac Medico | 2006-07-09 | 1 | -4/+16 |
| | | | | svn path=/main/trunk/; revision=3822 | ||||
* | Add a vardbapi.aux_update() method for database maintenance. See bug #122089. | Zac Medico | 2006-07-09 | 1 | -3/+22 |
| | | | | svn path=/main/trunk/; revision=3821 | ||||
* | Use dbapi to unify config.setinst() call in depgraph.select_dep(). | Zac Medico | 2006-07-09 | 1 | -4/+2 |
| | | | | svn path=/main/trunk/; revision=3820 | ||||
* | Use the abstract dbapi.aux_get() interface to unify retrieval of IUSE in ↵ | Zac Medico | 2006-07-09 | 1 | -4/+1 |
| | | | | | | depgraph.create(). svn path=/main/trunk/; revision=3819 | ||||
* | Use the abstract dbapi.aux_get() interface to unify retrieval of dependency ↵ | Zac Medico | 2006-07-09 | 1 | -32/+19 |
| | | | | | | strings in depgraph.create(). svn path=/main/trunk/; revision=3818 | ||||
* | Use a cmpsplit() function to simplify package comparisons in ↵ | Zac Medico | 2006-07-08 | 1 | -6/+6 |
| | | | | | | depgraph.select_dep(). svn path=/main/trunk/; revision=3817 | ||||
* | Remove the merging=2 case to simplify merge/nomerge logic. | Zac Medico | 2006-07-08 | 1 | -3/+1 |
| | | | | svn path=/main/trunk/; revision=3816 | ||||
* | Fix indentation mistake from the last commit. | Zac Medico | 2006-07-08 | 1 | -3/+3 |
| | | | | svn path=/main/trunk/; revision=3815 | ||||
* | Use set.intersection() to simplify --newuse comparison. | Zac Medico | 2006-07-08 | 1 | -10/+11 |
| | | | | svn path=/main/trunk/; revision=3814 | ||||
* | Do config.reset() prior to the depend phase to make sure that doebuild ↵ | Zac Medico | 2006-07-08 | 1 | -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 Medico | 2006-07-07 | 1 | -3/+0 |
| | | | | | | base profile. svn path=/main/trunk/; revision=3812 | ||||
* | Fix the NameError that occurs when collision-protect triggers unmerge. See ↵ | Zac Medico | 2006-07-07 | 1 | -1/+1 |
| | | | | | | bug #139580. svn path=/main/trunk/; revision=3811 | ||||
* | Use copy.deepcopy() to ensure that state comparison works properly. | Zac Medico | 2006-07-06 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=3808 | ||||
* | Only commit the mtimedb if the internal state has changed. | Zac Medico | 2006-07-06 | 1 | -1/+7 |
| | | | | svn path=/main/trunk/; revision=3807 | ||||
* | Export the path of the build log into the ebuild env as suggested by Flameeyes. | Zac Medico | 2006-07-06 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=3802 | ||||
* | remove pointless line that just ruins the display | Mike Frysinger | 2006-07-06 | 1 | -1/+0 |
| | | | | svn path=/main/trunk/; revision=3800 | ||||
* | Clean up getportageversion() profile logic and fix a ValueError that occurs ↵ | Zac Medico | 2006-07-06 | 1 | -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 Medico | 2006-07-06 | 1 | -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 Medico | 2006-07-06 | 1 | -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 Medico | 2006-07-06 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=3795 | ||||
* | Cache a cloned config instance inside portdbapi so that a new one doesn't ↵ | Zac Medico | 2006-07-05 | 1 | -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 Medico | 2006-07-05 | 1 | -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 Medico | 2006-07-05 | 1 | -5/+2 |
| | | | | | | See bug #132601. svn path=/main/trunk/; revision=3791 | ||||
* | Fix repoman breakage due to the fact that portage.portagetree now creates ↵ | Zac Medico | 2006-07-05 | 1 | -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 Medico | 2006-07-05 | 1 | -1/+3 |
| | | | | svn path=/main/trunk/; revision=3789 | ||||
* | Run global updates asap and then reload the whole config to make sure ↵ | Zac Medico | 2006-07-05 | 1 | -3/+6 |
| | | | | | | everything is consistent. svn path=/main/trunk/; revision=3788 | ||||
* | Match blockers against the correct $ROOT for bug #108449. | Zac Medico | 2006-07-05 | 1 | -4/+6 |
| | | | | svn path=/main/trunk/; revision=3787 | ||||
* | Pass existing trees into load_emerge_config() so that the existing portdbapi ↵ | Zac Medico | 2006-07-05 | 1 | -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 Medico | 2006-07-05 | 2 | -129/+146 |
| | | | | | | PORTAGE_CONFIGROOT. This fixes bug #137446. svn path=/main/trunk/; revision=3785 | ||||
* | Fix more $ROOT references for bug #137446. | Zac Medico | 2006-07-04 | 1 | -6/+14 |
| | | | | svn path=/main/trunk/; revision=3784 | ||||
* | Fix $ROOT references in the depgraph class for bug #137446. | Zac Medico | 2006-07-04 | 1 | -91/+89 |
| | | | | svn path=/main/trunk/; revision=3783 | ||||
* | Use the correct bintree and porttree for bug #137446. | Zac Medico | 2006-07-03 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=3782 | ||||
* | Remove color from "none" reported by vapier. | Zac Medico | 2006-07-03 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=3781 |