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

18 years agoReplace a references to global scope CLEAN_DELAY and EMERGE_WARNING_DELAY with the...
Zac Medico [Sun, 25 Jun 2006 20:50:18 +0000 (20:50 -0000)]
Replace a references to global scope CLEAN_DELAY and EMERGE_WARNING_DELAY with the previously validated environment variables.

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

18 years agoEnsure that CLEAN_DELAY and EMERGE_WARNING_DELAY environment variables contain valid...
Zac Medico [Sun, 25 Jun 2006 20:26:15 +0000 (20:26 -0000)]
Ensure that CLEAN_DELAY and EMERGE_WARNING_DELAY environment variables contain valid integer values.

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

18 years agoRemove the help() function.
Zac Medico [Sun, 25 Jun 2006 19:34:18 +0000 (19:34 -0000)]
Remove the help() function.

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

18 years agoRemove an unused import.
Zac Medico [Sun, 25 Jun 2006 19:25:33 +0000 (19:25 -0000)]
Remove an unused import.

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

18 years agoPrint a message to stderr if an error occurs when updating a config file.
Zac Medico [Sun, 25 Jun 2006 09:54:19 +0000 (09:54 -0000)]
Print a message to stderr if an error occurs when updating a config file.

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

18 years agoPass in just the CONFIG_PROTECT info instead of the whole config object.
Zac Medico [Sun, 25 Jun 2006 09:43:31 +0000 (09:43 -0000)]
Pass in just the CONFIG_PROTECT info instead of the whole config object.

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

