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

16 years agoBug #174634 - Fix ebuild 'digest' and 'manifest' behave 100% identically and
Zac Medico [Fri, 28 Mar 2008 12:10:37 +0000 (12:10 -0000)]
Bug #174634 - Fix ebuild 'digest' and 'manifest' behave 100% identically and
update the docs to reflect this. (trunk r9475)

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

16 years agoWhen in strict mode, make paren_reduce() detect missing whitespace around
Zac Medico [Fri, 28 Mar 2008 12:08:27 +0000 (12:08 -0000)]
When in strict mode, make paren_reduce() detect missing whitespace around
parenthesis tokens and raise an InvalidDependString exception. Strict mode
is not enabled when handling installed packages, so this will only affect
repoman and packages that haven't been installed yet. Thanks to zlin for
reporting. (trunk r9471)

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

16 years agoavoid importing portage to improve performance (trunk r9470)
Zac Medico [Fri, 28 Mar 2008 12:05:56 +0000 (12:05 -0000)]
avoid importing portage to improve performance (trunk r9470)

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

16 years agoBug #42456 - When a checksum failure occurs during fetch, use a new
Zac Medico [Fri, 28 Mar 2008 12:03:21 +0000 (12:03 -0000)]
Bug #42456 - When a checksum failure occurs during fetch, use a new
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS config variable to control how
many mirrors should be tried before aborting the download. This type
of behavior used to be enabled only in --fetchonly mode but now
it's enabled for all fetch() calls. (trunk r9462:9466)

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

16 years ago* Optimize parallel-fetch to avoid redundant checksum verification.
Zac Medico [Fri, 28 Mar 2008 11:59:23 +0000 (11:59 -0000)]
* Optimize parallel-fetch to avoid redundant checksum verification.
* Add parallel-fetch to the default FEATURES since it is more efficient now.
(trunk r9462)

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

16 years agoMake strip_empty() return a nedw list instead of working in-place. Thanks to
Zac Medico [Fri, 28 Mar 2008 11:56:50 +0000 (11:56 -0000)]
Make strip_empty() return a nedw list instead of working in-place. Thanks to
René Neumann <rene.neumann@necoro.net> for the suggestion. (trunk r9460)

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

16 years agoMake --prune and --depclean operate with missing dependencies when only
Zac Medico [Fri, 28 Mar 2008 11:51:54 +0000 (11:51 -0000)]
Make --prune and --depclean operate with missing dependencies when only
asked to remove specific packages since it's relatively safe in this case.
(trunk r9451)

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

16 years agoUse os.environ["SANDBOX_ON"] = "0" to make portageq exempt from sandbox for
Zac Medico [Fri, 28 Mar 2008 11:50:48 +0000 (11:50 -0000)]
Use os.environ["SANDBOX_ON"] = "0" to make portageq exempt from sandbox for
things like writing metadata cache. Thanks to ferringb for the suggestion.
(trunk r9448)

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

16 years agoAs requested by wolf31o2, use the ROOT setting from make.conf as long as
Zac Medico [Fri, 28 Mar 2008 11:47:59 +0000 (11:47 -0000)]
As requested by wolf31o2, use the ROOT setting from make.conf as long as
it's not overridden by the calling environment. (trunk r9439)

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

16 years agoRemove redundant CUSTOM_PROFILE_PATH from the PROFILE_PATHS variable so
Zac Medico [Fri, 28 Mar 2008 11:46:29 +0000 (11:46 -0000)]
Remove redundant CUSTOM_PROFILE_PATH from the PROFILE_PATHS variable so
that /etc/portage/profile/profile.bashrc will only be sourced once if
it exists. (trunk r9435)

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

16 years agoBug #97776 - Tell rpmbuild to clean it's working files after completion.
Zac Medico [Fri, 28 Mar 2008 11:44:39 +0000 (11:44 -0000)]
Bug #97776 - Tell rpmbuild to clean it's working files after completion.
(trunk r9428)

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

16 years agofix message on ValueError to not sound like crap (trunk r9427)
Zac Medico [Fri, 28 Mar 2008 11:42:44 +0000 (11:42 -0000)]
fix message on ValueError to not sound like crap (trunk r9427)

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

