portage.git
18 years agoSimplify the needlessly complex virtuals preferencing logic that lead to bug #150377.
Zac Medico [Tue, 10 Oct 2006 02:27:07 +0000 (02:27 -0000)]
Simplify the needlessly complex virtuals preferencing logic that lead to bug #150377.

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

18 years agoAvoid unnecessary population of the bintree by populating it as late as possible.
Zac Medico [Tue, 10 Oct 2006 00:51:08 +0000 (00:51 -0000)]
Avoid unnecessary population of the bintree by populating it as late as possible.

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

18 years agoMake --tree not imply --pretend anymore so that people can put it in EMERGE_DEFAULT_OPTS.
Zac Medico [Mon, 9 Oct 2006 21:40:32 +0000 (21:40 -0000)]
Make --tree not imply --pretend anymore so that people can put it in EMERGE_DEFAULT_OPTS.

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

18 years agoMake --newuse not imply --update anymore because that restriction is unnecessary.
Zac Medico [Mon, 9 Oct 2006 21:32:45 +0000 (21:32 -0000)]
Make --newuse not imply --update anymore because that restriction is unnecessary.

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

18 years agoDocument greedy atoms for the --update option.
Zac Medico [Mon, 9 Oct 2006 20:44:33 +0000 (20:44 -0000)]
Document greedy atoms for the --update option.

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

18 years agoRemove outdated mention of --update in the --deep docs.
Zac Medico [Mon, 9 Oct 2006 20:31:06 +0000 (20:31 -0000)]
Remove outdated mention of --update in the --deep docs.

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

18 years agoCatch UnpicklingError when loading the mtimedb (reported by marienz).
Zac Medico [Mon, 9 Oct 2006 20:26:21 +0000 (20:26 -0000)]
Catch UnpicklingError when loading the mtimedb (reported by marienz).

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

18 years agoRemove unnecessary config.reset() calls in portage.create_trees().
Zac Medico [Mon, 9 Oct 2006 20:09:42 +0000 (20:09 -0000)]
Remove unnecessary config.reset() calls in portage.create_trees().

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

18 years agoFix typo s/upper/lower/.
Zac Medico [Mon, 9 Oct 2006 15:51:38 +0000 (15:51 -0000)]
Fix typo s/upper/lower/.

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

18 years agoRemove unused PORTAGE_CALLER=portageq from the environment.
Zac Medico [Mon, 9 Oct 2006 07:23:35 +0000 (07:23 -0000)]
Remove unused PORTAGE_CALLER=portageq from the environment.

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

18 years agoRemove unused PORTAGE_CALLER=emerge from the environment.
Zac Medico [Mon, 9 Oct 2006 07:17:40 +0000 (07:17 -0000)]
Remove unused PORTAGE_CALLER=emerge from the environment.

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

18 years agoUse a local_config flag to replace PORTAGE_CALLER == repoman conditionals.
Zac Medico [Mon, 9 Oct 2006 07:14:19 +0000 (07:14 -0000)]
Use a local_config flag to replace PORTAGE_CALLER == repoman conditionals.

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

18 years agoFor repoman, hide the vardbapi from dep_zapdeps.
Zac Medico [Mon, 9 Oct 2006 05:55:32 +0000 (05:55 -0000)]
For repoman, hide the vardbapi from dep_zapdeps.

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

18 years agoAdd news about multiple inheritance support in profiles.
Zac Medico [Sun, 8 Oct 2006 23:37:10 +0000 (23:37 -0000)]
Add news about multiple inheritance support in profiles.

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

18 years agoGenerate the depgraph.args_keys list _before_ building the graph.
Zac Medico [Sun, 8 Oct 2006 23:35:04 +0000 (23:35 -0000)]
Generate the depgraph.args_keys list _before_ building the graph.

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

18 years agoRemove one more reference to use.defaults.
Zac Medico [Sun, 8 Oct 2006 23:25:11 +0000 (23:25 -0000)]
Remove one more reference to use.defaults.

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

18 years agoRemove use.default documentation since we don't use it anymore. Thanks to Arfrever...
Zac Medico [Sun, 8 Oct 2006 23:21:47 +0000 (23:21 -0000)]
Remove use.default documentation since we don't use it anymore.  Thanks to Arfrever Frehtes Taifersar Arahesis for this patch from bug #149608.

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