18 years agoSplit the config protect functionality from the dblink class to a new class and use...
Zac Medico [Sun, 25 Jun 2006 08:30:28 +0000 (08:30 -0000)]
Split the config protect functionality from the dblink class to a new class and use it in portage.update_config_files() (dblink requires a vartree and that's not needed here).

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

18 years agoFix portage.update_config_files() so that it can work with an arbitrary $ROOT and...
Zac Medico [Sun, 25 Jun 2006 07:51:18 +0000 (07:51 -0000)]
Fix portage.update_config_files() so that it can work with an arbitrary $ROOT and without any global variables.

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

18 years agoSplit the command line argument parsing into a function.
Zac Medico [Sun, 25 Jun 2006 04:39:46 +0000 (04:39 -0000)]
Split the command line argument parsing into a function.

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

18 years agoRemove unnecessary PORTAGE_CALLER exports.
Zac Medico [Sun, 25 Jun 2006 02:15:13 +0000 (02:15 -0000)]
Remove unnecessary PORTAGE_CALLER exports.

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

18 years agoPass a config object into the binarytree constructor so that is doesn't have to use...
Zac Medico [Sun, 25 Jun 2006 01:52:10 +0000 (01:52 -0000)]
Pass a config object into the binarytree constructor so that is doesn't have to use global settings for key_expand calls.

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

18 years agoPass a config object into the vartree constructor so that is doesn't have to use...
Zac Medico [Sun, 25 Jun 2006 01:15:45 +0000 (01:15 -0000)]
Pass a config object into the vartree constructor so that is doesn't have to use global settings for key_expand calls.

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

18 years agoSkip the install phase when ${PORTAGE_BUILDDIR}/.installed exists. See bug #137864.
Zac Medico [Sat, 24 Jun 2006 23:57:26 +0000 (23:57 -0000)]
Skip the install phase when ${PORTAGE_BUILDDIR}/.installed exists.  See bug #137864.

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

18 years agoMove the counter_tick methods from the dbapi class to the vardbapi class.
Zac Medico [Sat, 24 Jun 2006 20:55:18 +0000 (20:55 -0000)]
Move the counter_tick methods from the dbapi class to the vardbapi class.

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

18 years agoMake the COUNTER regeneration logic account for $ROOT as per bug #129054.
Zac Medico [Sat, 24 Jun 2006 20:43:17 +0000 (20:43 -0000)]
Make the COUNTER regeneration logic account for $ROOT as per bug #129054.

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

18 years agoThe mtimedb should not be relative to the target $ROOT because the paths that it...
Zac Medico [Sat, 24 Jun 2006 18:26:40 +0000 (18:26 -0000)]
The mtimedb should not be relative to the target $ROOT because the paths that it contains are currently relative to "/".

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

18 years agos/Preform/Perform/ Thanks to exg for reporting.
Zac Medico [Sat, 24 Jun 2006 18:01:50 +0000 (18:01 -0000)]
s/Preform/Perform/ Thanks to exg for reporting.

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

18 years agoRemove references to portage.settings from unmerge().
Zac Medico [Sat, 24 Jun 2006 07:52:18 +0000 (07:52 -0000)]
Remove references to portage.settings from unmerge().

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

18 years agoRemove references to portage.root from unmerge().
Zac Medico [Sat, 24 Jun 2006 07:47:57 +0000 (07:47 -0000)]
Remove references to portage.root from unmerge().

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

18 years agoPass a config instance into key_expand calls so that it doesn't rely on global settings.
Zac Medico [Sat, 24 Jun 2006 07:31:57 +0000 (07:31 -0000)]
Pass a config instance into key_expand calls so that it doesn't rely on global settings.

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

18 years agoRemove all direct references to global variables from unmerge().
Zac Medico [Sat, 24 Jun 2006 06:51:30 +0000 (06:51 -0000)]
Remove all direct references to global variables from unmerge().

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

18 years agoRemove all direct references to global variables from getlist().
Zac Medico [Sat, 24 Jun 2006 05:14:57 +0000 (05:14 -0000)]
Remove all direct references to global variables from getlist().

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

18 years agoRemove all references to global variables from getportageversion().
Zac Medico [Sat, 24 Jun 2006 04:43:47 +0000 (04:43 -0000)]
Remove all references to global variables from getportageversion().

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

18 years agoFix getgccversion logic for bug #137786.
Zac Medico [Sat, 24 Jun 2006 04:14:38 +0000 (04:14 -0000)]
Fix getgccversion logic for bug #137786.

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

18 years agoRemove the deprectated digestCheckFiles function.
Zac Medico [Sat, 24 Jun 2006 04:03:08 +0000 (04:03 -0000)]
Remove the deprectated digestCheckFiles function.

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

18 years agoRemove a few unused imports.
Zac Medico [Sat, 24 Jun 2006 03:18:49 +0000 (03:18 -0000)]
Remove a few unused imports.

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

18 years agoRemove a few unused imports.
Zac Medico [Sat, 24 Jun 2006 03:12:30 +0000 (03:12 -0000)]
Remove a few unused imports.

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

18 years agoSplit the --metadata action into a separate function from --sync.
Zac Medico [Fri, 23 Jun 2006 11:08:50 +0000 (11:08 -0000)]
Split the --metadata action into a separate function from --sync.

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

18 years agoRegister emerge exit and signal handlers after parsing options, just before the actio...
Zac Medico [Fri, 23 Jun 2006 10:22:59 +0000 (10:22 -0000)]
Register emerge exit and signal handlers after parsing options, just before the action phase.

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

18 years agoMinor import cleanups.
Zac Medico [Fri, 23 Jun 2006 09:59:26 +0000 (09:59 -0000)]
Minor import cleanups.

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

18 years agoEnsure that ^C interrupts are handled quietly.
Zac Medico [Fri, 23 Jun 2006 09:52:30 +0000 (09:52 -0000)]
Ensure that ^C interrupts are handled quietly.

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

18 years agoShift all global scope code to the bottom.
Zac Medico [Fri, 23 Jun 2006 08:50:26 +0000 (08:50 -0000)]
Shift all global scope code to the bottom.

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

18 years agoFix extra imports and undefined variable found by pyflakes.
Zac Medico [Fri, 23 Jun 2006 08:07:13 +0000 (08:07 -0000)]
Fix extra imports and undefined variable found by pyflakes.

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

18 years agoFix error handling for getlist().
Zac Medico [Fri, 23 Jun 2006 08:03:54 +0000 (08:03 -0000)]
Fix error handling for getlist().

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

18 years agoSort filenames for predictable results.
Zac Medico [Fri, 23 Jun 2006 07:29:20 +0000 (07:29 -0000)]
Sort filenames for predictable results.

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

18 years agoDo not import * for cooperation with pyflakes.
Zac Medico [Fri, 23 Jun 2006 06:58:13 +0000 (06:58 -0000)]
Do not import * for cooperation with pyflakes.

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

18 years agoUse secpass to determine whether emergelog exceptions should be ignored.
Zac Medico [Fri, 23 Jun 2006 06:28:27 +0000 (06:28 -0000)]
Use secpass to determine whether emergelog exceptions should be ignored.

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

18 years agoRemove unnecessary "myaction" parameter from the depgraph constructor.
Zac Medico [Fri, 23 Jun 2006 06:14:29 +0000 (06:14 -0000)]
Remove unnecessary "myaction" parameter from the depgraph constructor.

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

18 years agoPass relevant global variables as parameters to action_* functions.
Zac Medico [Fri, 23 Jun 2006 06:09:14 +0000 (06:09 -0000)]
Pass relevant global variables as parameters to action_* functions.

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

18 years agoDocument "deep" and remove unused "params" variable.
Zac Medico [Fri, 23 Jun 2006 05:40:22 +0000 (05:40 -0000)]
Document "deep" and remove unused "params" variable.

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

18 years agoRemove unused "merged" variable.
Zac Medico [Fri, 23 Jun 2006 05:20:38 +0000 (05:20 -0000)]
Remove unused "merged" variable.

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

18 years agoPrevent an inappropriate warning when a repoman user's profile does not support sandb...
Zac Medico [Fri, 23 Jun 2006 04:35:27 +0000 (04:35 -0000)]
Prevent an inappropriate warning when a repoman user's profile does not support sandbox.  Thanks to exg for reporting.

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

18 years agoTest the basename for starting with "." instead of the full path.
Zac Medico [Fri, 23 Jun 2006 03:41:07 +0000 (03:41 -0000)]
Test the basename for starting with "." instead of the full path.

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

18 years agoFix a typo from r3611 (file != files).
Zac Medico [Fri, 23 Jun 2006 03:35:01 +0000 (03:35 -0000)]
Fix a typo from r3611 (file != files).

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

18 years agoignore .files in /etc/portage recursion
Alec Warner [Fri, 23 Jun 2006 00:40:38 +0000 (00:40 -0000)]
ignore .files in /etc/portage recursion

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

18 years agoUse portage_exec.find_binary since "which" always returns 0 status on darwin. Thanks...
Zac Medico [Thu, 22 Jun 2006 19:41:32 +0000 (19:41 -0000)]
Use portage_exec.find_binary since "which" always returns 0 status on darwin. Thanks to exg for reporting.

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

18 years agoSimplify permission logic for emerge.log.
Zac Medico [Thu, 22 Jun 2006 19:11:20 +0000 (19:11 -0000)]
Simplify permission logic for emerge.log.

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

18 years agoMove the creation of depgraph params from global scope to a function.
Zac Medico [Thu, 22 Jun 2006 17:51:27 +0000 (17:51 -0000)]
Move the creation of depgraph params from global scope to a function.

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

18 years agoAs suggested by exg, include the einfon code inside einfo instead of using the FUNCNA...
Zac Medico [Thu, 22 Jun 2006 17:16:46 +0000 (17:16 -0000)]
As suggested by exg, include the einfon code inside einfo instead of using the FUNCNAME hack (FUNCNAME only works with >=bash-3.0).

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

18 years agoDon't register signal handlers during module import because it may override signal...
Zac Medico [Thu, 22 Jun 2006 16:43:52 +0000 (16:43 -0000)]
Don't register signal handlers during module import because it may override signal hadlers that were registered by the calling code.

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

18 years agomention the use of @ in -s; bug 137565
Simon Stelling [Thu, 22 Jun 2006 16:43:30 +0000 (16:43 -0000)]
mention the use of @ in -s; bug 137565

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

18 years agoFix a broken reference to syslist and remove two extras.
Zac Medico [Thu, 22 Jun 2006 15:10:34 +0000 (15:10 -0000)]
Fix a broken reference to syslist and remove two extras.

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

18 years agoMove emerge's default action code from global scope to a function.
Zac Medico [Thu, 22 Jun 2006 14:40:15 +0000 (14:40 -0000)]
Move emerge's default action code from global scope to a function.

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

18 years agoFix missing global "syslist" from r3594.
Zac Medico [Thu, 22 Jun 2006 14:27:47 +0000 (14:27 -0000)]
Fix missing global "syslist" from r3594.

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

18 years agoMove the --depclean code from global scope to a function.
Zac Medico [Thu, 22 Jun 2006 14:24:14 +0000 (14:24 -0000)]
Move the --depclean code from global scope to a function.

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

18 years agoMove the --search code from global scope to a function.
Zac Medico [Thu, 22 Jun 2006 14:19:48 +0000 (14:19 -0000)]
Move the --search code from global scope to a function.

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

18 years agoMove the --info code from global scope to a function.
Zac Medico [Thu, 22 Jun 2006 14:11:07 +0000 (14:11 -0000)]
Move the --info code from global scope to a function.

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

18 years agoFix a collision with a previous variable named "p".
Zac Medico [Thu, 22 Jun 2006 14:08:06 +0000 (14:08 -0000)]
Fix a collision with a previous variable named "p".

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

18 years agoMove the --config code from global scope to a function.
Zac Medico [Thu, 22 Jun 2006 13:15:08 +0000 (13:15 -0000)]
Move the --config code from global scope to a function.

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

18 years agoMove the --regen code from global scope to a function.
Zac Medico [Thu, 22 Jun 2006 13:10:05 +0000 (13:10 -0000)]
Move the --regen code from global scope to a function.

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

18 years agoMove the --sync and --metadata code from global scope to a function.
Zac Medico [Thu, 22 Jun 2006 12:59:19 +0000 (12:59 -0000)]
Move the --sync and --metadata code from global scope to a function.

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

18 years agoRemove most direct references to global variables from emerge's depgraph class.
Zac Medico [Thu, 22 Jun 2006 11:33:04 +0000 (11:33 -0000)]
Remove most direct references to global variables from emerge's depgraph class.

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

18 years agoRemove unused "olddbapi" variable.
Zac Medico [Thu, 22 Jun 2006 08:24:45 +0000 (08:24 -0000)]
Remove unused "olddbapi" variable.

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

18 years agoRemove all global variables from emerge's search class.
Zac Medico [Thu, 22 Jun 2006 08:17:00 +0000 (08:17 -0000)]
Remove all global variables from emerge's search class.

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

18 years agoEncapsulate emerge's spinner into an object.
Zac Medico [Thu, 22 Jun 2006 06:51:55 +0000 (06:51 -0000)]
Encapsulate emerge's spinner into an object.

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

18 years agoSimplify PORT_LOGDIR intitialization.
Zac Medico [Thu, 22 Jun 2006 02:09:48 +0000 (02:09 -0000)]
Simplify PORT_LOGDIR intitialization.

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

18 years agoPrevent and exception when PORT_LOGDIR is an empty string.
Zac Medico [Thu, 22 Jun 2006 01:49:39 +0000 (01:49 -0000)]
Prevent and exception when PORT_LOGDIR is an empty string.

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

18 years agoRemove redundant PORT_LOGDIR validation from the config constructor.
Zac Medico [Thu, 22 Jun 2006 01:39:34 +0000 (01:39 -0000)]
Remove redundant PORT_LOGDIR validation from the config constructor.

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

18 years agoDon't bother to warn when PORT_LOGDIR="".
Zac Medico [Thu, 22 Jun 2006 01:33:50 +0000 (01:33 -0000)]
Don't bother to warn when PORT_LOGDIR="".

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

18 years agoMake sure that PORT_LOGDIR is properly unset when it is unusable. Thanks to solar...
Zac Medico [Thu, 22 Jun 2006 01:24:16 +0000 (01:24 -0000)]
Make sure that PORT_LOGDIR is properly unset when it is unusable.  Thanks to solar for reporting issues with logs landing in $PWD.

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