portage.git
16 years agoMerge improved argument handling and other general depgraph improvements
Zac Medico [Tue, 8 Apr 2008 07:36:14 +0000 (07:36 -0000)]
Merge improved argument handling and other general depgraph improvements
from trunk.

svn path=/main/branches/2.1.2/; revision=9754

16 years agoFor repoman, only cache the metadata necessary for visibility
Zac Medico [Tue, 8 Apr 2008 05:42:01 +0000 (05:42 -0000)]
For repoman, only cache the metadata necessary for visibility
checks in order to reduce memory consumption. (trunk r9743)

svn path=/main/branches/2.1.2/; revision=9753

16 years ago* Optimize metadata caching in pordbapi and bindbapi so that cache is
Zac Medico [Tue, 8 Apr 2008 05:38:33 +0000 (05:38 -0000)]
* Optimize metadata caching in pordbapi and bindbapi so that cache is
  never pulled for the same package twice.
* Cache a Package instances constructed during package selection
  and reuse them during later package selections.
(trunk r9741)

svn path=/main/branches/2.1.2/; revision=9752

16 years agoIn dump_trace(), fix BASH_ARGV and BASH_ARGC offsets so that they are always
Zac Medico [Tue, 8 Apr 2008 04:59:44 +0000 (04:59 -0000)]
In dump_trace(), fix BASH_ARGV and BASH_ARGC offsets so that they are always
correct wrt eachother. Thanks to Betelgeuse for reporting. (trunk r9732:9734)

svn path=/main/branches/2.1.2/; revision=9751

16 years agoFix java.eclassesnotused logic. Thanks to Betelgeuse. (trunk r9732)
Zac Medico [Tue, 8 Apr 2008 04:56:58 +0000 (04:56 -0000)]
Fix java.eclassesnotused logic. Thanks to Betelgeuse. (trunk r9732)

svn path=/main/branches/2.1.2/; revision=9750

16 years ago* Use type -P which does not produce messages to stderr.
Zac Medico [Tue, 8 Apr 2008 04:55:46 +0000 (04:55 -0000)]
* Use type -P which does not produce messages to stderr.
another option is to redirect both stderr and out.
* Avoid &> replace with > ... 2>&1
Thanks to Alon Bar-Lev for this patch.
(trunk r9727)

svn path=/main/branches/2.1.2/; revision=9749

16 years agoBug #197905 - Preserve order of ebuild messages even between different
Zac Medico [Tue, 8 Apr 2008 04:54:35 +0000 (04:54 -0000)]
Bug #197905 - Preserve order of ebuild messages even between different
message types. (trunk r9726 and r9747)

svn path=/main/branches/2.1.2/; revision=9748

16 years agoClarify --with-bdeps behavior with example. Thanks to Griffon26 for
Zac Medico [Tue, 8 Apr 2008 04:25:18 +0000 (04:25 -0000)]
Clarify --with-bdeps behavior with example. Thanks to Griffon26 for
this patch. (trunk r9725)

svn path=/main/branches/2.1.2/; revision=9746

16 years agoFix the CompositDbapi.match() logic wrt "selective" behavior and installed
Zac Medico [Sun, 6 Apr 2008 18:54:26 +0000 (18:54 -0000)]
Fix the CompositDbapi.match() logic wrt "selective" behavior and installed
packages so that it correctly handles false argument matches due to PROVIDE
when a corresponding new-style virtual exists. (trunk r9729)

svn path=/main/branches/2.1.2/; revision=9730

16 years agoWhen necessary, make quickpkg add missing metadata to the vdb entry before
Zac Medico [Sat, 5 Apr 2008 20:03:43 +0000 (20:03 -0000)]
When necessary, make quickpkg add missing metadata to the vdb entry before
creating the binary package. (trunk r9723)

svn path=/main/branches/2.1.2/; revision=9724

16 years agoIn dbapi.move_ent(), never assume that any of the expected metadata
Zac Medico [Sat, 5 Apr 2008 19:27:13 +0000 (19:27 -0000)]
In dbapi.move_ent(), never assume that any of the expected metadata
entries exist (PF, CATEGORY, or *.ebuild). (trunk r9712)

svn path=/main/branches/2.1.2/; revision=9722

16 years agoFor better performace and consistency in package selection, merge the
Zac Medico [Sat, 5 Apr 2008 19:00:38 +0000 (19:00 -0000)]
For better performace and consistency in package selection, merge the
CompositeDbapi code from trunk.

svn path=/main/branches/2.1.2/; revision=9721