18 years agoRemove the single parent constraint in profiles.
Zac Medico [Sun, 8 Oct 2006 23:06:57 +0000 (23:06 -0000)]
Remove the single parent constraint in profiles.

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

18 years agoClean up depgraph.select_files() to use one list of tuples instead 2 separate lists.
Zac Medico [Sun, 8 Oct 2006 22:54:58 +0000 (22:54 -0000)]
Clean up depgraph.select_files() to use one list of tuples instead 2 separate lists.

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

18 years agoMake the .installed invalidation conditional on srcroot and destroot being located...
Zac Medico [Sun, 8 Oct 2006 22:23:20 +0000 (22:23 -0000)]
Make the .installed invalidation conditional on srcroot and destroot being located on the same filesystem (st_dev).

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

18 years agoMake the merge phase automatically invalidate the ${PORTAGE_BUILDDIR}/.installed...
Zac Medico [Sun, 8 Oct 2006 22:14:47 +0000 (22:14 -0000)]
Make the merge phase automatically invalidate the ${PORTAGE_BUILDDIR}/.installed flag since it may move files out of the image directory.

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

18 years agoFor bug #150361, implement greedy matching of command line atoms against relevant...
Zac Medico [Sun, 8 Oct 2006 21:43:43 +0000 (21:43 -0000)]
For bug #150361, implement greedy matching of command line atoms against relevant installed slots.  This patch allows a subset of installed slots to be pulled in via operators such as > or <.

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

18 years agoFix another bad package type assumption in depgraph.display().
Zac Medico [Sun, 8 Oct 2006 20:52:03 +0000 (20:52 -0000)]
Fix another bad package type assumption in depgraph.display().

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

18 years agoMake system/world less greedy for bug #150251.
Zac Medico [Sun, 8 Oct 2006 20:50:53 +0000 (20:50 -0000)]
Make system/world less greedy for bug #150251.

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

18 years agoFor bug #140021, remove autoaddcvs from the docs. Thanks to exg for this patch.
Zac Medico [Sun, 8 Oct 2006 18:21:05 +0000 (18:21 -0000)]
For bug #140021, remove autoaddcvs from the docs.  Thanks to exg for this patch.

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

18 years agoFix dep_transform breakage (regression from r4596).
Zac Medico [Sun, 8 Oct 2006 01:07:10 +0000 (01:07 -0000)]
Fix dep_transform breakage (regression from r4596).

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

18 years agoStack negative user virtuals in the correct order for incremental behavior.
Zac Medico [Sat, 7 Oct 2006 22:14:52 +0000 (22:14 -0000)]
Stack negative user virtuals in the correct order for incremental behavior.

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

18 years agoFor bug #150377, make virtual preferences in a profile override the preferences of...
Zac Medico [Sat, 7 Oct 2006 22:13:49 +0000 (22:13 -0000)]
For bug #150377, make virtual preferences in a profile override the preferences of parent profiles.

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

18 years agoRemove redundant quotes from PORTAGE_RSYNC_OPTS.
Zac Medico [Sat, 7 Oct 2006 20:25:56 +0000 (20:25 -0000)]
Remove redundant quotes from PORTAGE_RSYNC_OPTS.

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

18 years agoRemove redunant quotes for bug #150381. This change is related to the shlex posix...
Zac Medico [Sat, 7 Oct 2006 19:56:12 +0000 (19:56 -0000)]
Remove redunant quotes for bug #150381.  This change is related to the shlex posix mode used to fix bug #14215.

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

18 years agoFix package type assumptions in depgraph.display() for bug #150359.
Zac Medico [Sat, 7 Oct 2006 17:10:12 +0000 (17:10 -0000)]
Fix package type assumptions in depgraph.display() for bug #150359.

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

18 years agoAdd a heading for portage-2.1.2.
Zac Medico [Sat, 7 Oct 2006 04:09:27 +0000 (04:09 -0000)]
Add a heading for portage-2.1.2.

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

18 years agoAdd a release note about --with-bdeps.
Zac Medico [Sat, 7 Oct 2006 04:05:26 +0000 (04:05 -0000)]
Add a release note about --with-bdeps.

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

18 years agoAdd news about major bug fixes in 2.1.2.
Zac Medico [Sat, 7 Oct 2006 04:01:58 +0000 (04:01 -0000)]
Add news about major bug fixes in 2.1.2.

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

18 years agoDelete some temporary variables after use.
Zac Medico [Fri, 6 Oct 2006 23:18:55 +0000 (23:18 -0000)]
Delete some temporary variables after use.

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

