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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 years agorecommend people use `emake` rather than `make` when installing with DESTDIR
Mike Frysinger [Tue, 31 Oct 2006 20:35:27 +0000 (20:35 -0000)]
recommend people use `emake` rather than `make` when installing with DESTDIR

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

17 years agoAdd support for frozen config files for which updates are automatically zapped. ...
Zac Medico [Tue, 31 Oct 2006 13:45:19 +0000 (13:45 -0000)]
Add support for frozen config files for which updates are automatically zapped.  Thanks to Bo Ørsted Andresen for the initial patch from bug #151685.

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

17 years agoFix a KeyError when the profile doesn't define default USE.
Zac Medico [Tue, 31 Oct 2006 06:46:09 +0000 (06:46 -0000)]
Fix a KeyError when the profile doesn't define default USE.

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

17 years agoRely on PYTHONPATH instead of PORTAGE_PYM_PATH for locating portage's python modules...
Zac Medico [Tue, 31 Oct 2006 04:23:06 +0000 (04:23 -0000)]
Rely on PYTHONPATH instead of PORTAGE_PYM_PATH for locating portage's python modules, then fall back to an explicit sys.path insertion if an ImportError occurs.

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

17 years agoJust use stat instead of lstat for config protect, so that broken symlinks are just...
Zac Medico [Mon, 30 Oct 2006 08:40:17 +0000 (08:40 -0000)]
Just use stat instead of lstat for config protect, so that broken symlinks are just ignored.

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

17 years agoFor getmaskingstatus messages, don't assume ARCH is a valid keyword, since that assum...
Zac Medico [Mon, 30 Oct 2006 01:48:58 +0000 (01:48 -0000)]
For getmaskingstatus messages, don't assume ARCH is a valid keyword, since that assumption is not necessarily correct for operating systems other than Linux.  Thanks to Diego Pettenò for reporting.

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

17 years agoFor bug #153295, do a sanity check for non-string types in config.environ().
Zac Medico [Sun, 29 Oct 2006 22:25:50 +0000 (22:25 -0000)]
For bug #153295, do a sanity check for non-string types in config.environ().

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

17 years agoUse a tuple for __slots__ so that it's immutable.
Zac Medico [Sun, 29 Oct 2006 14:01:57 +0000 (14:01 -0000)]
Use a tuple for __slots__ so that it's immutable.

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

17 years agoDon't forget to continue for invalid binpkgs.
Zac Medico [Sat, 28 Oct 2006 22:51:27 +0000 (22:51 -0000)]
Don't forget to continue for invalid binpkgs.

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

17 years agoPrevent an attribute error AttributeError for invalid binary packages for which there...
Zac Medico [Sat, 28 Oct 2006 21:57:27 +0000 (21:57 -0000)]
Prevent an attribute error AttributeError for invalid binary packages for which there is no CATEGORY data.

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