16 years agoBug #212080 - Don't list files as being merged when they are ignored due
Zac Medico [Fri, 28 Mar 2008 11:41:36 +0000 (11:41 -0000)]
Bug #212080 - Don't list files as being merged when they are ignored due
to confmem. (trunk r9426)

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

16 years agoBug #212152 - Check available space in DISTDIR before trying to
Zac Medico [Fri, 28 Mar 2008 11:38:34 +0000 (11:38 -0000)]
Bug #212152 - Check available space in DISTDIR before trying to
fetch/copy a file. (trunk r9425, r9502, and 9504:9506)

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

16 years agoQuote the file path and uri inside FETCHCOMMAND and RESUMECOMMAND. Thanks
Zac Medico [Fri, 28 Mar 2008 11:32:06 +0000 (11:32 -0000)]
Quote the file path and uri inside FETCHCOMMAND and RESUMECOMMAND. Thanks
to igli for suggesting. (trunk r9418)

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

16 years agoBug #200385 - Stack use flags from package.*use* files for multiple
Zac Medico [Fri, 28 Mar 2008 11:30:25 +0000 (11:30 -0000)]
Bug #200385 - Stack use flags from package.*use* files for multiple
matching atoms. (trunk r9408 and r9409:9415)

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

16 years agoseparate different messages with newlines in post-emerge output
Zac Medico [Fri, 28 Mar 2008 11:16:33 +0000 (11:16 -0000)]
separate different messages with newlines in post-emerge output
(trunk r9394)

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

16 years agoBug #211554 - Replace references to config["USE"] with references to
Zac Medico [Fri, 28 Mar 2008 11:11:12 +0000 (11:11 -0000)]
Bug #211554 - Replace references to config["USE"] with references to
config["PORTAGE_USE"] (which is filtered for intersection with IUSE)
so that dependency calculations at installation time are consistent
with those at depclean time. (trunk r9391:9393)

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

16 years agoMerge emerge-webrsync from trunk for bugs #210945 and #130039.
Zac Medico [Fri, 28 Mar 2008 10:21:22 +0000 (10:21 -0000)]
Merge emerge-webrsync from trunk for bugs #210945 and #130039.

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

16 years agoRevert portdbapi category auto-detection code since it's not really needed
Zac Medico [Fri, 28 Mar 2008 09:46:43 +0000 (09:46 -0000)]
Revert portdbapi category auto-detection code since it's not really needed
and can cause problems if we need to add new non-category directories in
the future. We only really need the category auto-detection for bindbapi and
vardbapi anyway. (trunk r9368)

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

16 years agoAdd support for file paths as arguments to emerge. If an argument starts
Zac Medico [Fri, 28 Mar 2008 09:43:03 +0000 (09:43 -0000)]
Add support for file paths as arguments to emerge. If an argument starts
with / and it's not recognized as a tbz2 or ebuild then we try to find
and owner in the vdb and generate a slot atom from it. Thanks to solar
for the suggestion. (trunk r9367)

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

16 years agoOptimize dblink.isowner() to use fewer stat calls by doing a basename
Zac Medico [Fri, 28 Mar 2008 09:32:04 +0000 (09:32 -0000)]
Optimize dblink.isowner() to use fewer stat calls by doing a basename
comparison to try and eliminate the file before resorting to inode
comparison. This speeds up the `portageq owners` command as well as
the search that is done when collision-protect finds a collision.
(trunk r9363)

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

16 years agoBug #210667 - In the circular dependency display, drop PDEPEND (aka
Zac Medico [Fri, 28 Mar 2008 09:30:19 +0000 (09:30 -0000)]
Bug #210667 - In the circular dependency display, drop PDEPEND (aka
MEDIUM_SOFT) from the graph so there's less noise. (trunk r9362)

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

16 years agoMake stack_dicts() treat an empty variable assignment just like a non-empty
Zac Medico [Fri, 28 Mar 2008 09:24:10 +0000 (09:24 -0000)]
Make stack_dicts() treat an empty variable assignment just like a non-empty
assignment. This allows the profile to set and empty variable in make.defaults
and have it override a non-empty value as one would expect. (trunk r9361)

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