18 years agoIn update_dbentries(), use != rather than "is not" to make sure that updates never...
Zac Medico [Fri, 6 Oct 2006 22:03:40 +0000 (22:03 -0000)]
In update_dbentries(), use != rather than "is not" to make sure that updates never occur unnecessarily.

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

18 years agoReject installed packages if they have a matching masked ebuild in the tree.
Zac Medico [Fri, 6 Oct 2006 12:48:14 +0000 (12:48 -0000)]
Reject installed packages if they have a matching masked ebuild in the tree.

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

18 years agoFor bug #48195, fall back to the installed packages when there are no other choices...
Zac Medico [Fri, 6 Oct 2006 10:26:54 +0000 (10:26 -0000)]
For bug #48195, fall back to the installed packages when there are no other choices.  Global updates are automatically performed on *DEPEND if necessary in order to clean up stale atoms (we do single packages as necessary because it's too time consuming to do the whole vdb at once).

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

18 years agoMake repoman generate a syntax error if a slot dep is used with EAPI == 0.
Zac Medico [Fri, 6 Oct 2006 07:37:19 +0000 (07:37 -0000)]
Make repoman generate a syntax error if a slot dep is used with EAPI == 0.

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

18 years agoDon't call varexpand inside getconfig for env.d/profile.env values.
Zac Medico [Fri, 6 Oct 2006 03:28:25 +0000 (03:28 -0000)]
Don't call varexpand inside getconfig for env.d/profile.env values.

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

18 years agoFor bug #14215, put the shlex parser in posix mode so that it properly recognizes...
Zac Medico [Fri, 6 Oct 2006 02:48:31 +0000 (02:48 -0000)]
For bug #14215, put the shlex parser in posix mode so that it properly recognizes escaped quotes.

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

18 years agoFor bug #150163, remove unnecessary validation of new_protect_filename() parameters.
Zac Medico [Fri, 6 Oct 2006 01:25:46 +0000 (01:25 -0000)]
For bug #150163, remove unnecessary validation of new_protect_filename() parameters.

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

18 years agoFor bug #150178, print an error message when emerge is called with both --config...
Zac Medico [Fri, 6 Oct 2006 00:54:49 +0000 (00:54 -0000)]
For bug #150178, print an error message when emerge is called with both --config and --pretend.

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

18 years agoAdd news about slot deps.
Zac Medico [Thu, 5 Oct 2006 12:09:54 +0000 (12:09 -0000)]
Add news about slot deps.

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

18 years agoImprove best_match_to_list() and include support for slot deps.
Zac Medico [Thu, 5 Oct 2006 11:52:50 +0000 (11:52 -0000)]
Improve best_match_to_list() and include support for slot deps.

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

18 years agoFix package moves/slotmoves to work with slot deps.
Zac Medico [Thu, 5 Oct 2006 11:15:05 +0000 (11:15 -0000)]
Fix package moves/slotmoves to work with slot deps.

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

18 years agoJust use a simple replace for the needlessly complex dep_transform function. This...
Zac Medico [Thu, 5 Oct 2006 09:03:28 +0000 (09:03 -0000)]
Just use a simple replace for the needlessly complex dep_transform function.  This will make it compatible with slot deps.

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

18 years agoFor bug #4698, use slot deps to ensure that all installed slots are automatically...
Zac Medico [Thu, 5 Oct 2006 06:50:05 +0000 (06:50 -0000)]
For bug #4698, use slot deps to ensure that all installed slots are automatically updated.

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

18 years agoAdd support for slot based dep matching in all dbapi derived classes. The supported...
Zac Medico [Thu, 5 Oct 2006 05:24:42 +0000 (05:24 -0000)]
Add support for slot based dep matching in all dbapi derived classes.  The supported syntax is ${CATEGORY}/${PN}:${SLOT} (identical to that used by paludis and pkgcore).

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

18 years agoShare duplicate code between dep_getkey() and dep_getcpv().
Zac Medico [Wed, 4 Oct 2006 23:02:51 +0000 (23:02 -0000)]
Share duplicate code between dep_getkey() and dep_getcpv().

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

18 years agoDon't create /cvs-src since the cvs.eclass will do that automatically.
Zac Medico [Wed, 4 Oct 2006 08:17:30 +0000 (08:17 -0000)]
Don't create /cvs-src since the cvs.eclass will do that automatically.

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

