portage.git
17 years agoUpdate the dblink.isprotected() docstring.
Zac Medico [Sun, 26 Nov 2006 12:50:52 +0000 (12:50 -0000)]
Update the dblink.isprotected() docstring.

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

17 years agoNever overwrite an untouched config file and trigger config protection instead (in...
Zac Medico [Sun, 26 Nov 2006 12:40:07 +0000 (12:40 -0000)]
Never overwrite an untouched config file and trigger config protection instead (in case the new config has an unwanted change).  In cases where an installed package in the same slot owns a protected file that will be merged, bump the mtime on the installed file in order to ensure that it isn't unmerged.  Thanks to Ciaran McCreesh <ciaranm@ciaranm.org> for his suggestion on bug #8423, comment #40.

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

17 years agoFor bug #8423, allow the merge phase to overwrite untouched config files and also...
Zac Medico [Sun, 26 Nov 2006 09:03:54 +0000 (09:03 -0000)]
For bug #8423, allow the merge phase to overwrite untouched config files and also allow the unmerge phase to unmerge untouched config files.

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

17 years agoAllow -keyword to be matched since some ebuilds use it. Thanks to Brian Harring...
Zac Medico [Thu, 23 Nov 2006 12:36:54 +0000 (12:36 -0000)]
Allow -keyword to be matched since some ebuilds use it.  Thanks to Brian Harring reporting on bug #150585.

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

17 years agoFor bug #156014, always round up the next kB so that it doesn't show 0 kB when some...
Zac Medico [Thu, 23 Nov 2006 12:10:22 +0000 (12:10 -0000)]
For bug #156014, always round up the next kB so that it doesn't show 0 kB when some small file still needs to be fetched.

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

17 years agoFor bug #150585, stack package.keywords incrementally so that -keyword works as expec...
Zac Medico [Thu, 23 Nov 2006 03:13:43 +0000 (03:13 -0000)]
For bug #150585, stack package.keywords incrementally so that -keyword works as expected for any incremental variable.  This brings the gvisible and getmaskingstatus logic into sync so that the confusing (masked by: ) message will not be generated in cases where package.keywords contains -keyword followed by keyword.

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

17 years agoUse portage_data.lchown for compatibility.
Zac Medico [Wed, 22 Nov 2006 14:07:57 +0000 (14:07 -0000)]
Use portage_data.lchown for compatibility.

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

17 years agoFix a KeyError in emerge --info <pkg> when there is no matching ebuild in the tree...
Zac Medico [Wed, 22 Nov 2006 13:01:11 +0000 (13:01 -0000)]
Fix a KeyError in emerge --info <pkg> when there is no matching ebuild in the tree.  Thanks to Bo Ørsted Andresen <bo.andresen@zlin.dk> for reporting.

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

17 years agoReally fix bit mask support when preserving S_ISUID and S_ISGID in apply_permissions.
Zac Medico [Wed, 22 Nov 2006 06:40:59 +0000 (06:40 -0000)]
Really fix bit mask support when preserving S_ISUID and S_ISGID in apply_permissions.

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

17 years agoFix bit mask support when preserving S_ISUID and S_ISGID in apply_permissions.
Zac Medico [Wed, 22 Nov 2006 06:33:31 +0000 (06:33 -0000)]
Fix bit mask support when preserving S_ISUID and S_ISGID in apply_permissions.

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

17 years agoFix apply_permissions logic for cases where mode is unspecified.
Zac Medico [Wed, 22 Nov 2006 06:20:17 +0000 (06:20 -0000)]
Fix apply_permissions logic for cases where mode is unspecified.

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

17 years agoFor bug #142993, make sure that chown and chgrp calls preserve S_ISUID and S_ISGID...
Zac Medico [Wed, 22 Nov 2006 05:57:20 +0000 (05:57 -0000)]
For bug #142993, make sure that chown and chgrp calls preserve S_ISUID and S_ISGID mode bits.

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

18 years agoEnable PORTAGE_CONFIGROOT to be set via an new --config-root option. Thanks to Danie...
Zac Medico [Mon, 20 Nov 2006 08:29:10 +0000 (08:29 -0000)]
Enable PORTAGE_CONFIGROOT to be set via an new --config-root option.  Thanks to Daniel Barkalow <barkalow@iabervon.org> for the initial patch (submitted on the gentoo-portage-dev mailing list).

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

18 years agoPrint a warning message if a user requests a package from package.provided (since...
Zac Medico [Mon, 20 Nov 2006 08:11:18 +0000 (08:11 -0000)]
Print a warning message if a user requests a package from package.provided (since it won't be merged).

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

18 years agoFor bug #155739, only check if a dep is in the args when myroot == self.target_root.
Zac Medico [Mon, 20 Nov 2006 07:38:38 +0000 (07:38 -0000)]
For bug #155739, only check if a dep is in the args when myroot == self.target_root.

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

18 years agoAllow the ROOT setting to come from make.conf. Thanks to Daniel Barkalow <barkalow...
Zac Medico [Mon, 20 Nov 2006 05:54:07 +0000 (05:54 -0000)]
Allow the ROOT setting to come from make.conf.  Thanks to Daniel Barkalow <barkalow@iabervon.org> for this patch (submitted on the gentoo-portage-dev mailing list).

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

18 years agoRemove more redundant package.provided handling that is now covered by dep_wordreduce.
Zac Medico [Mon, 20 Nov 2006 03:55:16 +0000 (03:55 -0000)]
Remove more redundant package.provided handling that is now covered by dep_wordreduce.

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

18 years agoRemove redundant package.provided handling that is now covered by dep_wordreduce.
Zac Medico [Mon, 20 Nov 2006 03:45:14 +0000 (03:45 -0000)]
Remove redundant package.provided handling that is now covered by dep_wordreduce.

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

18 years agoFor depclean, just pass in None for mydbapi (instead of an empty fakedbapi instance...
Zac Medico [Mon, 20 Nov 2006 03:39:58 +0000 (03:39 -0000)]
For depclean, just pass in None for mydbapi (instead of an empty fakedbapi instance) since that's now supported.

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

18 years agoAllow dep_wordreduce to mark things satisfied by package.provided even when mydbapi...
Zac Medico [Mon, 20 Nov 2006 03:35:50 +0000 (03:35 -0000)]
Allow dep_wordreduce to mark things satisfied by package.provided even when mydbapi is None.

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

18 years agoUse mydbapi is None to eliminate the return_all_deps parameter from dep_check and...
Zac Medico [Mon, 20 Nov 2006 03:03:08 +0000 (03:03 -0000)]
Use mydbapi is None to eliminate the return_all_deps parameter from dep_check and dep_zapdeps.  The result is the same and this way we avoid having an additional parameter with overlapping meaning.

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

18 years agoFix portdbapi.cpv_all() so that it actually returns a list of all available ebuilds.
Zac Medico [Sun, 19 Nov 2006 00:01:47 +0000 (00:01 -0000)]
Fix portdbapi.cpv_all() so that it actually returns a list of all available ebuilds.

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

18 years agoUse fake_vardb for cached aux_get calls.
Zac Medico [Sat, 18 Nov 2006 13:39:18 +0000 (13:39 -0000)]
Use fake_vardb for cached aux_get calls.

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

18 years agoFor bug #155559, force depclean dep_check calls to preference installed packages.
Zac Medico [Sat, 18 Nov 2006 13:28:36 +0000 (13:28 -0000)]
For bug #155559, force depclean dep_check calls to preference installed packages.

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

18 years agoRevert ACCEPT_LICENSE support, since license group support is a requirement and it...
Zac Medico [Sat, 18 Nov 2006 00:45:55 +0000 (00:45 -0000)]
Revert ACCEPT_LICENSE support, since license group support is a requirement and it remain unimplemented.  This brings trunk back into sync with the 2.1.2 branch.

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

18 years agos/settings/mysettings/ typo
Zac Medico [Fri, 17 Nov 2006 15:06:39 +0000 (15:06 -0000)]
s/settings/mysettings/ typo

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

18 years agoMake fixpackages use PORTAGE_NICENESS.
Zac Medico [Fri, 17 Nov 2006 14:59:21 +0000 (14:59 -0000)]
Make fixpackages use PORTAGE_NICENESS.

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

18 years agoFor bug #155484, apply PORTAGE_NICENESS as soon as possible (especially before global...
Zac Medico [Fri, 17 Nov 2006 14:54:45 +0000 (14:54 -0000)]
For bug #155484, apply PORTAGE_NICENESS as soon as possible (especially before global updates).

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

18 years agoFix a typo that prevents emerge --clean from working properly. Thanks to leio for...
Zac Medico [Fri, 17 Nov 2006 10:23:13 +0000 (10:23 -0000)]
Fix a typo that prevents emerge --clean from working properly.  Thanks to leio for reporting.

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

18 years agoIntegrate old-style virtuals handling into _expand_new_virtuals() and prefer new...
Zac Medico [Fri, 17 Nov 2006 09:20:38 +0000 (09:20 -0000)]
Integrate old-style virtuals handling into _expand_new_virtuals() and prefer new-style over old-style whenever they are available.

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

18 years agoFix _expand_new_virtuals so that it doesn't allow any virtual deps to go unaccounted...
Zac Medico [Fri, 17 Nov 2006 02:01:11 +0000 (02:01 -0000)]
Fix _expand_new_virtuals so that it doesn't allow any virtual deps to go unaccounted for.

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

18 years agoUpdate the _expand_new_virtuals docstring with a not about zero cost for new-style...
Zac Medico [Fri, 17 Nov 2006 00:02:38 +0000 (00:02 -0000)]
Update the _expand_new_virtuals docstring with a not about zero cost for new-style virtuals.

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

18 years agoRevert the depclean message, since new-style virtuals will now be kept.
Zac Medico [Thu, 16 Nov 2006 23:50:19 +0000 (23:50 -0000)]
Revert the depclean message, since new-style virtuals will now be kept.

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

18 years agoFor bug #141118, make dep_zapdeps assign zero cost to new-style virtuals.
Zac Medico [Thu, 16 Nov 2006 23:29:17 +0000 (23:29 -0000)]
For bug #141118, make dep_zapdeps assign zero cost to new-style virtuals.

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

18 years agoPull in the new-style virtuals and install them so that the vdb has complete standalo...
Zac Medico [Thu, 16 Nov 2006 21:52:07 +0000 (21:52 -0000)]
Pull in the new-style virtuals and install them so that the vdb has complete standalone dep info, in case a portage tree isn't available.

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

18 years agoAdd a note about removal of new-style virtuals in the depclean output.
Zac Medico [Thu, 16 Nov 2006 04:54:51 +0000 (04:54 -0000)]
Add a note about removal of new-style virtuals in the depclean output.

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

18 years agoFor bug #141118, make dep_check do recursive expansion of new-style virtuals.
Zac Medico [Thu, 16 Nov 2006 04:26:34 +0000 (04:26 -0000)]
For bug #141118, make dep_check do recursive expansion of new-style virtuals.

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

18 years agoDon't try to lock the vdb unless privileges are sufficient.
Zac Medico [Wed, 15 Nov 2006 09:00:22 +0000 (09:00 -0000)]
Don't try to lock the vdb unless privileges are sufficient.

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

18 years agoAutomatically convert --ask to --pretend when the user doesn't have the privileges...
Zac Medico [Wed, 15 Nov 2006 04:09:50 +0000 (04:09 -0000)]
Automatically convert --ask to --pretend when the user doesn't have the privileges for --ask.  Thanks to Daniel Barkalow <barkalow@iabervon.org> for the initial patch (submitted on gentoo-portage mailing list).

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

18 years agoOnly reload the config if global updates have actually been performed.
Zac Medico [Tue, 14 Nov 2006 14:42:52 +0000 (14:42 -0000)]
Only reload the config if global updates have actually been performed.

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

18 years agoMake portage.global_updates() return any updates that may have been performed.
Zac Medico [Tue, 14 Nov 2006 14:34:20 +0000 (14:34 -0000)]
Make portage.global_updates() return any updates that may have been performed.

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

18 years agoFix a lock file leak.
Zac Medico [Tue, 14 Nov 2006 14:07:25 +0000 (14:07 -0000)]
Fix a lock file leak.

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

18 years agoRemove useless unmerge() call after collision-protect has prevented anything from...
Zac Medico [Tue, 14 Nov 2006 12:14:49 +0000 (12:14 -0000)]
Remove useless unmerge() call after collision-protect has prevented anything from being merged.

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

18 years agoMake fakedbapi support generic metadata instead of just slots.
Zac Medico [Tue, 14 Nov 2006 07:35:29 +0000 (07:35 -0000)]
Make fakedbapi support generic metadata instead of just slots.

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

18 years agoCache depgraph.altlist results, since altlist is called multiple times and can be...
Zac Medico [Tue, 14 Nov 2006 06:32:16 +0000 (06:32 -0000)]
Cache depgraph.altlist results, since altlist is called multiple times and can be time consuming for a large depgraph.

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

18 years agoFor bug #154897, show a summary of fetch restrictions if there are any.
Zac Medico [Tue, 14 Nov 2006 05:57:35 +0000 (05:57 -0000)]
For bug #154897, show a summary of fetch restrictions if there are any.

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

18 years agoFor bug #154986, show the usual "Filesize does not match recorded size" message even...
Zac Medico [Tue, 14 Nov 2006 05:51:29 +0000 (05:51 -0000)]
For bug #154986, show the usual "Filesize does not match recorded size" message even for fetch restricted files.

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

18 years agoRemove reentrance support for dblink.lockdb() since it's no longer used and it won...
Zac Medico [Tue, 14 Nov 2006 03:50:54 +0000 (03:50 -0000)]
Remove reentrance support for dblink.lockdb() since it's no longer used and it won't necessarily work correctly now that a global vdb lock is used.

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

18 years agoUse try/finally to ensure that locks are properly released in dblink.unmerge().
Zac Medico [Tue, 14 Nov 2006 03:30:52 +0000 (03:30 -0000)]
Use try/finally to ensure that locks are properly released in dblink.unmerge().

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

18 years agoUse try/finally to ensure that locks are properly released in emergelog().
Zac Medico [Tue, 14 Nov 2006 02:43:22 +0000 (02:43 -0000)]
Use try/finally to ensure that locks are properly released in emergelog().

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

18 years agoUse try/finally to ensure that locks are properly released in perform_checksum().
Zac Medico [Tue, 14 Nov 2006 02:29:54 +0000 (02:29 -0000)]
Use try/finally to ensure that locks are properly released in perform_checksum().

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

18 years agoUse try/finally to ensure that locks are properly released in portdbapi.aux_get().
Zac Medico [Tue, 14 Nov 2006 02:08:07 +0000 (02:08 -0000)]
Use try/finally to ensure that locks are properly released in portdbapi.aux_get().

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

18 years agoFor bug #154989, lock /var/db/pkg while determining which packages to unmerge, then...
Zac Medico [Mon, 13 Nov 2006 23:59:24 +0000 (23:59 -0000)]
For bug #154989, lock /var/db/pkg while determining which packages to unmerge, then release the lock.  The lock will be reacquired/released for each individual unmerge, allowing opportunities for other processes to acquire it.

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

18 years agoFor bug #154989, use a single lock on /var/db/pkg since finer grained locking is...
Zac Medico [Mon, 13 Nov 2006 23:52:04 +0000 (23:52 -0000)]
For bug #154989, use a single lock on /var/db/pkg since finer grained locking is unnecessary and often insufficient.

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

18 years agoFor bug #154919, when depclean is unable to resolve dependencies, notify the user...
Zac Medico [Mon, 13 Nov 2006 01:12:36 +0000 (01:12 -0000)]
For bug #154919, when depclean is unable to resolve dependencies, notify the user that it may be necessary to manually uninstalled packages that no longer exist in the portage tree.

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

18 years agoFor bug #154921, prevent an IndexError when a + is in USE.
Zac Medico [Mon, 13 Nov 2006 00:50:54 +0000 (00:50 -0000)]
For bug #154921, prevent an IndexError when a + is in USE.

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

18 years agoFix depgraph.pkg_node_map so that it properly supports $ROOT.
Zac Medico [Sun, 12 Nov 2006 07:05:18 +0000 (07:05 -0000)]
Fix depgraph.pkg_node_map so that it properly supports $ROOT.

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

18 years agoFor bug #154554, validate all profile virtuals atoms.
Zac Medico [Sat, 11 Nov 2006 23:59:15 +0000 (23:59 -0000)]
For bug #154554, validate all profile virtuals atoms.

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

18 years agoFor initial gentoo-x86 checkout, if $PORTDIR exists and is empty then remove it so...
Zac Medico [Sat, 11 Nov 2006 23:24:22 +0000 (23:24 -0000)]
For initial gentoo-x86 checkout, if $PORTDIR exists and is empty then remove it so that the gentoo-x86 checkout can replace it.

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

18 years agoFix initial cvs checkout logic for bug #100478.
Zac Medico [Sat, 11 Nov 2006 14:00:13 +0000 (14:00 -0000)]
Fix initial cvs checkout logic for bug #100478.

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

18 years agoFix emerge --sync with a cvs:// uri so that it runs /etc/portage/bin/post_sync like...
Zac Medico [Sat, 11 Nov 2006 13:39:18 +0000 (13:39 -0000)]
Fix emerge --sync with a cvs:// uri so that it runs /etc/portage/bin/post_sync like it would with a normal  uri.  Thanks to drizzt for reporting.

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

18 years agoMake digestcheck() fail if an ebuild isn't listed in the Manifest. Thanks to pva...
Zac Medico [Sat, 11 Nov 2006 10:13:24 +0000 (10:13 -0000)]
Make digestcheck() fail if an ebuild isn't listed in the Manifest.  Thanks to pva for reporting.

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

18 years agoThanks again to Chris White for these additional portage_dep docstrings.
Zac Medico [Thu, 9 Nov 2006 10:44:07 +0000 (10:44 -0000)]
Thanks again to Chris White for these additional portage_dep docstrings.

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

18 years agoThanks to Chris White for these portage_dep docstrings.
Zac Medico [Wed, 8 Nov 2006 07:38:37 +0000 (07:38 -0000)]
Thanks to Chris White for these portage_dep docstrings.

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

18 years agoAdd --newuse back to the suggested options in the depclean warning message, since...
Zac Medico [Tue, 7 Nov 2006 22:12:54 +0000 (22:12 -0000)]
Add --newuse back to the suggested options in the depclean warning message, since it's still needed in some cases.

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

18 years agoFor bug #154207, add a note about package.provided to the depclean warning message.
Zac Medico [Tue, 7 Nov 2006 22:07:53 +0000 (22:07 -0000)]
For bug #154207, add a note about package.provided to the depclean warning message.

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

18 years agos/grabdict/grabdict_package/ for bug #63429.
Zac Medico [Tue, 7 Nov 2006 11:45:08 +0000 (11:45 -0000)]
s/grabdict/grabdict_package/ for bug #63429.

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

18 years agoRemove some stray blocker validation logic.
Zac Medico [Tue, 7 Nov 2006 10:04:41 +0000 (10:04 -0000)]
Remove some stray blocker validation logic.

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

18 years agoPlug some holes in the blocker validation logic so that nothing can slip through.
Zac Medico [Tue, 7 Nov 2006 09:38:50 +0000 (09:38 -0000)]
Plug some holes in the blocker validation logic so that nothing can slip through.

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

18 years agoThanks to Bo Ørsted Andresen <bo.andresen@zlin.dk> for this output fix for bug #153847.
Zac Medico [Tue, 7 Nov 2006 07:37:26 +0000 (07:37 -0000)]
Thanks to Bo Ørsted Andresen <bo.andresen@zlin.dk> for this output fix for bug #153847.

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

18 years agoThanks to Chris White for these portage_checksum docstrings.
Zac Medico [Tue, 7 Nov 2006 07:14:05 +0000 (07:14 -0000)]
Thanks to Chris White for these portage_checksum docstrings.

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

18 years agoPrint the number of upgrades, downgrades, etc. next to size of downloads. Thanks...
Zac Medico [Tue, 7 Nov 2006 05:58:22 +0000 (05:58 -0000)]
Print the number of upgrades, downgrades, etc. next to size of downloads.  Thanks to Bo Ørsted Andresen <bo.andresen@zlin.dk> for the initial patch from bug #153847.

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

18 years agoFix validate_blockers() so that a package doesn't block itself via a virtual that...
Zac Medico [Tue, 7 Nov 2006 02:55:40 +0000 (02:55 -0000)]
Fix validate_blockers() so that a package doesn't block itself via a virtual that it provides.

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

18 years agoMinimize getvirtuals() calls and dict lookups inside dep_virtual().
Zac Medico [Mon, 6 Nov 2006 21:21:21 +0000 (21:21 -0000)]
Minimize getvirtuals() calls and dict lookups inside dep_virtual().

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

18 years agoSimplify the new-style -> old-style virtuals bridge by doing it implicitly for all...
Zac Medico [Mon, 6 Nov 2006 20:50:11 +0000 (20:50 -0000)]
Simplify the new-style -> old-style virtuals bridge by doing it implicitly for all virtuals instead of explicit scanning for available new-style virtuals.

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

18 years agoFor bug #154220, run /etc/portage/bin/post_sync at the end of emerge-webrsync.
Zac Medico [Mon, 6 Nov 2006 19:52:47 +0000 (19:52 -0000)]
For bug #154220, run /etc/portage/bin/post_sync at the end of emerge-web

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

18 years agoMake config.add_new_virtuals() work properly even if self.virtuals has previously...
Zac Medico [Mon, 6 Nov 2006 19:16:32 +0000 (19:16 -0000)]
Make config.add_new_virtuals() work properly even if self.virtuals has previously been initialized.

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

18 years agoFor bug #154223, bridge new-style virtuals into old-style virtuals in order to preven...
Zac Medico [Mon, 6 Nov 2006 19:05:22 +0000 (19:05 -0000)]
For bug #154223, bridge new-style virtuals into old-style virtuals in order to prevent old-style virtuals from making new-style virtuals invisible.

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

18 years agoMake sure the node is still in the graph so that a KeyError can't happen.
Zac Medico [Mon, 6 Nov 2006 10:17:54 +0000 (10:17 -0000)]
Make sure the node is still in the graph so that a KeyError can't happen.

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

18 years agoRemove old code the used to bump portage near the top of the merge list. It's ineffec...
Zac Medico [Mon, 6 Nov 2006 09:31:49 +0000 (09:31 -0000)]
Remove old code the used to bump portage near the top of the merge list. It's ineffective now that a complete depgraph is built.

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

18 years agoRemove "update portage before proceeding" message that is no longer relevant.
Zac Medico [Mon, 6 Nov 2006 09:26:55 +0000 (09:26 -0000)]
Remove "update portage before proceeding" message that is no longer relevant.

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

18 years agoEnsure that sys-apps/portage is as close as possible to the beginning of the merge...
Zac Medico [Mon, 6 Nov 2006 09:19:02 +0000 (09:19 -0000)]
Ensure that sys-apps/portage is as close as possible to the beginning of the merge list.  This is accomplished by merging it before any soft deps that it may have.

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

18 years agoPrevent the --newuse check in depgraph.create() that is intended for the ebuild type...
Zac Medico [Mon, 6 Nov 2006 05:59:26 +0000 (05:59 -0000)]
Prevent the --newuse check in depgraph.create() that is intended for the ebuild type from being done on binary packages (which can lead to a KeyError). The --newuse check for binaries is elsewhere (in select_dep).

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

18 years agoRevert implicit rdepend behavior back to the way it was in portage-2.0.51. Thanks...
Zac Medico [Sat, 4 Nov 2006 04:44:00 +0000 (04:44 -0000)]
Revert implicit rdepend behavior back to the way it was in portage-2.0.51.  Thanks to vapier for the patch.  The original change seems to have been an accidentally hunk (referencing bug #58819) that was committed to cvs along with another patch in revision 1.201.2.32 of ebuild.sh.

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

18 years agoFix --ignore-default-opts for bug #153980.
Zac Medico [Sat, 4 Nov 2006 02:32:38 +0000 (02:32 -0000)]
Fix --ignore-default-opts for bug #153980.

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

18 years agoMake sure trg is defined.
Zac Medico [Sat, 4 Nov 2006 01:58:18 +0000 (01:58 -0000)]
Make sure trg is defined.

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

18 years agoWhen transferring cache after sync, compare all metadata to make sure it is identical...
Zac Medico [Sat, 4 Nov 2006 01:55:32 +0000 (01:55 -0000)]
When transferring cache after sync, compare all metadata to make sure it is identical (don't trust _mtime_ and _eclasses_ alone).  Local tests show that this can add approximately 15% more time to the metadata update, but it's needed for things like bug #153591.

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

18 years agoDon't allow RESTRICT=ccache since it should work and if not then it's a bug that...
Zac Medico [Sat, 4 Nov 2006 00:22:28 +0000 (00:22 -0000)]
Don't allow RESTRICT=ccache since it should work and if not then it's a bug that ought to be fixed.  Thanks to vapier.

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

18 years agoEnable RESTRICT=ccache. Thanks to drizzt for reporting.
Zac Medico [Fri, 3 Nov 2006 22:32:00 +0000 (22:32 -0000)]
Enable RESTRICT=ccache.  Thanks to drizzt for reporting.

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

18 years agoSilently omit info_pkgs that aren't installed. Thanks to solar.
Zac Medico [Fri, 3 Nov 2006 21:14:40 +0000 (21:14 -0000)]
Silently omit info_pkgs that aren't installed.  Thanks to solar.

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

18 years agoFor bug #153951, fail with a simple "Permission denied" error if the merge phase...
Zac Medico [Fri, 3 Nov 2006 20:32:54 +0000 (20:32 -0000)]
For bug #153951, fail with a simple "Permission denied" error if the merge phase doesn't have write access to $ROOT.

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

18 years agoFix the USE_ORDER docs for bug #153764. Thanks to Alec Warner for the initial patch.
Zac Medico [Thu, 2 Nov 2006 10:03:06 +0000 (10:03 -0000)]
Fix the USE_ORDER docs for bug #153764.  Thanks to Alec Warner for the initial patch.

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

18 years agoRemove broken nocolor() call, since thats handled internally by the output module...
Zac Medico [Thu, 2 Nov 2006 08:56:10 +0000 (08:56 -0000)]
Remove broken nocolor() call, since thats handled internally by the output module anyway.

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

18 years agoAdd --color < y | n > help output for bug #42115.
Zac Medico [Thu, 2 Nov 2006 08:50:43 +0000 (08:50 -0000)]
Add --color < y | n > help output for bug #42115.

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

18 years agoDocument the new --color < y | n > option for bug #42115.
Zac Medico [Thu, 2 Nov 2006 08:30:44 +0000 (08:30 -0000)]
Document the new --color < y | n > option for bug #42115.

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

18 years agoImplement --color < y | n > for bug #42115 and deprecate --nocolor. When --color...
Zac Medico [Wed, 1 Nov 2006 23:55:29 +0000 (23:55 -0000)]
Implement --color < y | n > for bug #42115 and deprecate --nocolor.  When --color is not specified, rely on the old NOCOLOR variable and/or stdout auto-detection.

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

18 years agoFor bug #116616, only run the post_process phase if necessary.
Zac Medico [Wed, 1 Nov 2006 10:10:05 +0000 (10:10 -0000)]
For bug #116616, only run the post_process phase if necessary.

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

18 years agoFor bug #129670, skip the replace-cvs and replace-wscomments tests if the diff exit...
Zac Medico [Wed, 1 Nov 2006 09:39:12 +0000 (09:39 -0000)]
For bug #129670, skip the replace-cvs and replace-wscomments tests if the diff exit code indicates two two binary files that differ.

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

18 years agoFor bug #153282, automatically find the owner package(s) in the event of a fatal...
Zac Medico [Wed, 1 Nov 2006 07:06:46 +0000 (07:06 -0000)]
For bug #153282, automatically find the owner package(s) in the event of a fatal file collision (since the collision is fatal, the performance hit doesn't matter).

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

18 years agoFor bug #153295, make load_infodir ignore files that contain null bytes.
Zac Medico [Tue, 31 Oct 2006 23:25:37 +0000 (23:25 -0000)]
For bug #153295, make load_infodir ignore files that contain null bytes.

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