16 years agoBug #210449 - Reset exeinto(), docinto(), insinto(), and into() state
Zac Medico [Fri, 28 Mar 2008 09:21:51 +0000 (09:21 -0000)]
Bug #210449 - Reset exeinto(), docinto(), insinto(), and into() state
variables in case the user is running the install phase multiple times
consecutively via the ebuild command. (trunk r9357)

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

16 years agoBug #201045 - Use a topological sort to create an unmerge order such that
Zac Medico [Fri, 28 Mar 2008 09:12:49 +0000 (09:12 -0000)]
Bug #201045 - Use a topological sort to create an unmerge order such that
each package is unmerged before it's dependencies. This is necessary to
avoid breaking things that may need to run during pkg_prerm or pkg_postrm
phases. (trunk r9337:9341, 9343, 9344:9347, 9350, 9385, and 9483)

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

16 years agoRemove IUSE.invalid from qawarnings since there's no reason for
Zac Medico [Fri, 28 Mar 2008 08:44:36 +0000 (08:44 -0000)]
Remove IUSE.invalid from qawarnings since there's no reason for
it not to be fatal. Thanks to Betelgeuse. (trunk r9344)

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

16 years agoBug #212882
Zac Medico [Thu, 27 Mar 2008 04:50:32 +0000 (04:50 -0000)]
Bug #212882

- For compatibility with ENOENT exceptions raised from
fstat calls with CIFS, wrap fstat calls with an appropriate exception
handler. (trunk r9474)

- Fix lockfile() to handle errno.EACCES raised from the fcntl
call since the spec says that it's equivalent to EAGAIN and it appears that
CIFS returns EACCES in this case. (trunk r9458)

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

16 years agoMake --noreplace take precedence over --newuse, as suggested by wolf31o2.
Zac Medico [Thu, 27 Mar 2008 04:41:17 +0000 (04:41 -0000)]
Make --noreplace take precedence over --newuse, as suggested by wolf31o2.
(trunk r9512:9514)

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

16 years agorevert previous commit since it had portage_locks stuff mixed in
Zac Medico [Thu, 27 Mar 2008 04:35:36 +0000 (04:35 -0000)]
revert previous commit since it had portage_locks stuff mixed in

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

16 years agoMake --noreplace take precedence over --newuse, as suggested by wolf31o2.
Zac Medico [Thu, 27 Mar 2008 04:33:23 +0000 (04:33 -0000)]
Make --noreplace take precedence over --newuse, as suggested by wolf31o2.
(trunk r9512:9514)

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

16 years agoSync the fixes for bug #211949 from trunk.
Zac Medico [Fri, 14 Mar 2008 18:20:49 +0000 (18:20 -0000)]
Sync the fixes for bug #211949 from trunk.

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

16 years agoWhen showing an unsatisfied dep, never include installed packages. (trunk r9360)
Zac Medico [Fri, 14 Mar 2008 17:31:55 +0000 (17:31 -0000)]
When showing an unsatisfied dep, never include installed packages. (trunk r9360)

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

16 years agoBug #211949 - Fix the regex so that it won't match the = character (equals
Zac Medico [Tue, 4 Mar 2008 04:51:54 +0000 (04:51 -0000)]
Bug #211949 - Fix the regex so that it won't match the = character (equals
sign). (trunk r9429)

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

16 years agoBug #210372 - Fix FEATURES=suidctl so that it really works again.
Zac Medico [Mon, 3 Mar 2008 19:24:05 +0000 (19:24 -0000)]
Bug #210372 - Fix FEATURES=suidctl so that it really works again.
(trunk r9423)

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

16 years agoBug #211949 - Tweak the regex so that a leading whitespace character
Zac Medico [Mon, 3 Mar 2008 10:25:40 +0000 (10:25 -0000)]
Bug #211949 - Tweak the regex so that a leading whitespace character
cannot match the required non-alphanumeric group. (trunk r9421)

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

16 years agoFix the regex for bug #211949 so that it correctly matches variable
Zac Medico [Mon, 3 Mar 2008 10:17:04 +0000 (10:17 -0000)]
Fix the regex for bug #211949 so that it correctly matches variable
names that contain more than one non-alphanumeric character. (trunk r9419)

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

