portage.git
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

18 years agoFix missing target_root keyword parameter.
Zac Medico [Fri, 30 Jun 2006 09:02:39 +0000 (09:02 -0000)]
Fix missing target_root keyword parameter.

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

18 years agoPass portdbapi instances into doebuild in order to avoid dependance on globals.
Zac Medico [Fri, 30 Jun 2006 08:54:32 +0000 (08:54 -0000)]
Pass portdbapi instances into doebuild in order to avoid dependance on globals.

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

18 years agoOnly use the global vartree when really necessary.
Zac Medico [Fri, 30 Jun 2006 08:45:09 +0000 (08:45 -0000)]
Only use the global vartree when really necessary.

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

18 years agoPass config and portdbapi instances into the portagetree constructor.
Zac Medico [Fri, 30 Jun 2006 08:27:59 +0000 (08:27 -0000)]
Pass config and portdbapi instances into the portagetree constructor.

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

18 years agoAllow the portagetree constructor to work without globals.
Zac Medico [Fri, 30 Jun 2006 08:18:51 +0000 (08:18 -0000)]
Allow the portagetree constructor to work without globals.

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

18 years agoFix accidental replacement from r3705.
Zac Medico [Fri, 30 Jun 2006 07:22:34 +0000 (07:22 -0000)]
Fix accidental replacement from r3705.

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

18 years agoMake use of the new mtimdb.commit() method.
Zac Medico [Fri, 30 Jun 2006 07:20:11 +0000 (07:20 -0000)]
Make use of the new mtimdb.commit() method.

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

18 years agoAdd an MtimeDB class to encapsulate the mtimedb.
Zac Medico [Fri, 30 Jun 2006 07:07:46 +0000 (07:07 -0000)]
Add an MtimeDB class to encapsulate the mtimedb.

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

18 years agoReplace global references to the mtimedb with local references.
Zac Medico [Fri, 30 Jun 2006 03:57:38 +0000 (03:57 -0000)]
Replace global references to the mtimedb with local references.

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

18 years agoPass ldpath mtimes into the unmerge operations.
Zac Medico [Fri, 30 Jun 2006 03:26:53 +0000 (03:26 -0000)]
Pass ldpath mtimes into the unmerge operations.

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

18 years agoTrigger env_update() after each unmerge operation.
Zac Medico [Fri, 30 Jun 2006 03:03:44 +0000 (03:03 -0000)]
Trigger env_update() after each unmerge operation.

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

18 years agoRemove a pointless "if" statement.
Zac Medico [Fri, 30 Jun 2006 02:39:42 +0000 (02:39 -0000)]
Remove a pointless "if" statement.

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

18 years agoPass parameters into env_update() so that it doesn't depend on global variables.
Zac Medico [Fri, 30 Jun 2006 02:12:50 +0000 (02:12 -0000)]
Pass parameters into env_update() so that it doesn't depend on global variables.

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

