portage.git
18 years agoFix gid typo from the last commit.
Zac Medico [Thu, 13 Jul 2006 23:42:50 +0000 (23:42 -0000)]
Fix gid typo from the last commit.

svn path=/main/trunk/; revision=3869

18 years agoMove the world file trimming out of dblink.unmerge() since the world file is package...
Zac Medico [Thu, 13 Jul 2006 23:33:05 +0000 (23:33 -0000)]
Move the world file trimming out of dblink.unmerge() since the world file is package set territory and therefore doesn't belong inside dblink.

svn path=/main/trunk/; revision=3868

18 years agoMake the merge phase bail out if srcroot doesn't exist for bug #140159.
Zac Medico [Thu, 13 Jul 2006 19:29:09 +0000 (19:29 -0000)]
Make the merge phase bail out if srcroot doesn't exist for bug #140159.

svn path=/main/trunk/; revision=3857

18 years agoRemove the unmerge_overlapping() function since unmerge() now works properly in the...
Zac Medico [Thu, 13 Jul 2006 19:08:09 +0000 (19:08 -0000)]
Remove the unmerge_overlapping() function since unmerge() now works properly in the case where ROOT!=/ thanks to the fix for bugs #137446 and #131319.

svn path=/main/trunk/; revision=3854

18 years agoDie at the beginning of install_qa_check if ${D} doesn't exist. See bug #140159.
Zac Medico [Thu, 13 Jul 2006 18:04:36 +0000 (18:04 -0000)]
Die at the beginning of install_qa_check if ${D} doesn't exist.  See bug #140159.

svn path=/main/trunk/; revision=3852

18 years agoSplit depgraph.merge() to a separate MergeTask class.
Zac Medico [Thu, 13 Jul 2006 08:23:10 +0000 (08:23 -0000)]
Split depgraph.merge() to a separate MergeTask class.

svn path=/main/trunk/; revision=3844

18 years agoFix incorrect path handling in parts of symlink merge logic.
Zac Medico [Thu, 13 Jul 2006 06:54:14 +0000 (06:54 -0000)]
Fix incorrect path handling in parts of symlink merge logic.

svn path=/main/trunk/; revision=3843

18 years agoRemove orphan srctarget variable.
Zac Medico [Thu, 13 Jul 2006 04:15:47 +0000 (04:15 -0000)]
Remove orphan srctarget variable.

svn path=/main/trunk/; revision=3842

18 years agoUse startswith instead of slice or find.
Zac Medico [Thu, 13 Jul 2006 04:09:59 +0000 (04:09 -0000)]
Use startswith instead of slice or find.

svn path=/main/trunk/; revision=3841

18 years agoClean up various path joins in dblink.mergeme().
Zac Medico [Thu, 13 Jul 2006 03:44:40 +0000 (03:44 -0000)]
Clean up various path joins in dblink.mergeme().

svn path=/main/trunk/; revision=3840

18 years agoDon't swallow unknown exceptions from lstat() during the merge phase.
Zac Medico [Thu, 13 Jul 2006 02:22:22 +0000 (02:22 -0000)]
Don't swallow unknown exceptions from lstat() during the merge phase.

svn path=/main/trunk/; revision=3839

18 years agoUse startswith instead of slices to simplify config protect code.
Zac Medico [Wed, 12 Jul 2006 17:12:06 +0000 (17:12 -0000)]
Use startswith instead of slices to simplify config protect code.

svn path=/main/trunk/; revision=3838

18 years agoUse a safer method to join the path when deciding if the current merge offset is...
Zac Medico [Wed, 12 Jul 2006 09:59:01 +0000 (09:59 -0000)]
Use a safer method to join the path when deciding if the current merge 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