16 years agoBug #211949 - As suggested by vapier, tighten the variable filter to also
Zac Medico [Sun, 2 Mar 2008 23:28:12 +0000 (23:28 -0000)]
Bug #211949 - As suggested by vapier, tighten the variable filter to also
exclude variable names that begin with a digit or that contain any
non-alphanumeric characters that are not be supported by bash. (trunk r9416)

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

16 years agoBug #211949 - Make filter_readonly_variables() remove any variables
Zac Medico [Sat, 1 Mar 2008 08:31:39 +0000 (08:31 -0000)]
Bug #211949 - Make filter_readonly_variables() remove any variables
with names containing a hyphen since bash does not allow them.
(trunk r9402)

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

16 years agoMake 'import portage' statements more tolerant to broken source statements
Zac Medico [Sat, 1 Mar 2008 00:10:37 +0000 (00:10 -0000)]
Make 'import portage' statements more tolerant to broken source statements
in make.conf since exceptions thrown during 'import portage' statements
can practically render the api unusable for api consumers. Thanks to lxnay
for the suggestion. (trunk r9400)

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

16 years agoBug #211294 - Make repoman ignore profiles labeled with anything other
Zac Medico [Wed, 27 Feb 2008 16:02:34 +0000 (16:02 -0000)]
Bug #211294 - Make repoman ignore profiles labeled with anything other
than "stable" or "dev" in profiles.desc so that we can extend it with
new labels such as "exp". (trunk r9389)

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

16 years agoBug #211365 - Use catpkgsplit() instead of pkgsplit() on the cpv in the
Zac Medico [Mon, 25 Feb 2008 23:57:54 +0000 (23:57 -0000)]
Bug #211365 - Use catpkgsplit() instead of pkgsplit() on the cpv in the
dblink constructor since otherwise weird categories containing numbers
can make pkgsplit() return None (likely related to version regex handling).

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

16 years agoBug #211067 - Make the "portdir_overlay" and "mydir" variables contain
Zac Medico [Fri, 22 Feb 2008 06:48:03 +0000 (06:48 -0000)]
Bug #211067 - Make the "portdir_overlay" and "mydir" variables contain
paths that are consistent wrt eachother regardless of any path
irregularities that can be induced by symlinks. Consistency is achieved
by regenerating one of the paths to ensure that both paths have the exact
same mapping between inodes and paths. This consistency ensures that the
path manipulations used to calculate "repolevel" will work as intended.
(trunk r9365)

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

16 years agoBug #210372 - Fix suidctl.conf parser to look for paths with a leading slash.
Zac Medico [Tue, 19 Feb 2008 05:39:40 +0000 (05:39 -0000)]
Bug #210372 - Fix suidctl.conf parser to look for paths with a leading slash.
(trunk r9355)

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

16 years agoBug #209768 - Fix --search "Size of files:" handling so that it properly v2.1.4.4
Zac Medico [Tue, 12 Feb 2008 04:15:51 +0000 (04:15 -0000)]
Bug #209768 - Fix --search "Size of files:" handling so that it properly
shows the "Unknown (missing digest)" message instead of a traceback.
(trunk r9333)

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

16 years agoBug #209538 - Disable annoying "masked by keyword" warnings for installed
Zac Medico [Sun, 10 Feb 2008 23:39:16 +0000 (23:39 -0000)]
Bug #209538 - Disable annoying "masked by keyword" warnings for installed
packages. We can assume that if the user accepted the keywords at merge
time then they never want to be bothered again. (trunk r9330)

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

16 years agoFix CHOST masking logic wrt installed packages so that it's consistent
Zac Medico [Sun, 10 Feb 2008 03:16:42 +0000 (03:16 -0000)]
Fix CHOST masking logic wrt installed packages so that it's consistent
between visible() and get_masking_status(). (trunk r9324)

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

16 years agoPass the myparent parameter into _show_unsatisfied_dep() when
Zac Medico [Sun, 10 Feb 2008 02:57:18 +0000 (02:57 -0000)]
Pass the myparent parameter into _show_unsatisfied_dep() when
available.

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