18 years agoFix a typo for the file mode in ${T}.
Zac Medico [Wed, 4 Oct 2006 08:04:57 +0000 (08:04 -0000)]
Fix a typo for the file mode in ${T}.

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

18 years agoDon't apply the sticky bits until we have a complete plan for bug #149062.
Zac Medico [Wed, 4 Oct 2006 07:37:01 +0000 (07:37 -0000)]
Don't apply the sticky bits until we have a complete plan for bug #149062.

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

18 years agoProperly write all fifo and device nodes to CONTENTS for bug #144781. Code to parse...
Zac Medico [Wed, 4 Oct 2006 07:17:50 +0000 (07:17 -0000)]
Properly write all fifo and device nodes to CONTENTS for bug #144781.  Code to parse these entries has already in place and they are never unmerged.

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

18 years agoRemove redundant PORTAGE_BUILDDIR creation.
Zac Medico [Wed, 4 Oct 2006 06:10:02 +0000 (06:10 -0000)]
Remove redundant PORTAGE_BUILDDIR creation.

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

18 years agoWhen gathering a group of nodes to merge (with circular RDEPEND), make sure not to...
Zac Medico [Wed, 4 Oct 2006 05:09:30 +0000 (05:09 -0000)]
When gathering a group of nodes to merge (with circular RDEPEND), make sure not to prematurely merge any nodes that have unsatisfied hard deps.

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