18 years agoReplace incorrect references to myrealdest (the file name that appears in CONTENTS...
Zac Medico [Tue, 11 Jul 2006 01:51:54 +0000 (01:51 -0000)]
Replace incorrect references to myrealdest (the file name that appears in CONTENTS) with correct references to mydest (the absolute destination path, prefixed with $ROOT).  See bug #120653.

svn path=/main/trunk/; revision=3836

18 years agoJust use the raise statement alone to re-raise exceptions.
Zac Medico [Tue, 11 Jul 2006 00:59:10 +0000 (00:59 -0000)]
Just use the raise statement alone to re-raise exceptions.

svn path=/main/trunk/; revision=3835

18 years agoAllow emerge --info to show per-package settings for bug #95741. Thanks to npmccallu...
Zac Medico [Mon, 10 Jul 2006 23:01:47 +0000 (23:01 -0000)]
Allow emerge --info to show per-package settings for bug #95741.  Thanks to npmccallum for the initial patch.

svn path=/main/trunk/; revision=3834

18 years agoDon't call emergelog() from the parallel-fetch process for bug #88837.
Zac Medico [Mon, 10 Jul 2006 19:40:08 +0000 (19:40 -0000)]
Don't call emergelog() from the parallel-fetch process for bug #88837.

svn path=/main/trunk/; revision=3833

18 years agoMove code out of global scope.
Zac Medico [Mon, 10 Jul 2006 19:12:45 +0000 (19:12 -0000)]
Move code out of global scope.

svn path=/main/trunk/; revision=3832

18 years agoUse a list comprehension to simplify the code for bug #55871.
Zac Medico [Mon, 10 Jul 2006 08:04:43 +0000 (08:04 -0000)]
Use a list comprehension to simplify the code for bug #55871.

svn path=/main/trunk/; revision=3831

18 years agoMove all the config adjustments that require the config instance to be unlocked into...
Zac Medico [Mon, 10 Jul 2006 05:51:42 +0000 (05:51 -0000)]
Move all the config adjustments that require the config instance to be 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

18 years agoIf category expansion fails against the portage tree, remove the null/ prefix so...
Zac Medico [Mon, 10 Jul 2006 02:00:53 +0000 (02:00 -0000)]
If category expansion fails against the portage tree, remove the null/ 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

18 years agoStart at the end of the list so that the index works properly after items are deleted.
Zac Medico [Mon, 10 Jul 2006 01:08:25 +0000 (01:08 -0000)]
Start at the end of the list so that the index works properly after items are deleted.

svn path=/main/trunk/; revision=3828

18 years agoAllow binary packages to be installed with --usepkg even when there is no ebuild...
Zac Medico [Mon, 10 Jul 2006 00:57:38 +0000 (00:57 -0000)]
Allow binary packages to be installed with --usepkg even when there is no 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

18 years agoImplement fakedbapi.cpv_all() so that bindbapi will inherit it.
Zac Medico [Sun, 9 Jul 2006 22:27:42 +0000 (22:27 -0000)]
Implement fakedbapi.cpv_all() so that bindbapi will inherit it.

svn path=/main/trunk/; revision=3826

18 years agoAdd a bindbapi.aux_update() method for database maintenance. See bug #122089.
Zac Medico [Sun, 9 Jul 2006 21:05:28 +0000 (21:05 -0000)]
Add a bindbapi.aux_update() method for database maintenance. See bug #122089.

svn path=/main/trunk/; revision=3825

18 years agoUse write_atomic for dblink metadata updates.
Zac Medico [Sun, 9 Jul 2006 20:34:55 +0000 (20:34 -0000)]
Use write_atomic for dblink metadata updates.

svn path=/main/trunk/; revision=3824

18 years agoUpdate error handling for write_atomic calls to use PortageException.
Zac Medico [Sun, 9 Jul 2006 20:31:50 +0000 (20:31 -0000)]
Update error handling for write_atomic calls to use PortageException.

svn path=/main/trunk/; revision=3823

18 years agoWrap common write_atomic exceptions for easier error handling.
Zac Medico [Sun, 9 Jul 2006 20:18:59 +0000 (20:18 -0000)]
Wrap common write_atomic exceptions for easier error handling.

svn path=/main/trunk/; revision=3822

18 years agoAdd a vardbapi.aux_update() method for database maintenance. See bug #122089.
Zac Medico [Sun, 9 Jul 2006 20:09:40 +0000 (20:09 -0000)]
Add a vardbapi.aux_update() method for database maintenance. See bug #122089.

svn path=/main/trunk/; revision=3821

18 years agoUse dbapi to unify config.setinst() call in depgraph.select_dep().
Zac Medico [Sun, 9 Jul 2006 19:07:54 +0000 (19:07 -0000)]
Use dbapi to unify config.setinst() call in depgraph.select_dep().

svn path=/main/trunk/; revision=3820

18 years agoUse the abstract dbapi.aux_get() interface to unify retrieval of IUSE in depgraph...
Zac Medico [Sun, 9 Jul 2006 18:49:39 +0000 (18:49 -0000)]
Use the abstract dbapi.aux_get() interface to unify retrieval of IUSE in depgraph.create().

svn path=/main/trunk/; revision=3819

18 years agoUse the abstract dbapi.aux_get() interface to unify retrieval of dependency strings...
Zac Medico [Sun, 9 Jul 2006 18:43:02 +0000 (18:43 -0000)]
Use the abstract dbapi.aux_get() interface to unify retrieval of dependency strings in depgraph.create().

svn path=/main/trunk/; revision=3818

18 years agoUse a cmpsplit() function to simplify package comparisons in depgraph.select_dep().
Zac Medico [Sat, 8 Jul 2006 23:12:07 +0000 (23:12 -0000)]
Use a cmpsplit() function to simplify package comparisons in depgraph.select_dep().

svn path=/main/trunk/; revision=3817

18 years agoRemove the merging=2 case to simplify merge/nomerge logic.
Zac Medico [Sat, 8 Jul 2006 23:03:37 +0000 (23:03 -0000)]
Remove the merging=2 case to simplify merge/nomerge logic.

svn path=/main/trunk/; revision=3816

18 years agoFix indentation mistake from the last commit.
Zac Medico [Sat, 8 Jul 2006 22:58:00 +0000 (22:58 -0000)]
Fix indentation mistake from the last commit.

svn path=/main/trunk/; revision=3815

18 years agoUse set.intersection() to simplify --newuse comparison.
Zac Medico [Sat, 8 Jul 2006 22:55:27 +0000 (22:55 -0000)]
Use set.intersection() to simplify --newuse comparison.

svn path=/main/trunk/; revision=3814

18 years agoDo config.reset() prior to the depend phase to make sure that doebuild chooses the...
Zac Medico [Sat, 8 Jul 2006 00:33:55 +0000 (00:33 -0000)]
Do config.reset() prior to the depend phase to make sure that doebuild chooses the correct category.  This fixes a problem similar to bug #137105.

svn path=/main/trunk/; revision=3813

18 years agoRemove USE_EXPAND_HIDDEN from make.globals since it's now included in the base profile.
Zac Medico [Fri, 7 Jul 2006 21:57:28 +0000 (21:57 -0000)]
Remove USE_EXPAND_HIDDEN from make.globals since it's now included in the base profile.

svn path=/main/trunk/; revision=3812

18 years agoFix the NameError that occurs when collision-protect triggers unmerge. See bug #139580.
Zac Medico [Fri, 7 Jul 2006 18:02:12 +0000 (18:02 -0000)]
Fix the NameError that occurs when collision-protect triggers unmerge. See bug #139580.

svn path=/main/trunk/; revision=3811

18 years agoUse copy.deepcopy() to ensure that state comparison works properly.
Zac Medico [Thu, 6 Jul 2006 19:58:39 +0000 (19:58 -0000)]
Use copy.deepcopy() to ensure that state comparison works properly.

svn path=/main/trunk/; revision=3808

18 years agoOnly commit the mtimedb if the internal state has changed.
Zac Medico [Thu, 6 Jul 2006 19:54:45 +0000 (19:54 -0000)]
Only commit the mtimedb if the internal state has changed.

svn path=/main/trunk/; revision=3807

18 years agoExport the path of the build log into the ebuild env as suggested by Flameeyes.
Zac Medico [Thu, 6 Jul 2006 18:01:59 +0000 (18:01 -0000)]
Export the path of the build log into the ebuild env as suggested by Flameeyes.

svn path=/main/trunk/; revision=3802

18 years agoremove pointless line that just ruins the display
Mike Frysinger [Thu, 6 Jul 2006 17:46:04 +0000 (17:46 -0000)]
remove pointless line that just ruins the display

svn path=/main/trunk/; revision=3800

18 years agoClean up getportageversion() profile logic and fix a ValueError that occurs when...
Zac Medico [Thu, 6 Jul 2006 16:40:01 +0000 (16:40 -0000)]
Clean up getportageversion() profile logic and fix a ValueError that occurs when profile is None.

svn path=/main/trunk/; revision=3798

18 years agoRemove global autouse cache since most people don't use it anyway and it's broken...
Zac Medico [Thu, 6 Jul 2006 02:46:13 +0000 (02:46 -0000)]
Remove global autouse cache since most people don't use it anyway and it's broken in the case where $ROOT != /.

svn path=/main/trunk/; revision=3797

18 years agoMove the ARCH sanity check from the depgraph constructor to a new validate_ebuild_env...
Zac Medico [Thu, 6 Jul 2006 02:30:31 +0000 (02:30 -0000)]
Move the ARCH sanity check from the depgraph constructor to a new 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

18 years agoFix missing newline.
Zac Medico [Thu, 6 Jul 2006 00:08:40 +0000 (00:08 -0000)]
Fix missing newline.

svn path=/main/trunk/; revision=3795

18 years agoCache a cloned config instance inside portdbapi so that a new one doesn't have to...
Zac Medico [Wed, 5 Jul 2006 22:36:45 +0000 (22:36 -0000)]
Cache a cloned config instance inside portdbapi so that a new one doesn't have to be cloned each time metadata generation is triggered.

svn path=/main/trunk/; revision=3793

18 years agoMake a backup of ACCEPT_KEYWORDS when repoman changes it for each profile. This...
Zac Medico [Wed, 5 Jul 2006 20:03:35 +0000 (20:03 -0000)]
Make a backup of ACCEPT_KEYWORDS when repoman changes it for each profile.  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

18 years agoUse a cloned config instance for the depend phase in portdbapi.aux_get(). See bug...
Zac Medico [Wed, 5 Jul 2006 18:39:27 +0000 (18:39 -0000)]
Use a cloned config instance for the depend phase in portdbapi.aux_get().  See bug #132601.

svn path=/main/trunk/; revision=3791

18 years agoFix repoman breakage due to the fact that portage.portagetree now creates it's own...
Zac Medico [Wed, 5 Jul 2006 17:57:14 +0000 (17:57 -0000)]
Fix repoman breakage due to the fact that portage.portagetree now creates 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

18 years agoFreeze all pordbapi instances.
Zac Medico [Wed, 5 Jul 2006 05:24:34 +0000 (05:24 -0000)]
Freeze all pordbapi instances.

svn path=/main/trunk/; revision=3789

18 years agoRun global updates asap and then reload the whole config to make sure everything...
Zac Medico [Wed, 5 Jul 2006 04:29:09 +0000 (04:29 -0000)]
Run global updates asap and then reload the whole config to make sure everything is consistent.

svn path=/main/trunk/; revision=3788

18 years agoMatch blockers against the correct $ROOT for bug #108449.
Zac Medico [Wed, 5 Jul 2006 03:41:50 +0000 (03:41 -0000)]
Match blockers against the correct $ROOT for bug #108449.

svn path=/main/trunk/; revision=3787

18 years agoPass existing trees into load_emerge_config() so that the existing portdbapi instance...
Zac Medico [Wed, 5 Jul 2006 03:07:34 +0000 (03:07 -0000)]
Pass existing trees into load_emerge_config() so that the existing portdbapi instances will be cleaned up by portage.create_trees().

svn path=/main/trunk/; revision=3786

18 years agoAllow the loading of a completely separate config for / and PORTAGE_CONFIGROOT. ...
Zac Medico [Wed, 5 Jul 2006 02:42:22 +0000 (02:42 -0000)]
Allow the loading of a completely separate config for / and PORTAGE_CONFIGROOT.  This fixes bug #137446.

svn path=/main/trunk/; revision=3785

18 years agoFix more $ROOT references for bug #137446.
Zac Medico [Tue, 4 Jul 2006 00:29:45 +0000 (00:29 -0000)]
Fix more $ROOT references for bug #137446.

svn path=/main/trunk/; revision=3784

18 years agoFix $ROOT references in the depgraph class for bug #137446.
Zac Medico [Tue, 4 Jul 2006 00:02:47 +0000 (00:02 -0000)]
Fix $ROOT references in the depgraph class for bug #137446.

svn path=/main/trunk/; revision=3783

18 years agoUse the correct bintree and porttree for bug #137446.
Zac Medico [Mon, 3 Jul 2006 20:31:06 +0000 (20:31 -0000)]
Use the correct bintree and porttree for bug #137446.

svn path=/main/trunk/; revision=3782

18 years agoRemove color from "none" reported by vapier.
Zac Medico [Mon, 3 Jul 2006 19:52:54 +0000 (19:52 -0000)]
Remove color from "none" reported by vapier.

svn path=/main/trunk/; revision=3781

18 years agoRemove commented code cruft.
Zac Medico [Mon, 3 Jul 2006 19:43:14 +0000 (19:43 -0000)]
Remove commented code cruft.

svn path=/main/trunk/; revision=3780

18 years agoDo some basic validation of the mtimedb resume data so that assumptions can be made...
Zac Medico [Mon, 3 Jul 2006 19:26:30 +0000 (19:26 -0000)]
Do some basic validation of the mtimedb resume data so that assumptions can be made later.

svn path=/main/trunk/; revision=3779

18 years agoWhen displaying the resume merge list, don't show the skipped package when --skipfirs...
Zac Medico [Mon, 3 Jul 2006 17:35:45 +0000 (17:35 -0000)]
When displaying the resume merge list, don't show the skipped package when --skipfirst is enabled.  See bug #121106.

svn path=/main/trunk/; revision=3778

18 years agoCommit the mtimedb for --skipfirst so that if the user aborts the first package,...
Zac Medico [Mon, 3 Jul 2006 16:35:54 +0000 (16:35 -0000)]
Commit the mtimedb for --skipfirst so that if the user aborts the first package, the next --skipfirst will go on to the next package instead of doing the same one again.  This patch simply reverts to the behavior that existed before.

svn path=/main/trunk/; revision=3777

18 years agoRevert accidental hunk from the last commit.
Zac Medico [Mon, 3 Jul 2006 01:51:11 +0000 (01:51 -0000)]
Revert accidental hunk from the last commit.

svn path=/main/trunk/; revision=3774

18 years agoForce fetch if the number of parsed digests does not match the number of digest types...
Zac Medico [Mon, 3 Jul 2006 01:45:38 +0000 (01:45 -0000)]
Force fetch if the number of parsed digests does not match the number of digest types that are supported.  See bug #138911.

svn path=/main/trunk/; revision=3773

18 years agoWhen assume-digests is enabled, for digest generation if the number of parsed digests...
Zac Medico [Mon, 3 Jul 2006 00:27:41 +0000 (00:27 -0000)]
When assume-digests is enabled, for digest generation if the number of parsed digests does not match the number of digest types that are supported.  See bug #138911.

svn path=/main/trunk/; revision=3772

18 years agoIgnore hidden directories (such as .svn) when building the scanlist.
Zac Medico [Sun, 2 Jul 2006 18:15:27 +0000 (18:15 -0000)]
Ignore hidden directories (such as .svn) when building the scanlist.

svn path=/main/trunk/; revision=3760

18 years agoCommit the mtimedb prior to restart via excve for bug #138837.
Zac Medico [Sun, 2 Jul 2006 16:53:49 +0000 (16:53 -0000)]
Commit the mtimedb prior to restart via excve for bug #138837.

svn path=/main/trunk/; revision=3759

18 years agoAdd support for arch.list in overlays (bug #137975).
Zac Medico [Sun, 2 Jul 2006 08:07:59 +0000 (08:07 -0000)]
Add support for arch.list in overlays (bug #137975).

svn path=/main/trunk/; revision=3752

18 years agoAdd support for licenses in overlays (bug #137975).
Zac Medico [Sun, 2 Jul 2006 07:56:09 +0000 (07:56 -0000)]
Add support for licenses in overlays (bug #137975).

svn path=/main/trunk/; revision=3751

18 years agoAdd overlay support for use.local.desc in repoman.
Zac Medico [Sun, 2 Jul 2006 07:43:10 +0000 (07:43 -0000)]
Add overlay support for use.local.desc in repoman.

svn path=/main/trunk/; revision=3750

18 years agoFix import issues reported by pyflakes.
Zac Medico [Sun, 2 Jul 2006 06:43:16 +0000 (06:43 -0000)]
Fix import issues reported by pyflakes.

svn path=/main/trunk/; revision=3749

18 years agoAdd a new parse_use_local_desc() function.
Zac Medico [Sun, 2 Jul 2006 06:24:36 +0000 (06:24 -0000)]
Add a new parse_use_local_desc() function.

svn path=/main/trunk/; revision=3748

18 years agoFix NameError when collision-protect is enabled for bug #138793.
Zac Medico [Sun, 2 Jul 2006 01:14:57 +0000 (01:14 -0000)]
Fix NameError when collision-protect is enabled for bug #138793.

svn path=/main/trunk/; revision=3747

18 years agoFix references to global settings in the binarytree class that were reported by solar.
Zac Medico [Sat, 1 Jul 2006 20:26:42 +0000 (20:26 -0000)]
Fix references to global settings in the binarytree class that were reported by solar.

svn path=/main/trunk/; revision=3746

18 years agoUse GOOD, BAD, and WARN color classes where appropriate. Thanks to Damien THEBAULT...
Zac Medico [Sat, 1 Jul 2006 19:57:28 +0000 (19:57 -0000)]
Use GOOD, BAD, and WARN color classes where appropriate.  Thanks to Damien THEBAULT <damien.thebault@laposte.net> for this patch from bug #138600.

svn path=/main/trunk/; revision=3745

18 years agoUse the BAD and GOOD color classes to remove hard coded colors from the depclean...
Zac Medico [Sat, 1 Jul 2006 19:35:56 +0000 (19:35 -0000)]
Use the BAD and GOOD color classes to remove hard coded colors from the depclean warning message.

svn path=/main/trunk/; revision=3744

18 years agoAdd a new MERGE_LIST_PROGRESS color class and remove hard coded yellow/green.
Zac Medico [Sat, 1 Jul 2006 18:05:55 +0000 (18:05 -0000)]
Add a new MERGE_LIST_PROGRESS color class and remove hard coded yellow/green.

svn path=/main/trunk/; revision=3743

18 years ago- multi-package emerge now prints the sequence highlighting count and cpv to visually...
Ned Ludd [Sat, 1 Jul 2006 15:18:38 +0000 (15:18 -0000)]
- multi-package emerge now prints the sequence highlighting count and cpv to visually stand out in wondercolors...

svn path=/main/trunk/; revision=3742

18 years agoFix autouse so that it works with init_legacy_globals() disabled.
Zac Medico [Sat, 1 Jul 2006 10:21:49 +0000 (10:21 -0000)]
Fix autouse so that it works with init_legacy_globals() disabled.

svn path=/main/trunk/; revision=3735

18 years agoTrigger post_emerge() after the relevent actions and commit the mtimedb there.
Zac Medico [Sat, 1 Jul 2006 09:45:06 +0000 (09:45 -0000)]
Trigger post_emerge() after the relevent actions and commit the mtimedb there.

svn path=/main/trunk/; revision=3734

18 years agoPass a config instance into movefile() to avoid dependence on global variables.
Zac Medico [Sat, 1 Jul 2006 09:16:02 +0000 (09:16 -0000)]
Pass a config instance into movefile() to avoid dependence on global variables.

svn path=/main/trunk/; revision=3733

18 years agoIn order to ensure that emerge doesn't use any of portage's legacy global variables...
Zac Medico [Sat, 1 Jul 2006 08:48:39 +0000 (08:48 -0000)]
In order to ensure that emerge doesn't use any of portage's legacy global variables, run emerge with portage.init_legacy_globals() disabled.

svn path=/main/trunk/; revision=3732

18 years agoPass the trees into two more dep_zapdeps calls to avoid dependence on global variables.
Zac Medico [Sat, 1 Jul 2006 08:28:22 +0000 (08:28 -0000)]
Pass the trees into two more dep_zapdeps calls to avoid dependence on global variables.

svn path=/main/trunk/; revision=3731

18 years agoPass a more dbapi instances into doebuild to avoid dependence on global variables.
Zac Medico [Sat, 1 Jul 2006 05:57:08 +0000 (05:57 -0000)]
Pass a more dbapi instances into doebuild to avoid dependence on global variables.

svn path=/main/trunk/; revision=3729

18 years agoPass a portdbapi instance into doebuild to avoid dependence on global variables.
Zac Medico [Sat, 1 Jul 2006 05:37:14 +0000 (05:37 -0000)]
Pass a portdbapi instance into doebuild to avoid dependence on global variables.

svn path=/main/trunk/; revision=3728

18 years agoAllow portage.getmaskingreason() to operate without global variables.
Zac Medico [Sat, 1 Jul 2006 05:03:16 +0000 (05:03 -0000)]
Allow portage.getmaskingreason() to operate without global variables.

svn path=/main/trunk/; revision=3727

18 years agoAllow portage.getmaskingstatus() to operate without global variables.
Zac Medico [Sat, 1 Jul 2006 04:43:47 +0000 (04:43 -0000)]
Allow portage.getmaskingstatus() to operate without global variables.

svn path=/main/trunk/; revision=3726

18 years agoRecycle the portdbapi instance at the and of global_updates().
Zac Medico [Sat, 1 Jul 2006 04:34:50 +0000 (04:34 -0000)]
Recycle the portdbapi instance at the and of global_updates().

svn path=/main/trunk/; revision=3725

18 years agoGo ahead and dump a full traceback without having to enable --debug. There's no...
Zac Medico [Sat, 1 Jul 2006 02:39:09 +0000 (02:39 -0000)]
Go ahead and dump a full traceback without having to enable --debug.  There's no sense in hiding valuable traceback info like that.

svn path=/main/trunk/; revision=3724

18 years agoUse PORTAGE_DEBUG=1 since that's all that portage currently recognizes.
Zac Medico [Sat, 1 Jul 2006 02:26:18 +0000 (02:26 -0000)]
Use PORTAGE_DEBUG=1 since that's all that portage currently recognizes.

svn path=/main/trunk/; revision=3723

18 years agoFix unmerge version spacing for bug #138611.
Zac Medico [Fri, 30 Jun 2006 18:38:44 +0000 (18:38 -0000)]
Fix unmerge version spacing for bug #138611.

svn path=/main/trunk/; revision=3722

18 years agoIntegrate the load_mtimedb() function into the MtimeDB class. This function is relat...
Zac Medico [Fri, 30 Jun 2006 18:12:54 +0000 (18:12 -0000)]
Integrate the load_mtimedb() function into the MtimeDB class.  This function is relatively new so nobody should miss it.

svn path=/main/trunk/; revision=3721

18 years agoRemove redundant "portdb" parameters since pordbapi instances are accessible via...
Zac Medico [Fri, 30 Jun 2006 17:16:31 +0000 (17:16 -0000)]
Remove redundant "portdb" parameters since pordbapi instances are accessible via the "trees" paramters.  There is currently only one global pordbapi instance but eventually there will be separate instances for / and $ROOT.

svn path=/main/trunk/; revision=3720

18 years agoPass trees into dep_check and dep_zapdeps calls in order to avoid dependance on globa...
Zac Medico [Fri, 30 Jun 2006 14:48:01 +0000 (14:48 -0000)]
Pass trees into dep_check and dep_zapdeps calls in order to avoid dependance on global variables.

svn path=/main/trunk/; revision=3719

18 years agoFix pkgmerge() to work without dependance on global variables.
Zac Medico [Fri, 30 Jun 2006 11:16:08 +0000 (11:16 -0000)]
Fix pkgmerge() to work without dependance on global variables.

svn path=/main/trunk/; revision=3717

18 years agoPass a config instance into the bindbapi and fakedbapi constructors in order to avoid...
Zac Medico [Fri, 30 Jun 2006 10:10:06 +0000 (10:10 -0000)]
Pass a config instance into the bindbapi and fakedbapi constructors in order to avoid dependance on globals for dep_expand() calls.

svn path=/main/trunk/; revision=3716

18 years agoPass missing parameters to doebuild in order to avoid dependance on globals.
Zac Medico [Fri, 30 Jun 2006 09:22:30 +0000 (09:22 -0000)]
Pass missing parameters to doebuild in order to avoid dependance on globals.

svn path=/main/trunk/; revision=3715

18 years agoPass the ldpath_mtimes for unmerging the already-installed instance.
Zac Medico [Fri, 30 Jun 2006 09:09:07 +0000 (09:09 -0000)]
Pass the ldpath_mtimes for unmerging the already-installed instance.

svn path=/main/trunk/; revision=3714