18 years agoAfter sync, reload portage before the metadata transfer so that action_metadata(...
Zac Medico [Thu, 29 Jun 2006 22:37:47 +0000 (22:37 -0000)]
After sync, reload portage before the metadata transfer so that action_metadata() doesn't have to be concerned with invalid settings.categories and such.

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

18 years agoReplace references to portage.portdb with local references.
Zac Medico [Thu, 29 Jun 2006 21:22:27 +0000 (21:22 -0000)]
Replace references to portage.portdb with local references.

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

18 years agoReplace references to portage.root with local settings[ROOT].
Zac Medico [Thu, 29 Jun 2006 19:02:15 +0000 (19:02 -0000)]
Replace references to portage.root with local settings[ROOT].

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

18 years agoReplace direct references to portage.db with local references.
Zac Medico [Thu, 29 Jun 2006 08:21:53 +0000 (08:21 -0000)]
Replace direct references to portage.db with local references.

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

18 years agoRemove reference to global portage.db from validate_merge_list().
Zac Medico [Thu, 29 Jun 2006 07:46:24 +0000 (07:46 -0000)]
Remove reference to global portage.db from validate_merge_list().

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

18 years agoReplace direct references to portage.settings with local references.
Zac Medico [Thu, 29 Jun 2006 07:20:52 +0000 (07:20 -0000)]
Replace direct references to portage.settings with local references.

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

18 years agoPass a vardbapi instance into getportageversion() so that it doesn't have to construc...
Zac Medico [Thu, 29 Jun 2006 05:11:47 +0000 (05:11 -0000)]
Pass a vardbapi instance into getportageversion() so that it doesn't have to construct one itself.

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

18 years agoPass a config instance into each dep_expand call.
Zac Medico [Thu, 29 Jun 2006 04:53:38 +0000 (04:53 -0000)]
Pass a config instance into each dep_expand call.

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

18 years agoPass a config instance into the vardbapi constructor so that it doesn't have to rely...
Zac Medico [Thu, 29 Jun 2006 04:22:18 +0000 (04:22 -0000)]
Pass a config instance into the vardbapi constructor so that it doesn't have to rely on global settings.

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

18 years agoPass a config instance into the vardbapi constructor so that it doesn't have to rely...
Zac Medico [Thu, 29 Jun 2006 04:18:10 +0000 (04:18 -0000)]
Pass a config instance into the vardbapi constructor so that it doesn't have to rely on global settings.

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

18 years agoUpdate symlinks in during package moves for bug #138394.
Zac Medico [Wed, 28 Jun 2006 22:24:07 +0000 (22:24 -0000)]
Update symlinks in  during package moves for bug #138394.

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

18 years agoTo simplify code, use startswith() instead of slices.
Zac Medico [Wed, 28 Jun 2006 19:36:52 +0000 (19:36 -0000)]
To simplify code, use startswith() instead of slices.

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

18 years agoAllow a config instance to be passed into dep_expand so that it doesn't have to rely...
Zac Medico [Wed, 28 Jun 2006 18:18:32 +0000 (18:18 -0000)]
Allow a config instance to be passed into dep_expand so that it doesn't have to rely on global settings.

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

18 years agoAllow a config instance to be passed into cpv_expand so that it doesn't have to rely...
Zac Medico [Wed, 28 Jun 2006 18:11:48 +0000 (18:11 -0000)]
Allow a config instance to be passed into cpv_expand so that it doesn't have to rely on global settings.

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

18 years agoFix the writemsg noiselevel so that versions are correctly shown even when --quiet...
Zac Medico [Wed, 28 Jun 2006 05:59:20 +0000 (05:59 -0000)]
Fix the writemsg noiselevel so that versions are correctly shown even when --quiet is enabled.

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

18 years agoAdd a missing space in the unmerge output that was reported by vapier.
Zac Medico [Wed, 28 Jun 2006 05:54:14 +0000 (05:54 -0000)]
Add a missing space in the unmerge output that was reported by vapier.

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

18 years agoretain current color schema by adding a new color class for unmerging
Mike Frysinger [Wed, 28 Jun 2006 05:26:22 +0000 (05:26 -0000)]
retain current color schema by adding a new color class for unmerging

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

18 years agoSet WARN=red to so that warnings appear red, as they always have.
Zac Medico [Wed, 28 Jun 2006 04:57:39 +0000 (04:57 -0000)]
Set WARN=red to so that warnings appear red, as they always have.

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

18 years agoreadd Rev to portage.py for proper svn revisions in portage.version
Alec Warner [Wed, 28 Jun 2006 02:38:23 +0000 (02:38 -0000)]
readd Rev to portage.py for proper svn revisions in portage.version

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

18 years agoRemove unnecessary --quiet check since writemsg handles that already.
Zac Medico [Tue, 27 Jun 2006 20:33:03 +0000 (20:33 -0000)]
Remove unnecessary --quiet check since writemsg handles that already.

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

18 years agoMake unmerge() colors more consistent.
Zac Medico [Tue, 27 Jun 2006 20:26:01 +0000 (20:26 -0000)]
Make unmerge() colors more consistent.

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

18 years agoFix output colors for bug #138259.
Zac Medico [Tue, 27 Jun 2006 20:10:53 +0000 (20:10 -0000)]
Fix output colors for bug #138259.

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

18 years agoMake sure that variables containing colors pollute the environment for bug #138246.
Zac Medico [Tue, 27 Jun 2006 19:18:40 +0000 (19:18 -0000)]
Make sure that variables containing colors pollute the environment for bug #138246.

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

18 years agoFix chk_updated_cfg_files() parameters for bug #138131.
Zac Medico [Tue, 27 Jun 2006 09:33:12 +0000 (09:33 -0000)]
Fix chk_updated_cfg_files() parameters for bug #138131.

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

18 years agoFix action_search() parameters for bug #138131.
Zac Medico [Tue, 27 Jun 2006 09:23:32 +0000 (09:23 -0000)]
Fix action_search() parameters for bug #138131.

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

18 years agoPass an xterm_titles parameter into emergelog() so that it doesn't need any global...
Zac Medico [Tue, 27 Jun 2006 07:21:34 +0000 (07:21 -0000)]
Pass an xterm_titles parameter into emergelog() so that it doesn't need any global variables.

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

18 years agoWhen --buildpkg is enabled, merge directly from the uncompressed install image instea...
Zac Medico [Tue, 27 Jun 2006 04:37:09 +0000 (04:37 -0000)]
When --buildpkg is enabled, merge directly from the uncompressed install image instead of needlessly unpacking the binary package.  See bug #138105.

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

18 years agoDocstrings galore in the dep resolver. Hoping to get it better documented so it...
Alec Warner [Tue, 27 Jun 2006 04:19:45 +0000 (04:19 -0000)]
Docstrings galore in the dep resolver.  Hoping to get it better documented so it can be tweaked for some of the open bugs against it.  99% of this should be docstrings, make sure I didn't accidentally touch anything in there.

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

18 years agoFor compatibility with revdep-rebuild, do not allow NOCOLOR=false to override the...
Zac Medico [Mon, 26 Jun 2006 21:21:42 +0000 (21:21 -0000)]
For compatibility with revdep-rebuild, do not allow NOCOLOR=false to override the isatty() check.

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

18 years agoIgnore SIGPIPE signals in order to prevent '[Errno 32] Broken pipe' exceptions from...
Zac Medico [Mon, 26 Jun 2006 19:31:26 +0000 (19:31 -0000)]
Ignore SIGPIPE signals in order to prevent '[Errno 32] Broken pipe' exceptions from being raised when emerge output is being piped.  This reverts a behavior change from r3606.

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

18 years agoTurn off color automatically when stdout is a pipe, but allow the behavior to be...
Zac Medico [Mon, 26 Jun 2006 18:51:39 +0000 (18:51 -0000)]
Turn off color automatically when stdout is a pipe, but allow the behavior to be overridden via the NOCOLOR environment variable.

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

18 years agoUse the cannonical path of $PORTDIR when transferring metadata so that the _eclasses_...
Zac Medico [Mon, 26 Jun 2006 06:21:56 +0000 (06:21 -0000)]
Use the cannonical path of $PORTDIR when transferring metadata so that the _eclasses_ paths are consistent.  See bug #137965.

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

18 years agoAllow /etc/portage/color.map to control colors associated with einfo, ewarn, etc...
Zac Medico [Mon, 26 Jun 2006 05:39:35 +0000 (05:39 -0000)]
Allow /etc/portage/color.map to control colors associated with einfo, ewarn, etc...

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

18 years agoEnsure that the PORTAGE_DEBUG environment variable has a valid integer value.
Zac Medico [Mon, 26 Jun 2006 04:02:42 +0000 (04:02 -0000)]
Ensure that the PORTAGE_DEBUG environment variable has a valid integer value.

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

18 years agoFix a few global variable references and move all the global scope code into an emerg...
Zac Medico [Mon, 26 Jun 2006 03:10:07 +0000 (03:10 -0000)]
Fix a few global variable references and move all the global scope code into an emerge_main() function.

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

18 years agoDon't run post_emerge() when --pretend is enabled.
Zac Medico [Mon, 26 Jun 2006 02:27:48 +0000 (02:27 -0000)]
Don't run post_emerge() when --pretend is enabled.

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

18 years agoRemove direct references to the global mtimedb from chk_updated_info_files().
Zac Medico [Mon, 26 Jun 2006 02:19:42 +0000 (02:19 -0000)]
Remove direct references to the global mtimedb from chk_updated_info_files().

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

18 years agoRemove all direct references to global variables form post_emerge().
Zac Medico [Mon, 26 Jun 2006 01:48:00 +0000 (01:48 -0000)]
Remove all direct references to global variables form post_emerge().

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

18 years agoUse the PORTAGE_DEBUG environment variable to replace the global scope edebug variable.
Zac Medico [Sun, 25 Jun 2006 21:14:54 +0000 (21:14 -0000)]
Use the PORTAGE_DEBUG environment variable to replace the global scope edebug variable.

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