17 years agoUse mtree to save/restore bsd file flags before/after prepall and installation. ...
Zac Medico [Sat, 28 Oct 2006 10:37:47 +0000 (10:37 -0000)]
Use mtree to save/restore bsd file flags before/after prepall and installation.  Thanks to Diego Pettenò for this patch (related to bug #153109).

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

17 years agoAvoid a TypeError with emerge -kN when there's no matching ebuild.
Zac Medico [Fri, 27 Oct 2006 23:55:45 +0000 (23:55 -0000)]
Avoid a TypeError with emerge -kN when there's no matching ebuild.

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

17 years agoAdd backward compatibility code for cache modules that override has_key instead of...
Zac Medico [Fri, 27 Oct 2006 21:45:29 +0000 (21:45 -0000)]
Add backward compatibility code for cache modules that override has_key instead of __contains__.

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

17 years agoUpdate help for greedy behavior of --update.
Zac Medico [Fri, 27 Oct 2006 08:14:34 +0000 (08:14 -0000)]
Update help for greedy behavior of --update.

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

17 years agoUpdate help for --deep.
Zac Medico [Fri, 27 Oct 2006 08:10:23 +0000 (08:10 -0000)]
Update help for --deep.

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

17 years agoAdd --with-bdeps to emerge --help output.
Zac Medico [Fri, 27 Oct 2006 08:05:54 +0000 (08:05 -0000)]
Add --with-bdeps to emerge --help output.

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

17 years agoDon't bother to insert /usr/lib/portage/pym into sys.path from inside a module. ...
Zac Medico [Fri, 27 Oct 2006 07:36:46 +0000 (07:36 -0000)]
Don't bother to insert /usr/lib/portage/pym into sys.path from inside a module.  That's the caller's job.

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

17 years agoDo not pass the "clean" parameter to doebuild since it causes ${T} to be cleaned...
Zac Medico [Fri, 27 Oct 2006 06:32:28 +0000 (06:32 -0000)]
Do not pass the "clean" parameter to doebuild since it causes ${T} to be cleaned up when it shouldn't be.  Thanks to Mr_Bones_ for reporting.

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

17 years agoshow licenses or pointer to license files on 'masked by' message
Marius Mauch [Thu, 26 Oct 2006 16:27:44 +0000 (16:27 -0000)]
show licenses or pointer to license files on 'masked by' message

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

17 years agoshow licenses or pointer to license files on 'masked by' message
Marius Mauch [Thu, 26 Oct 2006 16:27:25 +0000 (16:27 -0000)]
show licenses or pointer to license files on 'masked by' message

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

17 years agoadd function getlicensetexts() to extract license texts relevant to a given cpv ...
Marius Mauch [Thu, 26 Oct 2006 16:18:00 +0000 (16:18 -0000)]
add function getlicensetexts() to extract license texts relevant to a given cpv (to be used by emerge masked by display)

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

17 years agoneed a mutable config instance to use setcpv
Marius Mauch [Thu, 26 Oct 2006 15:47:02 +0000 (15:47 -0000)]
need a mutable config instance to use setcpv

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

17 years agorename getmaskingreason() to getpmaskcomment() to clarify its function, report each...
Marius Mauch [Thu, 26 Oct 2006 15:43:40 +0000 (15:43 -0000)]
rename getmaskingreason() to getpmaskcomment() to clarify its function, report each license as a separate mask instead of combining them all together into a single value for getmaskingstatus()

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

17 years agostreamline portage pythonpath handling and add an override analog to how the bash...
Marius Mauch [Thu, 26 Oct 2006 13:49:45 +0000 (13:49 -0000)]
streamline portage pythonpath handling and add an override analog to how the bash side does it

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

17 years agoReverse the relationship between __contains__ and has_key in all cache classes since...
Zac Medico [Thu, 26 Oct 2006 08:10:35 +0000 (08:10 -0000)]
Reverse the relationship between __contains__ and has_key in all cache classes since python handles the "in" operator more efficiently than a has_key method call.

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

17 years agoTest for basestring instead of types.DictType so that the test more generic.
Zac Medico [Thu, 26 Oct 2006 06:39:47 +0000 (06:39 -0000)]
Test for basestring instead of types.DictType so that the test more generic.

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

17 years agoFix broken is_eclass_data_valid comparison logic.
Zac Medico [Wed, 25 Oct 2006 23:02:30 +0000 (23:02 -0000)]
Fix broken is_eclass_data_valid comparison logic.

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

17 years agoFor full compatibility with older versions of portage, write the path in the serializ...
Zac Medico [Wed, 25 Oct 2006 21:44:04 +0000 (21:44 -0000)]
For full compatibility with older versions of portage, write the path in the serialized _eclasses_ when possible.

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

17 years agoFor bug #152726, ignore hidden files in vardbapi.cp_list().
Zac Medico [Wed, 25 Oct 2006 19:26:54 +0000 (19:26 -0000)]
For bug #152726, ignore hidden files in vardbapi.cp_list().

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

17 years agoFor the time being, write a variation of the old _eclass_ format so that cache writte...
Zac Medico [Wed, 25 Oct 2006 16:47:54 +0000 (16:47 -0000)]
For the time being, write a variation of the old _eclass_ format so that cache written only forces a regen for older versions of portage rather than a ValueError due to failed long() conversion.

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

17 years agoImprove reconstruct_eclasses error handling.
Zac Medico [Wed, 25 Oct 2006 02:36:00 +0000 (02:36 -0000)]
Improve reconstruct_eclasses error handling.

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

17 years agoRemove ACCEPT_LICENSE docs until they're really implemented.
Zac Medico [Wed, 25 Oct 2006 01:35:42 +0000 (01:35 -0000)]
Remove ACCEPT_LICENSE docs until they're really implemented.

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

17 years agoDisable ACCEPT_LICENSE support until the details of license groups are decided and...
Zac Medico [Tue, 24 Oct 2006 19:34:24 +0000 (19:34 -0000)]
Disable ACCEPT_LICENSE support until the details of license groups are decided and implemented.

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

17 years agoAdd ACCEPT_LICENSE back to incrementals so that profiles can affect it.
Zac Medico [Tue, 24 Oct 2006 19:12:02 +0000 (19:12 -0000)]
Add ACCEPT_LICENSE back to incrementals so that profiles can affect it.

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

17 years agoEnable recognition of _mtime_ that doesn't rely on cache mtime mangling.
Zac Medico [Tue, 24 Oct 2006 10:39:57 +0000 (10:39 -0000)]
Enable recognition of _mtime_ that doesn't rely on cache mtime mangling.

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

17 years agoRemove paths from _eclasses_ serialization in the cache. This makes the mtimes of...
Zac Medico [Tue, 24 Oct 2006 07:20:12 +0000 (07:20 -0000)]
Remove paths from _eclasses_ serialization in the cache.  This makes the mtimes of the eclasses the only thing that distinguishes them, but the probablility of collision is negligible.  This same _eclasses_ format will be used to serialize eclass mtimes in cache that is distributed via the rsync mirrors.  The deserialization code can handle mixtures of both the old and new formats.

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

17 years agoDon't display the "Please update portage" message in --quiet mode. Thanks to solar.
Zac Medico [Mon, 23 Oct 2006 22:41:02 +0000 (22:41 -0000)]
Don't display the "Please update portage" message in --quiet mode.  Thanks to solar.

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

17 years agoIn getmaskingstatus(), add missing check for * in acceptable_licenses.
Zac Medico [Mon, 23 Oct 2006 06:14:10 +0000 (06:14 -0000)]
In getmaskingstatus(), add missing check for * in acceptable_licenses.

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

17 years agoDon't put -* in the env layer, since that layer isn't part of the incremental stackin...
Zac Medico [Sun, 22 Oct 2006 21:15:12 +0000 (21:15 -0000)]
Don't put -* in the env layer, since that layer isn't part of the incremental stacking in regenerate.

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

17 years agoAdd package.license to the list of files.
Zac Medico [Sun, 22 Oct 2006 20:56:28 +0000 (20:56 -0000)]
Add package.license to the list of files.

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

17 years agoDon't limit the size of USE in config.load_infodir.
Zac Medico [Sun, 22 Oct 2006 20:43:20 +0000 (20:43 -0000)]
Don't limit the size of USE in config.load_infodir.

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

17 years agoMake config.load_infodir also load the data into the env layer in order to ensure...
Zac Medico [Sun, 22 Oct 2006 20:39:47 +0000 (20:39 -0000)]
Make config.load_infodir also load the data into the env layer in order to ensure that it has preference over what may have been there.

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

17 years agoAdd news about ACCEPT_LICENSE and package.license.
Zac Medico [Sun, 22 Oct 2006 20:25:41 +0000 (20:25 -0000)]
Add news about ACCEPT_LICENSE and package.license.

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

17 years agoAdd some package.license docs.
Zac Medico [Sun, 22 Oct 2006 20:23:53 +0000 (20:23 -0000)]
Add some package.license docs.

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

17 years agoPut the package.keywords docs in alphabetical order with the others.
Zac Medico [Sun, 22 Oct 2006 20:09:53 +0000 (20:09 -0000)]
Put the package.keywords docs in alphabetical order with the others.

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

17 years agoAdd some ACCEPT_LICENSE docs.
Zac Medico [Sun, 22 Oct 2006 20:00:45 +0000 (20:00 -0000)]
Add some ACCEPT_LICENSE docs.

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

17 years agoFix gcc version parsing once again for bug #137786. sigh. :)
Zac Medico [Sun, 22 Oct 2006 10:38:16 +0000 (10:38 -0000)]
Fix gcc version parsing once again for bug #137786. sigh. :)

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

17 years agos/str_matches/acceptable_licenses/ typo
Zac Medico [Sun, 22 Oct 2006 10:20:16 +0000 (10:20 -0000)]
s/str_matches/acceptable_licenses/ typo

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

17 years agoAdd support for masking of packages via ACCEPT_LICENSE and /etc/portage/package.licen...
Zac Medico [Sun, 22 Oct 2006 07:26:48 +0000 (07:26 -0000)]
Add support for masking of packages via ACCEPT_LICENSE and /etc/portage/package.license.  Thanks to Jason Stubbs for the initial patch from bug #17367.

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

17 years agoDo put empty incrementals in the environment if they are already set.
Zac Medico [Sun, 22 Oct 2006 05:55:13 +0000 (05:55 -0000)]
Do put empty incrementals in the environment if they are already set.

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

17 years agoDon't put empty incrementals in the environment.
Zac Medico [Sun, 22 Oct 2006 05:53:00 +0000 (05:53 -0000)]
Don't put empty incrementals in the environment.

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

17 years agoCall load_infodir before the setup phase for binary packages so that USE is properly...
Zac Medico [Sun, 22 Oct 2006 03:29:44 +0000 (03:29 -0000)]
Call load_infodir before the setup phase for binary packages so that USE is properly set.

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

17 years agoFix visibility checks so that binary packages aren't masked just because there is...
Zac Medico [Sun, 22 Oct 2006 02:56:51 +0000 (02:56 -0000)]
Fix visibility checks so that binary packages aren't masked just because there is no matching ebuild in the tree.

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

17 years agoUse reset instead of regenerate (revert part of the previous commit) in order to...
Zac Medico [Sat, 21 Oct 2006 23:40:13 +0000 (23:40 -0000)]
Use reset instead of regenerate (revert part of the previous commit) in order to properly clear the env layer of the config.

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

17 years agoOptimize config.setcpv so that it only calls regenerate when necessary. Thanks to...
Zac Medico [Sat, 21 Oct 2006 23:05:51 +0000 (23:05 -0000)]
Optimize config.setcpv so that it only calls regenerate when necessary.  Thanks to Jason Stubbs for the initial patch from bug #17367.

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

17 years agoAlso check keyword visibility via gvisible.
Zac Medico [Sat, 21 Oct 2006 12:17:24 +0000 (12:17 -0000)]
Also check keyword visibility via gvisible.

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

17 years agoFor bug #152157, don't send a redundant escape sequence with ${PROMPT_COMMAND}.
Zac Medico [Sat, 21 Oct 2006 07:52:52 +0000 (07:52 -0000)]
For bug #152157, don't send a redundant escape sequence with ${PROMPT_COMMAND}.

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

17 years agoAdd news about package.use in profiles and default USE in ebuilds via +flag in IUSE.
Zac Medico [Sat, 21 Oct 2006 04:46:33 +0000 (04:46 -0000)]
Add news about package.use in profiles and default USE in ebuilds via +flag in IUSE.

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

17 years agoAdd package.use to the list of files supported in profiles.
Zac Medico [Sat, 21 Oct 2006 04:43:07 +0000 (04:43 -0000)]
Add package.use to the list of files supported in profiles.

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

17 years agoAdd news about new-style virtuals being usable for bootstrap deps on self.
Zac Medico [Sat, 21 Oct 2006 04:40:33 +0000 (04:40 -0000)]
Add news about new-style virtuals being usable for bootstrap deps on self.

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

17 years agoRemove redunant population of the fakedb in depgraph.validate_blockers, since r4776...
Zac Medico [Sat, 21 Oct 2006 04:36:11 +0000 (04:36 -0000)]
Remove redunant population of the fakedb in depgraph.validate_blockers, since r4776 makes it unnecessary.

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

17 years agoUpdate the docs regarding delay of config.setinst calls for bootstrap deps on old...
Zac Medico [Sat, 21 Oct 2006 04:32:03 +0000 (04:32 -0000)]
Update the docs regarding delay of config.setinst calls for bootstrap deps on old-style virtuals.

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

17 years agoAdd nodes to the fakedb in depgraph.create instead of depgraph.select_deps. It used...
Zac Medico [Sat, 21 Oct 2006 04:19:03 +0000 (04:19 -0000)]
Add nodes to the fakedb in depgraph.create instead of depgraph.select_deps.  It used to be in select_deps only for the case of packages that depend on themselves for bootstrap, but that hack isn't needed anymore because dep_check returns all deps now.

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

17 years agoMore filtering binary package for visiblity in greedy atom handling.
Zac Medico [Sat, 21 Oct 2006 03:25:55 +0000 (03:25 -0000)]
More filtering binary package for visiblity in greedy atom handling.

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

17 years agoIn greedy atom handlink, filter binary package for visiblity.
Zac Medico [Sat, 21 Oct 2006 03:16:15 +0000 (03:16 -0000)]
In greedy atom handlink, filter binary package for visiblity.

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

17 years agoApply the fix for bug #152175 to system/world greedy behavior.
Zac Medico [Sat, 21 Oct 2006 02:24:01 +0000 (02:24 -0000)]
Apply the fix for bug #152175 to system/world greedy behavior.

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

17 years agoFor bug #152175, trigger greedy --update behavior when an atom matches a slot that...
Zac Medico [Sat, 21 Oct 2006 01:26:19 +0000 (01:26 -0000)]
For bug #152175, trigger greedy --update behavior when an atom matches a slot that isn't installed yet.

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

17 years agoAllow an empty PROMPT_COMMAND for bug #152157.
Zac Medico [Fri, 20 Oct 2006 22:33:46 +0000 (22:33 -0000)]
Allow an empty PROMPT_COMMAND for bug #152157.

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

17 years agoWe there is a circular deps panic in reversed mode, do the circular deps output witho...
Zac Medico [Fri, 20 Oct 2006 20:49:30 +0000 (20:49 -0000)]
We there is a circular deps panic in reversed mode, do the circular deps output without reversed mode since it should reduce the noise level.

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

17 years agoClean up the blocker validation logic so that "blocks" nodes are no longer stored...
Zac Medico [Fri, 20 Oct 2006 12:45:23 +0000 (12:45 -0000)]
Clean up the blocker validation logic so that "blocks" nodes are no longer stored in the main digraph.

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

17 years agoFix sed options from the previous commit so that it doesn't create a backup file...
Zac Medico [Fri, 20 Oct 2006 07:39:49 +0000 (07:39 -0000)]
Fix sed options from the previous commit so that it doesn't create a backup file ending with "e".  Thanks to grobian for spotting this issue.

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

17 years agoMake dosed use sed -i instead of a temp file. Thanks to Tim Cera for this patch...
Zac Medico [Fri, 20 Oct 2006 06:04:19 +0000 (06:04 -0000)]
Make dosed use sed -i instead of a temp file.  Thanks to Tim Cera for this patch from bug #152017.

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

17 years agoRemove special case of --emptytree in depgraph.display(). Thanks to Jason Stubbs...
Zac Medico [Fri, 20 Oct 2006 05:44:01 +0000 (05:44 -0000)]
Remove special case of --emptytree in depgraph.display().  Thanks to Jason Stubbs for this patch from bug #152030.

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

17 years agoFor userpriv, call setgroups with all groups that the portage user belongs to (bug...
Zac Medico [Thu, 19 Oct 2006 23:04:26 +0000 (23:04 -0000)]
For userpriv, call setgroups with all groups that the portage user belongs to (bug #137610).

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

17 years agoOnly call altlist() to validate blockers when necessary.
Zac Medico [Thu, 19 Oct 2006 21:48:42 +0000 (21:48 -0000)]
Only call altlist() to validate blockers when necessary.

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

17 years agos/digraph.MEDIUM/DepPriority.MEDIUM/
Zac Medico [Wed, 18 Oct 2006 20:27:10 +0000 (20:27 -0000)]
s/digraph.MEDIUM/DepPriority.MEDIUM/

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

17 years agoHandle unresolvable blockers properly for bug #151822.
Zac Medico [Wed, 18 Oct 2006 12:20:40 +0000 (12:20 -0000)]
Handle unresolvable blockers properly for bug #151822.

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

17 years agoExplicitly set the priority when a node is added to enforce merge order for blocker...
Zac Medico [Wed, 18 Oct 2006 11:35:17 +0000 (11:35 -0000)]
Explicitly set the priority when a node is added to enforce merge order for blocker avoidance.

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

17 years agoAll packages to be added to the world favorites via --noreplace, even when --ask...
Zac Medico [Wed, 18 Oct 2006 10:50:50 +0000 (10:50 -0000)]
All packages to be added to the world favorites via --noreplace, even when --ask is enabled.  Thanks to leio for reporting this issue.

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