16 years agoBug #216328 - Fix broken --newuse reinstallation logic. (trunk r9718)
Zac Medico [Sat, 5 Apr 2008 17:48:49 +0000 (17:48 -0000)]
Bug #216328 - Fix broken --newuse reinstallation logic. (trunk r9718)

svn path=/main/branches/2.1.2/; revision=9719

16 years agoAdd missing "the" to fix grammar. (trunk r9710)
Zac Medico [Fri, 4 Apr 2008 20:42:32 +0000 (20:42 -0000)]
Add missing "the" to fix grammar. (trunk r9710)

svn path=/main/branches/2.1.2/; revision=9711

16 years ago* In the event that a previously installed package has since been masked,
Zac Medico [Fri, 4 Apr 2008 18:59:38 +0000 (18:59 -0000)]
* In the event that a previously installed package has since been masked,
  emerge will no longer perform an automatic downgrade as part of a "world"
  update. You should either unmask such packages or else explicitly re-merge
  them in order to have them dowgraded to an unmasked version.
(trunk r9708)

svn path=/main/branches/2.1.2/; revision=9709

16 years agoDisplay the note referencing "masked packages" docs when there are
Zac Medico [Fri, 4 Apr 2008 18:43:29 +0000 (18:43 -0000)]
Display the note referencing "masked packages" docs when there are
installed masked packages to display. (trunk r9704:9706)

svn path=/main/branches/2.1.2/; revision=9707

16 years agoMerge FEATURES=webrsync-gpg docs from trunk.
Zac Medico [Fri, 4 Apr 2008 09:33:18 +0000 (09:33 -0000)]
Merge FEATURES=webrsync-gpg docs from trunk.

svn path=/main/branches/2.1.2/; revision=9704

16 years agoFix a typo in the depclean USE flag handling when populating the
Zac Medico [Fri, 4 Apr 2008 06:33:35 +0000 (06:33 -0000)]
Fix a typo in the depclean USE flag handling when populating the
digraph for bug #201045. (trunk r9702)

svn path=/main/branches/2.1.2/; revision=9703

16 years agoWhen the user has given --depclean a list of atoms to clean, pull all
Zac Medico [Fri, 4 Apr 2008 04:52:21 +0000 (04:52 -0000)]
When the user has given --depclean a list of atoms to clean, pull all
installed packages into the graph (not just those traversable from system
or world) to ensure that packages can not be uninstalled unless nothing
requires them. (trunk r9698:9700)

svn path=/main/branches/2.1.2/; revision=9701

16 years agoAdd missing DepPriority instances to the graph so that the --buildpkgonly
Zac Medico [Fri, 4 Apr 2008 00:56:20 +0000 (00:56 -0000)]
Add missing DepPriority instances to the graph so that the --buildpkgonly
hasallzeros() calculation works correctly. (trunk r9695:9697)

svn path=/main/branches/2.1.2/; revision=9698

16 years agoFix package selection logic so that it always properly finds the highest
Zac Medico [Thu, 3 Apr 2008 22:35:32 +0000 (22:35 -0000)]
Fix package selection logic so that it always properly finds the highest
available version in a new slot even though the graph already contains
a matching version in a lower slot. (trunk r9693)

svn path=/main/branches/2.1.2/; revision=9694

16 years agoAdd missing str.upper() call for PORTAGE_FETCH_RESUME_MIN_SIZE. (trunk r9691)
Zac Medico [Thu, 3 Apr 2008 20:04:29 +0000 (20:04 -0000)]
Add missing str.upper() call for PORTAGE_FETCH_RESUME_MIN_SIZE. (trunk r9691)

svn path=/main/branches/2.1.2/; revision=9692

16 years agoIf PORTAGE_FETCH_RESUME_MIN_SIZE is undefined or empty, silently use
Zac Medico [Thu, 3 Apr 2008 19:59:57 +0000 (19:59 -0000)]
If PORTAGE_FETCH_RESUME_MIN_SIZE is undefined or empty, silently use
the default. (trunk r9689)

svn path=/main/branches/2.1.2/; revision=9690

16 years agoImplement a PORTAGE_FETCH_RESUME_MIN_SIZE variable that is useful for
Zac Medico [Thu, 3 Apr 2008 19:28:13 +0000 (19:28 -0000)]
Implement a PORTAGE_FETCH_RESUME_MIN_SIZE variable that is useful for
helping to ensure that small garbage files such as html 404 pages are
properly discarded. (trunk r9687)

svn path=/main/branches/2.1.2/; revision=9688

16 years agoFor old-style virtuals, we need to repeat the package.provided
Zac Medico [Thu, 3 Apr 2008 17:02:19 +0000 (17:02 -0000)]
For old-style virtuals, we need to repeat the package.provided
check against the selected package. (trunk r9685)