18 years agoMake PORTAGE_BUILDDIR and subdirectories group writable for now (reverts some of...
Zac Medico [Wed, 4 Oct 2006 04:37:42 +0000 (04:37 -0000)]
Make PORTAGE_BUILDDIR and subdirectories group writable for now (reverts some of the changes from bug #149062).  One major problem is that the first phase (setup) is often run as root.  We need a way to tell portage about a less privileged user that may need to be given permission on files and directories.

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

18 years agoDon't set the gid unnecessarily on $PORTAGE_BUILDDIR/distdir.
Zac Medico [Tue, 3 Oct 2006 22:18:20 +0000 (22:18 -0000)]
Don't set the gid unnecessarily on $PORTAGE_BUILDDIR/distdir.

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

18 years agoFor userpriv support, chown files in ${T} if necessary after priveleged phases.
Zac Medico [Tue, 3 Oct 2006 22:09:41 +0000 (22:09 -0000)]
For userpriv support, chown files in ${T} if necessary after priveleged phases.

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

18 years agoUse 01775 permissions for subdirectories of PORTAGE_TMPDIR, and 0755 permissions...
Zac Medico [Tue, 3 Oct 2006 21:04:57 +0000 (21:04 -0000)]
Use 01775 permissions for subdirectories of PORTAGE_TMPDIR, and 0755 permissions for other directories (bug #149062).

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

18 years agoUse 755 permissions for ${PORTAGE_WORKDIR}/distdir (bug #149062).
Zac Medico [Tue, 3 Oct 2006 19:03:23 +0000 (19:03 -0000)]
Use 755 permissions for ${PORTAGE_WORKDIR}/distdir (bug #149062).

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

18 years agoPrint a message about make.globals if PORTDIR is undefined.
Zac Medico [Tue, 3 Oct 2006 18:33:04 +0000 (18:33 -0000)]
Print a message about make.globals if PORTDIR is undefined.

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

18 years agoAdd a digraph.NONE constant to represent no priority.
Zac Medico [Tue, 3 Oct 2006 07:05:50 +0000 (07:05 -0000)]
Add a digraph.NONE constant to represent no priority.

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

18 years agoRefector depgraph.altlist() reverse/ignore_priority handling.
Zac Medico [Tue, 3 Oct 2006 06:45:58 +0000 (06:45 -0000)]
Refector depgraph.altlist() reverse/ignore_priority handling.

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

18 years agoRemove a len(nodes) == 1 test that's never True.
Zac Medico [Tue, 3 Oct 2006 01:51:33 +0000 (01:51 -0000)]
Remove a len(nodes) == 1 test that's never True.

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

18 years agoIn depgraph.altlist(), use a recursive fuction to gather groups of nodes that RDEPEND...
Zac Medico [Tue, 3 Oct 2006 01:40:42 +0000 (01:40 -0000)]
In depgraph.altlist(), use a recursive fuction to gather groups of nodes that RDEPEND on eachother.

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

18 years agoFix priority logic in digraph.add().
Zac Medico [Tue, 3 Oct 2006 00:27:45 +0000 (00:27 -0000)]
Fix priority logic in digraph.add().

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

18 years agoOptimize varexpand for bug #149900.
Zac Medico [Mon, 2 Oct 2006 22:39:03 +0000 (22:39 -0000)]
Optimize varexpand for bug #149900.

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

18 years agoRemove unnecessary set creation.
Zac Medico [Mon, 2 Oct 2006 22:21:57 +0000 (22:21 -0000)]
Remove unnecessary set creation.

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

18 years agoFix depgraph.altlist() so that it can identify a group of nodes that completely satis...
Zac Medico [Mon, 2 Oct 2006 22:08:04 +0000 (22:08 -0000)]
Fix depgraph.altlist() so that it can identify a group of nodes that completely satisfy eachothers non-soft deps.  This should complete the fix for bug #149881.

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

18 years agoAdd medium priority level into the digraph (in addition to the existing hard and
Zac Medico [Mon, 2 Oct 2006 19:29:23 +0000 (19:29 -0000)]
Add medium priority level into the digraph (in addition to the existing hard and

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

18 years agoFor bug #149781, exclude symlinks to directories when creating binary package with...
Zac Medico [Sun, 1 Oct 2006 23:15:49 +0000 (23:15 -0000)]
For bug #149781, exclude symlinks to directories when creating binary package with quickpkg.

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

18 years agoFix misspelling of dependencies for bug #149645.
Zac Medico [Sat, 30 Sep 2006 19:35:29 +0000 (19:35 -0000)]
Fix misspelling of dependencies for bug #149645.

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

18 years agoEmulate old --update world/system behavior for bug #149527.
Zac Medico [Sat, 30 Sep 2006 18:24:19 +0000 (18:24 -0000)]
Emulate old --update world/system behavior for bug #149527.

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

18 years agoDon't try to match call best_match_to_list() on "blocks" nodes for bug #149576.
Zac Medico [Sat, 30 Sep 2006 04:06:53 +0000 (04:06 -0000)]
Don't try to match call best_match_to_list() on "blocks" nodes for bug #149576.

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

18 years agoUpdate CONFIG_PROTECT docs to reflect that files are now supported.
Zac Medico [Fri, 29 Sep 2006 21:56:09 +0000 (21:56 -0000)]
Update CONFIG_PROTECT docs to reflect that files are now supported.

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

18 years agoUpdate installsources docs for bug #149491.
Zac Medico [Fri, 29 Sep 2006 21:50:16 +0000 (21:50 -0000)]
Update installsources docs for bug #149491.

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

18 years agoDocument the new COLLISION_IGNORE variable.
Zac Medico [Fri, 29 Sep 2006 21:47:49 +0000 (21:47 -0000)]
Document the new COLLISION_IGNORE variable.

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

18 years agoFor bug #149412, add a COLLISION_IGNORE user config option that behaves similar to...
Zac Medico [Fri, 29 Sep 2006 21:36:34 +0000 (21:36 -0000)]
For bug #149412, add a COLLISION_IGNORE user config option that behaves similar to CONFIG_PROTECT_MASK, but for collision-protect.

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

18 years agoDocument the new --with-bdeps option.
Zac Medico [Fri, 29 Sep 2006 21:07:01 +0000 (21:07 -0000)]
Document the new --with-bdeps option.

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

18 years agoAllow options contained in EMERGE_DEFAULT_OPTS to be overridden by the real command...
Zac Medico [Fri, 29 Sep 2006 20:37:26 +0000 (20:37 -0000)]
Allow options contained in EMERGE_DEFAULT_OPTS to be overridden by the real command line options.

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

18 years agoMove installed sources into ${CATEGORY} subdirectories in order to prevent collisions...
Zac Medico [Fri, 29 Sep 2006 19:12:47 +0000 (19:12 -0000)]
Move installed sources into ${CATEGORY} subdirectories in order to prevent collisions for bug #149491.

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

18 years agoAllow env.d file names with 3 characters. This is a regression from r4451.
Zac Medico [Fri, 29 Sep 2006 18:28:29 +0000 (18:28 -0000)]
Allow env.d file names with 3 characters. This is a regression from r4451.

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

18 years agoFix quoting of ${D} in make arguments for einstall(). Thanks to Volkov Peter <pva...
Zac Medico [Fri, 29 Sep 2006 17:47:35 +0000 (17:47 -0000)]
Fix quoting of ${D} in make arguments for einstall().  Thanks to Volkov Peter <pva@gentoo.org> for this patch from bug #149494.

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

18 years agoFix broken [ -z "" ] test. Thanks to Volkov Peter <pva@gentoo.org> for this patch...
Zac Medico [Fri, 29 Sep 2006 17:41:03 +0000 (17:41 -0000)]
Fix broken [ -z "" ] test.  Thanks to Volkov Peter <pva@gentoo.org> for this patch from bug #149494.

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

18 years agoFix inverted --with-bdeps logic.
Zac Medico [Fri, 29 Sep 2006 05:36:50 +0000 (05:36 -0000)]
Fix inverted --with-bdeps logic.

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

18 years agoCall sys.stdout.flush() after print statements so that output has the correct order...
Zac Medico [Fri, 29 Sep 2006 02:10:29 +0000 (02:10 -0000)]
Call sys.stdout.flush() after print statements so that output has the correct order when multiple processes output to a shared pipe.

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

18 years agoProperly treat myopts as a dict.
Zac Medico [Fri, 29 Sep 2006 01:52:50 +0000 (01:52 -0000)]
Properly treat myopts as a dict.

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

18 years agoRemove some unreachable code.
Zac Medico [Fri, 29 Sep 2006 01:26:35 +0000 (01:26 -0000)]
Remove some unreachable code.

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

18 years agoUse dict.pop(k, None) to delete items if they exist.
Zac Medico [Fri, 29 Sep 2006 01:14:31 +0000 (01:14 -0000)]
Use dict.pop(k, None) to delete items if they exist.

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

18 years agoStore myopts in the mtimedb as a list for backward compatibility.
Zac Medico [Fri, 29 Sep 2006 00:47:11 +0000 (00:47 -0000)]
Store myopts in the mtimedb as a list for backward compatibility.

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

18 years agoAdd missing calls to iteritems() from the last commit.
Zac Medico [Fri, 29 Sep 2006 00:05:35 +0000 (00:05 -0000)]
Add missing calls to iteritems() from the last commit.

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

18 years agoAdd a --with-bdeps=[y,n] option for bug #148870.
Zac Medico [Thu, 28 Sep 2006 23:02:03 +0000 (23:02 -0000)]
Add a --with-bdeps=[y,n] option for bug #148870.

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

18 years agoConvert myopts into a dictionary so that it can be used for more that boolean flags.
Zac Medico [Thu, 28 Sep 2006 18:29:40 +0000 (18:29 -0000)]
Convert myopts into a dictionary so that it can be used for more that boolean flags.

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

18 years agoConvert emerge option parsing to use python's optparse module. This patch makes...
Zac Medico [Thu, 28 Sep 2006 17:36:35 +0000 (17:36 -0000)]
Convert emerge option parsing to use python's optparse module.  This patch makes the minimum changes necessary for the conversion and is supposed to be 100% compatible with previous parsing behavior.

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

18 years agoCatch a ValueError caused by corrupt cache for bug #149134.
Zac Medico [Thu, 28 Sep 2006 00:15:57 +0000 (00:15 -0000)]
Catch a ValueError caused by corrupt cache for bug #149134.

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

18 years agoIn dep_zapdeps preference selection, use package names instead of the real atoms...
Zac Medico [Wed, 27 Sep 2006 16:50:36 +0000 (16:50 -0000)]
In dep_zapdeps preference selection, use package names instead of the real atoms for an initial rough match against installed packages.  More specific preference selection is handled later via slot and version comparison.  Thanks to Jason Stubbs for this patch from bug #147766.

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

18 years agoRevert dep_zapdeps fakedbapi usage as per comment #31 on bug #147766.
Zac Medico [Wed, 27 Sep 2006 15:41:14 +0000 (15:41 -0000)]
Revert dep_zapdeps fakedbapi usage as per comment #31 on bug #147766.

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

18 years agoFix --update so that it updates direct dependencies for bug #149208.
Zac Medico [Wed, 27 Sep 2006 08:44:22 +0000 (08:44 -0000)]
Fix --update so that it updates direct dependencies for bug #149208.

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

18 years agoMake sure that all packages are in the dbapi when doing the blocker validation.
Zac Medico [Wed, 27 Sep 2006 07:01:45 +0000 (07:01 -0000)]
Make sure that all packages are in the dbapi when doing the blocker validation.

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