svn path=/main/branches/2.1.2/; revision=9686

16 years agoIn cpv_expand(), if the virtuals file contains a versioned atom (like
Zac Medico [Thu, 3 Apr 2008 01:18:35 +0000 (01:18 -0000)]
In cpv_expand(), if the virtuals file contains a versioned atom (like
the base profile currently has for virtual/pam), properly remove the
operator and version from the atom before it is passed into
dbapi.cp_list(). (trunk r9683)

svn path=/main/branches/2.1.2/; revision=9684

16 years agoUse Package.cp instead of dep_getkey(cpv). (trunk r9679:9681)
Zac Medico [Wed, 2 Apr 2008 19:29:27 +0000 (19:29 -0000)]
Use Package.cp instead of dep_getkey(cpv). (trunk r9679:9681)

svn path=/main/branches/2.1.2/; revision=9682

16 years agoHandle a potential FileNotFound exception in new_protect_filename() when
Zac Medico [Wed, 2 Apr 2008 18:13:08 +0000 (18:13 -0000)]
Handle a potential FileNotFound exception in new_protect_filename() when
the last ._cfg* file happens to be a broken symlink. Thanks to bonsaikitten
for reporting. (trunk r9676:9678)

svn path=/main/branches/2.1.2/; revision=9679

16 years agoRemove the digraph._parent_child_digraph since it's no longer needed. It's
Zac Medico [Tue, 1 Apr 2008 23:37:34 +0000 (23:37 -0000)]
Remove the digraph._parent_child_digraph since it's no longer needed. It's
main purpose was to track PDEPEND relationships but those are handled just
like the other deps now. (trunk r9675)

svn path=/main/branches/2.1.2/; revision=9676

16 years agoUse pkgcmp() instead of == and best() for correctness in case of implicit
Zac Medico [Tue, 1 Apr 2008 21:58:58 +0000 (21:58 -0000)]
Use pkgcmp() instead of == and best() for correctness in case of implicit
-r0. (trunk r9672)

svn path=/main/branches/2.1.2/; revision=9673

16 years agoRemove some boolean logic that is obsolete now that the "selective" parameter
Zac Medico [Tue, 1 Apr 2008 18:45:04 +0000 (18:45 -0000)]
Remove some boolean logic that is obsolete now that the "selective" parameter
is passed into dep_zapdeps(). (trunk r9669)

svn path=/main/branches/2.1.2/; revision=9671

16 years agoExploid ascending order returned from dbapi.match() calls to avoid the need
Zac Medico [Tue, 1 Apr 2008 18:43:42 +0000 (18:43 -0000)]
Exploid ascending order returned from dbapi.match() calls to avoid the need
to call best(). (trunk r9665)

svn path=/main/branches/2.1.2/; revision=9670

16 years agoRemove references to ${O} in dyn_spec() since antarus
Zac Medico [Tue, 1 Apr 2008 16:59:56 +0000 (16:59 -0000)]
Remove references to ${O} in dyn_spec() since antarus
made that variable mutable. (trunk r8444)

svn path=/main/branches/2.1.2/; revision=9664

16 years agoelevate the importance of 64bit clean code on 64bit hosts (trunk r5656)
Zac Medico [Tue, 1 Apr 2008 16:57:08 +0000 (16:57 -0000)]
elevate the importance of 64bit clean code on 64bit hosts (trunk r5656)

svn path=/main/branches/2.1.2/; revision=9663

16 years agoWhen identifying a sys-apps/portage node, compare category too (not just
Zac Medico [Tue, 1 Apr 2008 06:00:39 +0000 (06:00 -0000)]
When identifying a sys-apps/portage node, compare category too (not just
"portage". (trunk r9660)

svn path=/main/branches/2.1.2/; revision=9661

16 years agoBug #215308 - Cache the paths of known bad manifests to ensure that the
Zac Medico [Tue, 1 Apr 2008 00:36:52 +0000 (00:36 -0000)]
Bug #215308 - Cache the paths of known bad manifests to ensure that the
same broken manifest is never checked twice. (trunk r9658)

svn path=/main/branches/2.1.2/; revision=9659

16 years agoWhen deps are forced to be satisfied by installed packages due to masking
Zac Medico [Mon, 31 Mar 2008 23:53:14 +0000 (23:53 -0000)]
When deps are forced to be satisfied by installed packages due to masking
or unavailability, only tolerate it when the atom comes from either the
system or world set since otherwise it's a good idea to bail so that the
user can correct the problem. (trunk r9656)

svn path=/main/branches/2.1.2/; revision=9657

16 years agoIn the package selection loop, move the installed package rejection
Zac Medico [Mon, 31 Mar 2008 23:14:42 +0000 (23:14 -0000)]
In the package selection loop, move the installed package rejection
code as early as possible. (trunk r9654)

svn path=/main/branches/2.1.2/; revision=9655

16 years agoFix package selection logic to always properly reject the installed package
Zac Medico [Mon, 31 Mar 2008 21:08:10 +0000 (21:08 -0000)]
Fix package selection logic to always properly reject the installed package
when another is available and the user wants to reinstall. (trunk r9652)

svn path=/main/branches/2.1.2/; revision=9653

16 years agoRemove some redundant and obsolete code for warning about installed
Zac Medico [Mon, 31 Mar 2008 20:26:26 +0000 (20:26 -0000)]
Remove some redundant and obsolete code for warning about installed
packages pulled into the graph. (trunk r9650)

svn path=/main/branches/2.1.2/; revision=9651

16 years agoMake depgraph creation more tolerant of missing or masked packages when
Zac Medico [Mon, 31 Mar 2008 20:06:10 +0000 (20:06 -0000)]
Make depgraph creation more tolerant of missing or masked packages when
the relevant deps are satisfied by installed packages. This kind of
friendliness is especially desired in cases such as --emptytree where
it might not be possible to reinstall every single package. Also, it
allows multislot atoms from the world file (that are necessary to prevent
them from being removed by depclean) trigger warning messages while
still allowing a --emptytree to proceed. (trunk r9643:9648)

svn path=/main/branches/2.1.2/; revision=9649

16 years agoPass Package instances into visible() so that the package instance can
Zac Medico [Mon, 31 Mar 2008 18:45:12 +0000 (18:45 -0000)]
Pass Package instances into visible() so that the package instance can
be used to cache relevant visibility information such as whether or not
the package is corrupt or otherwise invalid. (trunk r9643)

svn path=/main/branches/2.1.2/; revision=9647

16 years agoFix broken unsatisfied deps handling that triggers false positives in
Zac Medico [Sun, 30 Mar 2008 23:51:26 +0000 (23:51 -0000)]
Fix broken unsatisfied deps handling that triggers false positives in
a case like virtual/pager which is both a new-style and old-style
virtual.

svn path=/main/branches/2.1.2/; revision=9642

16 years agoFix broken variable reference that triggers an UnboundLocalError.
Zac Medico [Sun, 30 Mar 2008 22:29:42 +0000 (22:29 -0000)]
Fix broken variable reference that triggers an UnboundLocalError.

svn path=/main/branches/2.1.2/; revision=9641

16 years agoWhen dblink.treewalk() queries for other packages in the same slot, filter
Zac Medico [Sun, 30 Mar 2008 22:08:31 +0000 (22:08 -0000)]
When dblink.treewalk() queries for other packages in the same slot, filter
out old-style virtual matches since they are not desired. (trunk r9637)

svn path=/main/branches/2.1.2/; revision=9640

16 years agoMake sure the all resume lists are deleted when a stale one is encountered.
Zac Medico [Sun, 30 Mar 2008 22:05:04 +0000 (22:05 -0000)]
Make sure the all resume lists are deleted when a stale one is encountered.
(trunk r9636)

svn path=/main/branches/2.1.2/; revision=9639

16 years agoPrevent premature expansion of old-style virtuals
Zac Medico [Sun, 30 Mar 2008 22:03:56 +0000 (22:03 -0000)]
Prevent premature expansion of old-style virtuals
inside depgraph.select_files(). (trunk r8306)

svn path=/main/branches/2.1.2/; revision=9638

16 years ago* Fix broken return value for doins.
Zac Medico [Sun, 30 Mar 2008 19:51:53 +0000 (19:51 -0000)]
* Fix broken return value for doins.
* Make newins cleanup temp files after itself.
(trunk r9634)

svn path=/main/branches/2.1.2/; revision=9635

16 years agoFix typos. Thanks to Arfrever Frehtes Taifersar Arahesis
Zac Medico [Sun, 30 Mar 2008 19:24:11 +0000 (19:24 -0000)]
Fix typos. Thanks to Arfrever Frehtes Taifersar Arahesis
<Arfrever.FTA@GMail.Com>. (trunk r9632)

svn path=/main/branches/2.1.2/; revision=9633

16 years agoFix display code that can triger a 'Invalid category' exception when it
Zac Medico [Sun, 30 Mar 2008 10:01:18 +0000 (10:01 -0000)]
Fix display code that can triger a 'Invalid category' exception when it
is given a blocker. It's only supposed to execute for normal packages.
(trunk r9630)

svn path=/main/branches/2.1.2/; revision=9631

16 years agoMake doins clean up it's own temp files. This solves an odd issue in
Zac Medico [Sun, 30 Mar 2008 09:18:34 +0000 (09:18 -0000)]
Make doins clean up it's own temp files. This solves an odd issue in
dyn_package() when portage 2.1.x is installing portage-2.2 and temp
python module files from doins are imported instead of the expected
ones. (trunk r9628)

svn path=/main/branches/2.1.2/; revision=9629

16 years agoFix namespace typo.
Zac Medico [Sun, 30 Mar 2008 07:24:05 +0000 (07:24 -0000)]
Fix namespace typo.

svn path=/main/branches/2.1.2/; revision=9627

16 years agoBug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.
Zac Medico [Sun, 30 Mar 2008 07:20:59 +0000 (07:20 -0000)]
Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.
(trunk r9625)

svn path=/main/branches/2.1.2/; revision=9626

16 years agoBug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.
Zac Medico [Sun, 30 Mar 2008 06:57:33 +0000 (06:57 -0000)]
Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.
(trunk r9623)

svn path=/main/branches/2.1.2/; revision=9624

16 years agoMove the AUTOCLEAN code into dblink.treewalk since it's already partially
Zac Medico [Sun, 30 Mar 2008 06:33:22 +0000 (06:33 -0000)]
Move the AUTOCLEAN code into dblink.treewalk since it's already partially
supported there anyway (for replacement of identical cpv). This has the
benefit of guaranteeing that the order of installation and removal phases
is always the same. (trunk r9621)

svn path=/main/branches/2.1.2/; revision=9622

16 years agoDo not allow commit mode together with the --without-mask options.
Zac Medico [Sun, 30 Mar 2008 05:52:04 +0000 (05:52 -0000)]
Do not allow commit mode together with the --without-mask options.
(trunk r9619)

svn path=/main/branches/2.1.2/; revision=9620

16 years agoFix broke package.provided handling.
Zac Medico [Sun, 30 Mar 2008 04:58:21 +0000 (04:58 -0000)]
Fix broke package.provided handling.

svn path=/main/branches/2.1.2/; revision=9618

16 years ago* Make code a bit less prone to potentially hidden TypeError like bugs.
Zac Medico [Sun, 30 Mar 2008 04:26:32 +0000 (04:26 -0000)]
* Make code a bit less prone to potentially hidden TypeError like bugs.
* Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.
(trunk r9614:9616)

svn path=/main/branches/2.1.2/; revision=9617

16 years agoUse enumerate() to iterate over an array. (trunk r9613)
Zac Medico [Sun, 30 Mar 2008 03:42:59 +0000 (03:42 -0000)]
Use enumerate() to iterate over an array. (trunk r9613)

svn path=/main/branches/2.1.2/; revision=9614

16 years agoFix a broken reference to the DependencyArg class.
Zac Medico [Sun, 30 Mar 2008 03:25:27 +0000 (03:25 -0000)]
Fix a broken reference to the DependencyArg class.

svn path=/main/branches/2.1.2/; revision=9612

16 years agoFor bugs #197810 and #215308, pass the depgraph's "selective" parameter
Zac Medico [Sun, 30 Mar 2008 00:55:46 +0000 (00:55 -0000)]
For bugs #197810 and #215308, pass the depgraph's "selective" parameter
down into dep_check() for better atom preference selection when handling
virtuals and other disjunctive || dependencies.

svn path=/main/branches/2.1.2/; revision=9610

16 years agoWhen dyn_unpack() automatically cleans ${WORKDIR}, also remove things
Zac Medico [Sun, 30 Mar 2008 00:31:01 +0000 (00:31 -0000)]
When dyn_unpack() automatically cleans ${WORKDIR}, also remove things
like .unpacked and .compiled so that the state is consistent.
(trunk r9606)

svn path=/main/branches/2.1.2/; revision=9609

16 years agoBug #215308 - Simplify the greedy atoms logic so that it behaves more
Zac Medico [Sun, 30 Mar 2008 00:28:35 +0000 (00:28 -0000)]
Bug #215308 - Simplify the greedy atoms logic so that it behaves more
like StaticFileSet and won't pull in lower slots. (trunk r9607)

svn path=/main/branches/2.1.2/; revision=9608

16 years agoWhen all available ebuilds are masked, avoid producing warning message when
Zac Medico [Sat, 29 Mar 2008 21:15:28 +0000 (21:15 -0000)]
When all available ebuilds are masked, avoid producing warning message when
the package does not need to be reinstalled and the installed version is not
masked. (trunk r9457)

svn path=/main/branches/2.1.2/; revision=9605

16 years agoFix broken --onlydeps recursion logic.
Zac Medico [Sat, 29 Mar 2008 20:29:07 +0000 (20:29 -0000)]
Fix broken --onlydeps recursion logic.

svn path=/main/branches/2.1.2/; revision=9604

16 years agoMerge part of the package selection code from trunk.
Zac Medico [Sat, 29 Mar 2008 10:22:57 +0000 (10:22 -0000)]
Merge part of the package selection code from trunk.

svn path=/main/branches/2.1.2/; revision=9603

16 years agoBug #214691 - Move display of depgraph problems from xcreate() to
Zac Medico [Sat, 29 Mar 2008 07:55:08 +0000 (07:55 -0000)]
Bug #214691 - Move display of depgraph problems from xcreate() to
display_problems() so that they are shown _after_ the merge list
where they are easier/likely to be seen by the user.

svn path=/main/branches/2.1.2/; revision=9602

16 years agoWhen a resume list contains packages that are no longer available,
Zac Medico [Sat, 29 Mar 2008 07:08:00 +0000 (07:08 -0000)]
When a resume list contains packages that are no longer available,
automatically delete it. (trunk r9589)

svn path=/main/branches/2.1.2/; revision=9601

16 years agoBug #215240 - Use an alarm signal to implement a 60 second timeout in
Zac Medico [Sat, 29 Mar 2008 07:06:28 +0000 (07:06 -0000)]
Bug #215240 - Use an alarm signal to implement a 60 second timeout in
finalize() in case send_mail() blocks indefinitely. (trunk r9588)

svn path=/main/branches/2.1.2/; revision=9600

16 years agoAdd a new "ebuild.patches" check for the PATCHES variable that's used by
Zac Medico [Sat, 29 Mar 2008 07:03:05 +0000 (07:03 -0000)]
Add a new "ebuild.patches" check for the PATCHES variable that's used by
base_src_unpack() from base.eclass. This generates a warning if the variable
is not defined as an array, since this is required for white space safety.
Thanks to Betelgeuse for the initial patch. (trunk r9587)

svn path=/main/branches/2.1.2/; revision=9599

16 years agoDon't trigger the 'java.eclassesnotused' on blocker atoms. (trunk r9586)
Zac Medico [Sat, 29 Mar 2008 06:56:27 +0000 (06:56 -0000)]
Don't trigger the 'java.eclassesnotused' on blocker atoms. (trunk r9586)

svn path=/main/branches/2.1.2/; revision=9598

16 years agoAdd a new "java.eclassesnotused" check for cases where DEPEND contains
Zac Medico [Sat, 29 Mar 2008 06:54:53 +0000 (06:54 -0000)]
Add a new "java.eclassesnotused" check for cases where DEPEND contains
virtual/jdk and and the appropriate java eclass has not been inherited
(a violation of the java team's policy). Thanks to Betelgeuse for the
initial patch. (trunk r9585)

svn path=/main/branches/2.1.2/; revision=9597

16 years agoBug #214691 - Move the "slot collision" display so that it is shown after
Zac Medico [Sat, 29 Mar 2008 06:49:55 +0000 (06:49 -0000)]
Bug #214691 - Move the "slot collision" display so that it is shown after
the merge list where it is most likely to be seen (along with other depgraph
problems). (trunk r9584)

svn path=/main/branches/2.1.2/; revision=9596

16 years agoBug #214619 - Run dyn_package() and preinst_mask() from ${T} instead of
Zac Medico [Sat, 29 Mar 2008 05:55:49 +0000 (05:55 -0000)]
Bug #214619 - Run dyn_package() and preinst_mask() from ${T} instead of
${D} in order to avoid leaving gmon.out files in ${D} in case any tools
were built with -pf in CFLAGS. Also, call preinst_mask() after all other
functions so that INSTALL_MASK can be used to wipe out any gmon.out files
created during previous functions. (trunk r9592)

svn path=/main/branches/2.1.2/; revision=9595

16 years agoAdd a note about PKG_INSTALL_MASK. (trunk r9591)
Zac Medico [Sat, 29 Mar 2008 05:53:07 +0000 (05:53 -0000)]
Add a note about PKG_INSTALL_MASK. (trunk r9591)

svn path=/main/branches/2.1.2/; revision=9594

16 years agoFix quoting for ${root} in install_mask(). (trunk r9590)
Zac Medico [Sat, 29 Mar 2008 05:52:34 +0000 (05:52 -0000)]
Fix quoting for ${root} in install_mask(). (trunk r9590)

svn path=/main/branches/2.1.2/; revision=9593

16 years agoRemove the killparent() function and associated SIGINT trap since this
Zac Medico [Fri, 28 Mar 2008 20:29:24 +0000 (20:29 -0000)]
Remove the killparent() function and associated SIGINT trap since this
should already be handled on the python side and it won't work with
dropped privileges anyway. (trunk r9327)

svn path=/main/branches/2.1.2/; revision=9581

16 years agoBug #214619 - Add support for a PORTAGE_BINPKG_TAR_OPTS variable that
Zac Medico [Fri, 28 Mar 2008 13:11:58 +0000 (13:11 -0000)]
Bug #214619 - Add support for a PORTAGE_BINPKG_TAR_OPTS variable that
allows the user to specify tar command options for binary package
creation. (trunk r9528)

svn path=/main/branches/2.1.2/; revision=9580

16 years agoMake dyn_clean() consistent wrt removal of ${PORTAGE_BUILDDIR}/image and
Zac Medico [Fri, 28 Mar 2008 13:08:45 +0000 (13:08 -0000)]
Make dyn_clean() consistent wrt removal of ${PORTAGE_BUILDDIR}/image and
${PORTAGE_BUILDDIR}/.installed since otherwise with FEATURES=keepwork
dyn_install() will not call src_install() as necessary to repopulate
${PORTAGE_BUILDDIR}/image (resulting in install_qa_check failure due
to absence of ${PORTAGE_BUILDDIR}/image). (trunk r9527)

svn path=/main/branches/2.1.2/; revision=9579

16 years agoBug #213698 - Make FEAUTURES=keepwork and keeptemp preserve ${T}/environment
Zac Medico [Fri, 28 Mar 2008 13:07:53 +0000 (13:07 -0000)]
Bug #213698 - Make FEAUTURES=keepwork and keeptemp preserve ${T}/environment
since it may contain essential state. (trunk r9526)

svn path=/main/branches/2.1.2/; revision=9578

16 years agoBug #213629 - Use EAPI.incompatible in cases where EAPI=0 and a default
Zac Medico [Fri, 28 Mar 2008 13:07:05 +0000 (13:07 -0000)]
Bug #213629 - Use EAPI.incompatible in cases where EAPI=0 and a default
IUSE is encountered.

svn path=/main/branches/2.1.2/; revision=9577

16 years agoBug #213629 - Create an EAPI.incompatible category and use it in cases
Zac Medico [Fri, 28 Mar 2008 13:05:40 +0000 (13:05 -0000)]
Bug #213629 - Create an EAPI.incompatible category and use it in cases
where EAPI=0 and a slot atom is encountered. (trunk r9524)

svn path=/main/branches/2.1.2/; revision=9576

16 years agoBug #209418 - Add a new KEYWORDS.dropped check that compares keywords
Zac Medico [Fri, 28 Mar 2008 13:02:47 +0000 (13:02 -0000)]
Bug #209418 - Add a new KEYWORDS.dropped check that compares keywords
against the keywords of earlier ebuild versions within a slot. (trunk r9522)

svn path=/main/branches/2.1.2/; revision=9575

16 years agoBug #212509 - Display a note about the --without-mask option when there
Zac Medico [Fri, 28 Mar 2008 12:59:23 +0000 (12:59 -0000)]
Bug #212509 - Display a note about the --without-mask option when there
are masked packages. (trunk r9521)

svn path=/main/branches/2.1.2/; revision=9574

16 years agoBug #212509 - Implement a new --without-mask option that causes repoman to
Zac Medico [Fri, 28 Mar 2008 12:55:47 +0000 (12:55 -0000)]
Bug #212509 - Implement a new --without-mask option that causes repoman to
behave as if there are no package.mask entries. (trunk r9520)

svn path=/main/branches/2.1.2/; revision=9573

16 years agoBug #214879 - Fix FEATURES=-strict behavior so that distfiles digests are
Zac Medico [Fri, 28 Mar 2008 12:49:25 +0000 (12:49 -0000)]
Bug #214879 - Fix FEATURES=-strict behavior so that distfiles digests are
always checked. (trunk r9519)

svn path=/main/branches/2.1.2/; revision=9572

16 years agoBug #214499 - When compiler flags are unset, many packages will substitute
Zac Medico [Fri, 28 Mar 2008 12:44:47 +0000 (12:44 -0000)]
Bug #214499 - When compiler flags are unset, many packages will substitute
their own implicit flags. For uniformity, use an empty string as the default.
(trunk r9511)

svn path=/main/branches/2.1.2/; revision=9571

16 years agoSupport ${HOST} substitution in "From" field. Thanks to wschlich.
Zac Medico [Fri, 28 Mar 2008 12:43:12 +0000 (12:43 -0000)]
Support ${HOST} substitution in "From" field. Thanks to wschlich.
(trunk r9510)

svn path=/main/branches/2.1.2/; revision=9570

16 years agoBug #212621 - Make the EbuildQuote check do quoting validation for misc
Zac Medico [Fri, 28 Mar 2008 12:41:23 +0000 (12:41 -0000)]
Bug #212621 - Make the EbuildQuote check do quoting validation for misc
variables from games.eclass. (trunk r9507)

svn path=/main/branches/2.1.2/; revision=9569

16 years agoBug #211294 - Make repoman bail out if arch.list contains unrecognized
Zac Medico [Fri, 28 Mar 2008 12:39:35 +0000 (12:39 -0000)]
Bug #211294 - Make repoman bail out if arch.list contains unrecognized
lines since we don't want people to commit with old versions of portage
that don't support the current arch.list format. (trunk r9504)

svn path=/main/branches/2.1.2/; revision=9568

16 years agoFix quoting. (trunk r9489)
Zac Medico [Fri, 28 Mar 2008 12:36:43 +0000 (12:36 -0000)]
Fix quoting. (trunk r9489)

svn path=/main/branches/2.1.2/; revision=9567

16 years agodisplay versions of other slots for new-slot installs (bug #213790)
Zac Medico [Fri, 28 Mar 2008 12:36:04 +0000 (12:36 -0000)]
display versions of other slots for new-slot installs (bug #213790)
(trunk r9488)

svn path=/main/branches/2.1.2/; revision=9566

16 years agoStrip trailing slashes from directory paths if necessary. (trunk r9487)
Zac Medico [Fri, 28 Mar 2008 12:31:37 +0000 (12:31 -0000)]
Strip trailing slashes from directory paths if necessary. (trunk r9487)

svn path=/main/branches/2.1.2/; revision=9565

16 years agoBug #210690 - Fix --help output to show the leading slash on the path to
Zac Medico [Fri, 28 Mar 2008 12:30:55 +0000 (12:30 -0000)]
Bug #210690 - Fix --help output to show the leading slash on the path to
the world file. (trunk r9486)

svn path=/main/branches/2.1.2/; revision=9564

16 years agoBug #210575 - Optimize doins -r so that it doesn't call itself recursively,
Zac Medico [Fri, 28 Mar 2008 12:29:46 +0000 (12:29 -0000)]
Bug #210575 - Optimize doins -r so that it doesn't call itself recursively,
since it's faster to handle the recursion internally. Thanks to Benedikt
Böhm <hollow@gentoo.org> for the initial patch. (trunk r9485)

svn path=/main/branches/2.1.2/; revision=9563

16 years agoOnly show the eqawarn from bug #149745 when nothing is found to install. Also,
Zac Medico [Fri, 28 Mar 2008 12:28:25 +0000 (12:28 -0000)]
Only show the eqawarn from bug #149745 when nothing is found to install. Also,
exit successfully unless nothing is found to install. (trunk r9484)

svn path=/main/branches/2.1.2/; revision=9562

16 years agoBug #139023 - When the --digest option is enabled, advise the user that
Zac Medico [Fri, 28 Mar 2008 12:23:28 +0000 (12:23 -0000)]
Bug #139023 - When the --digest option is enabled, advise the user that
`repoman manifest` is the preferred way to generate manifests.
(trunk r9482)

svn path=/main/branches/2.1.2/; revision=9561

16 years agoadd @ to the list of invalid atom chars so sets with prefix aren't
Zac Medico [Fri, 28 Mar 2008 12:20:03 +0000 (12:20 -0000)]
add @ to the list of invalid atom chars so sets with prefix aren't
considered as atoms accidentally (trunk r9479)

svn path=/main/branches/2.1.2/; revision=9560

16 years agos/add/append/ (missing from r9530 for bug #201045)
Zac Medico [Fri, 28 Mar 2008 12:18:18 +0000 (12:18 -0000)]
s/add/append/ (missing from r9530 for bug #201045)

svn path=/main/branches/2.1.2/; revision=9559

16 years agoBug #149745 - Generate an eqawarn message if dohtml is called on a directory
Zac Medico [Fri, 28 Mar 2008 12:14:10 +0000 (12:14 -0000)]
Bug #149745 - Generate an eqawarn message if dohtml is called on a directory
without the recursive option. Thanks to brad walker <bradmwalker@cableone.net>
for reporting. (trunk r9476)

svn path=/main/branches/2.1.2/; revision=9558