portage.git
16 years agoIf PORTAGE_FETCH_RESUME_MIN_SIZE is undefined or empty, silently use
Zac Medico [Thu, 3 Apr 2008 19:58:22 +0000 (19:58 -0000)]
If PORTAGE_FETCH_RESUME_MIN_SIZE is undefined or empty, silently use
the default.

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

16 years agoImplement a PORTAGE_FETCH_RESUME_MIN_SIZE variable that is useful for
Zac Medico [Thu, 3 Apr 2008 19:23:16 +0000 (19:23 -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.

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

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

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

16 years agoIn cpv_expand(), if the virtuals file contains a versioned atom (like
Zac Medico [Thu, 3 Apr 2008 01:17:59 +0000 (01:17 -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().

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

16 years agoFix the previous commit so that the Package instance is created in the
Zac Medico [Wed, 2 Apr 2008 19:22:20 +0000 (19:22 -0000)]
Fix the previous commit so that the Package instance is created in the
correct scope.

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

16 years agoUse Package.cp instead of dep_getkey(cpv).
Zac Medico [Wed, 2 Apr 2008 19:09:13 +0000 (19:09 -0000)]
Use Package.cp instead of dep_getkey(cpv).

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

16 years agoEliminate a redundant os.path.join() call.
Zac Medico [Wed, 2 Apr 2008 18:06:42 +0000 (18:06 -0000)]
Eliminate a redundant os.path.join() call.

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

16 years agoHandle a potential FileNotFound exception in new_protect_filename() when
Zac Medico [Wed, 2 Apr 2008 18:03:08 +0000 (18:03 -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.

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

16 years agoRemove the digraph._parent_child_digraph since it's no longer needed. It's
Zac Medico [Tue, 1 Apr 2008 23:34:54 +0000 (23:34 -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.

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

16 years agoBug #215673 - Make ebuild.sh leave IUSE defaults intact instead of filtering
Zac Medico [Tue, 1 Apr 2008 22:13:59 +0000 (22:13 -0000)]
Bug #215673 - Make ebuild.sh leave IUSE defaults intact instead of filtering
them out. The built_with_use() function in eutils.eclass needs to be updated
for compatibility.

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

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

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

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

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

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

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

16 years agoHandle missing LICENSE in the Packages index since that's allowed for
Zac Medico [Tue, 1 Apr 2008 06:55:27 +0000 (06:55 -0000)]
Handle missing LICENSE in the Packages index since that's allowed for
virtual packages.

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

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

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

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

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

16 years agoWhen deps are forced to be satisfied by installed packages due to masking
Zac Medico [Mon, 31 Mar 2008 23:47:50 +0000 (23:47 -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.

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

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

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

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

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

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

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

16 years agoWhen selecting packages and there is a mixture of old-style and new-style
Zac Medico [Mon, 31 Mar 2008 19:55:56 +0000 (19:55 -0000)]
When selecting packages and there is a mixture of old-style and new-style
virtual matches, filter out the old-style virtual matches.

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

16 years agoBug #197810 - Fix package selection logic so that it will always fall back
Zac Medico [Mon, 31 Mar 2008 18:14:27 +0000 (18:14 -0000)]
Bug #197810 - Fix package selection logic so that it will always fall back
to an installed package when necessary.

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

16 years agoMake depgraph creation more tolerant of missing or masked packages when
Zac Medico [Mon, 31 Mar 2008 18:00:40 +0000 (18:00 -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.

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

16 years agoReplace an package tuple with a real Package instance.
Zac Medico [Mon, 31 Mar 2008 17:11:47 +0000 (17:11 -0000)]
Replace an package tuple with a real Package instance.

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

16 years agoPass Package instances into visible() so that the package instance can
Zac Medico [Mon, 31 Mar 2008 07:21:57 +0000 (07:21 -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.

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

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

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

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

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

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

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

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

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

16 years agoFix display code that can triger a 'Invalid category' exception when it
Zac Medico [Sun, 30 Mar 2008 10:00:50 +0000 (10:00 -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.

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

16 years agoMake doins clean up it's own temp files. This solves an odd issue in
Zac Medico [Sun, 30 Mar 2008 09:17:01 +0000 (09:17 -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.

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

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

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

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

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

16 years agoMove the AUTOCLEAN code into dblink.treewalk since it's already partially
Zac Medico [Sun, 30 Mar 2008 06:18:15 +0000 (06:18 -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.

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

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

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

16 years agoMake code a bit less prone to potentially hidden TypeError like bugs.
Zac Medico [Sun, 30 Mar 2008 04:16:54 +0000 (04:16 -0000)]
Make code a bit less prone to potentially hidden TypeError like bugs.

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

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

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

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

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

16 years agoFor bugs #197810 and #215308, pass the depgraph's "selective" parameter
Zac Medico [Sun, 30 Mar 2008 02:13:19 +0000 (02:13 -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. (branches/2.1.2 r9610)

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

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

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

16 years agoWhen dyn_unpack() automatically cleans ${WORKDIR}, also remove things
Zac Medico [Sat, 29 Mar 2008 22:47:54 +0000 (22:47 -0000)]
When dyn_unpack() automatically cleans ${WORKDIR}, also remove things
like .unpacked and .compiled so that the state is consistent.

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

16 years agoBug #214619 - Run dyn_package() and preinst_mask() from ${T} instead of
Zac Medico [Sat, 29 Mar 2008 05:30:41 +0000 (05:30 -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.

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

16 years agoAdd a note about PKG_INSTALL_MASK.
Zac Medico [Sat, 29 Mar 2008 04:55:40 +0000 (04:55 -0000)]
Add a note about PKG_INSTALL_MASK.

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

16 years agoFix quoting for ${root} in install_mask().
Zac Medico [Sat, 29 Mar 2008 04:32:10 +0000 (04:32 -0000)]
Fix quoting for ${root} in install_mask().

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

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

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

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

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

16 years agoAdd a new "ebuild.patches" check for the PATCHES variable that's used by
Zac Medico [Sat, 29 Mar 2008 03:29:24 +0000 (03:29 -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.

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

16 years agoDon't trigger the 'java.eclassesnotused' on blocker atoms.
Zac Medico [Sat, 29 Mar 2008 00:02:11 +0000 (00:02 -0000)]
Don't trigger the 'java.eclassesnotused' on blocker atoms.

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

16 years agoAdd a new "java.eclassesnotused" check for cases where DEPEND contains
Zac Medico [Fri, 28 Mar 2008 23:44:32 +0000 (23:44 -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.

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

16 years agoBug #214691 - Move the "slot collision" display so that it is shown after
Zac Medico [Fri, 28 Mar 2008 23:11:29 +0000 (23:11 -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).

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

16 years ago* Skip the recusive chown call if it fails on the top level directory since
Zac Medico [Fri, 28 Mar 2008 10:18:08 +0000 (10:18 -0000)]
* Skip the recusive chown call if it fails on the top level directory since
  it's possible that emerge-webrsync is not run by root.

* Just chown to portage:portage instead of using PORTAGE_INST_{UID,GID}.

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

16 years agoDisable tarsync when using lzma compression since it doesn't seem to be
Zac Medico [Fri, 28 Mar 2008 10:03:28 +0000 (10:03 -0000)]
Disable tarsync when using lzma compression since it doesn't seem to be
supported.

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

16 years agoBug #214619 - Add support for a PORTAGE_BINPKG_TAR_OPTS variable that
Zac Medico [Fri, 28 Mar 2008 05:45:45 +0000 (05:45 -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.

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

16 years agoMake dyn_clean() consistent wrt removal of ${PORTAGE_BUILDDIR}/image and
Zac Medico [Fri, 28 Mar 2008 05:03:55 +0000 (05:03 -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).

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

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

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

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

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

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

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

16 years agoRemove redundant info from the KEYWORDS.dropped message.
Zac Medico [Fri, 28 Mar 2008 00:05:37 +0000 (00:05 -0000)]
Remove redundant info from the KEYWORDS.dropped message.

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

16 years agoBug #209418 - Add a new KEYWORDS.dropped check that compares keywords
Zac Medico [Thu, 27 Mar 2008 23:31:28 +0000 (23:31 -0000)]
Bug #209418 - Add a new KEYWORDS.dropped check that compares keywords
against the keywords of earlier ebuild versions within a slot.

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

16 years agoBug #212509 - Display a note about the --without-mask option when there
Zac Medico [Thu, 27 Mar 2008 22:03:54 +0000 (22:03 -0000)]
Bug #212509 - Display a note about the --without-mask option when there
are masked packages.

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

16 years agoBug #212509 - Implement a new --without-mask option that causes repoman to
Zac Medico [Thu, 27 Mar 2008 21:39:14 +0000 (21:39 -0000)]
Bug #212509 - Implement a new --without-mask option that causes repoman to
behave as if there are no package.mask entries.

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

16 years agoBug #214879 - Fix FEATURES=-strict behavior so that distfiles digests are
Zac Medico [Thu, 27 Mar 2008 16:49:02 +0000 (16:49 -0000)]
Bug #214879 - Fix FEATURES=-strict behavior so that distfiles digests are
always checked.

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

16 years agoFix the noreplace logic to break out of the cpv loop early since there's
Zac Medico [Thu, 27 Mar 2008 04:28:08 +0000 (04:28 -0000)]
Fix the noreplace logic to break out of the cpv loop early since there's
no point in examining any lower versions from the same repo.

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

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

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

16 years agoBug #214879 - In fetch(), only parse the Manifest when FEATURES=strict
Zac Medico [Wed, 26 Mar 2008 23:37:58 +0000 (23:37 -0000)]
Bug #214879 - In fetch(), only parse the Manifest when FEATURES=strict
is enabled.

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

16 years agoMove the default empty compiler flag settings from
Zac Medico [Wed, 26 Mar 2008 16:54:19 +0000 (16:54 -0000)]
Move the default empty compiler flag settings from
ebuild.sh to make.globals (bug #214499).

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

16 years agoSupport ${HOST} substitution in "From" field. Thanks to wschlich.
Zac Medico [Wed, 26 Mar 2008 16:46:36 +0000 (16:46 -0000)]
Support ${HOST} substitution in "From" field. Thanks to wschlich.

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

16 years agoBug #212621 - Make the EbuildQuote check do quoting validation for misc
Zac Medico [Tue, 25 Mar 2008 04:04:44 +0000 (04:04 -0000)]
Bug #212621 - Make the EbuildQuote check do quoting validation for misc
variables from games.eclass.

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

16 years agoFix typo.
Zac Medico [Tue, 25 Mar 2008 03:54:34 +0000 (03:54 -0000)]
Fix typo.

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

16 years agoBug #212152 - Account pre-existing files when calculating whether there
Zac Medico [Tue, 25 Mar 2008 03:51:51 +0000 (03:51 -0000)]
Bug #212152 - Account pre-existing files when calculating whether there
is enough space for a download.

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

16 years agoBug #211294 - Make repoman bail out if arch.list contains unrecognized
Zac Medico [Tue, 25 Mar 2008 03:18:28 +0000 (03:18 -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.

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

16 years agoBug #214499 - When compiler flags are unset, many packages will substitute
Zac Medico [Mon, 24 Mar 2008 23:14:37 +0000 (23:14 -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.

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

16 years agoCheck is os.statvfs() is implemented before trying to us it.
Zac Medico [Mon, 24 Mar 2008 23:05:00 +0000 (23:05 -0000)]
Check is os.statvfs() is implemented before trying to us it.
(branches/prefix r9500)

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

16 years agoImprove logic from the previous commit.
Zac Medico [Thu, 20 Mar 2008 21:35:45 +0000 (21:35 -0000)]
Improve logic from the previous commit.

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

16 years agoFix depgraph._select_package() to make sure the installed package is a real
Zac Medico [Thu, 20 Mar 2008 21:31:38 +0000 (21:31 -0000)]
Fix depgraph._select_package() to make sure the installed package is a real
match before rejecting other available packages.

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

16 years agoreadd digestentry.unused category as it's still relevant
Marius Mauch [Wed, 19 Mar 2008 22:46:19 +0000 (22:46 -0000)]
readd digestentry.unused category as it's still relevant

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

16 years agoFix quoting.
Zac Medico [Wed, 19 Mar 2008 19:49:00 +0000 (19:49 -0000)]
Fix quoting.

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

16 years agodisplay versions of other slots for new-slot installs (bug #213790)
Marius Mauch [Wed, 19 Mar 2008 18:44:52 +0000 (18:44 -0000)]
display versions of other slots for new-slot installs (bug #213790)

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

16 years agoStrip trailing slashes from directory paths if necessary.
Zac Medico [Wed, 19 Mar 2008 11:34:10 +0000 (11:34 -0000)]
Strip trailing slashes from directory paths if necessary.

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

16 years agoBug #210690 - Fix --help output to show the leading slash on the path to
Zac Medico [Wed, 19 Mar 2008 10:31:43 +0000 (10:31 -0000)]
Bug #210690 - Fix --help output to show the leading slash on the path to
the world file.

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

16 years agoBug #210575 - Optimize doins -r so that it doesn't call itself recursively,
Zac Medico [Wed, 19 Mar 2008 10:24:26 +0000 (10:24 -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.

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

16 years agoOnly show the eqawarn from bug #149745 when nothing is found to install. Also,
Zac Medico [Wed, 19 Mar 2008 09:45:51 +0000 (09:45 -0000)]
Only show the eqawarn from bug #149745 when nothing is found to install. Also,
exit successfully unless nothing is found to install.

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

16 years agoBug #201045 - Fix unmerge() to preserve unmerge order so that dependencies
Zac Medico [Wed, 19 Mar 2008 07:03:05 +0000 (07:03 -0000)]
Bug #201045 - Fix unmerge() to preserve unmerge order so that dependencies
are respected. Also, eliminate duplicate package selections since the same
package may be selected by multiple atoms but we can only unmerge it once.

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

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

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

16 years agomake filesets non-greedy by default
Marius Mauch [Tue, 18 Mar 2008 23:41:52 +0000 (23:41 -0000)]
make filesets non-greedy by default

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

16 years agoadd unmerge protection for packages still referenced by installed package sets
Marius Mauch [Tue, 18 Mar 2008 23:38:27 +0000 (23:38 -0000)]
add unmerge protection for packages still referenced by installed package sets

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

16 years agoadd @ to the list of invalid atom chars so sets with prefix aren't considered as...
Marius Mauch [Tue, 18 Mar 2008 23:37:18 +0000 (23:37 -0000)]
add @ to the list of invalid atom chars so sets with prefix aren't considered as atoms accidentally

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

16 years agofix artifact from r9477
Marius Mauch [Tue, 18 Mar 2008 22:40:31 +0000 (22:40 -0000)]
fix artifact from r9477

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

16 years agouse a dict with CP keys in unmerge() to avoid double unmerges if a package is matched...
Marius Mauch [Tue, 18 Mar 2008 22:36:57 +0000 (22:36 -0000)]
use a dict with CP keys in unmerge() to avoid double unmerges if a package is matched by multiple atoms

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

16 years agoBug #149745 - Generate an eqawarn message if dohtml is called on a directory
Zac Medico [Tue, 18 Mar 2008 22:12:52 +0000 (22:12 -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.

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

16 years agoBug #174634 - Fix ebuild 'digest' and 'manifest' behave 100% identically and
Zac Medico [Tue, 18 Mar 2008 21:22:53 +0000 (21:22 -0000)]
Bug #174634 - Fix ebuild 'digest' and 'manifest' behave 100% identically and
update the docs to reflect this.

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

16 years agoBug #212882 - For compatibility with ENOENT exceptions raised from
Zac Medico [Mon, 17 Mar 2008 02:23:33 +0000 (02:23 -0000)]
Bug #212882 - For compatibility with ENOENT exceptions raised from
fstat calls with CIFS, wrap fstat calls with an appropriate exception
handler.

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

16 years agoBug #213592 - Fix --onlydeps breakage.
Zac Medico [Sun, 16 Mar 2008 20:33:59 +0000 (20:33 -0000)]
Bug #213592 - Fix --onlydeps breakage.

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

16 years agoBug #213540 - Make sure DESTTREE=/usr is set before inherit calls.
Zac Medico [Sun, 16 Mar 2008 00:54:53 +0000 (00:54 -0000)]
Bug #213540 - Make sure DESTTREE=/usr is set before inherit calls.

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

16 years agoWhen in strict mode, make paren_reduce() detect missing whitespace around
Zac Medico [Sat, 15 Mar 2008 23:10:58 +0000 (23:10 -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.

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

16 years agoavoid importing portage to improve performance
Marius Mauch [Sat, 15 Mar 2008 22:43:25 +0000 (22:43 -0000)]
avoid importing portage to improve performance

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

16 years agoadd a placeholder for repository paths in 'filename' and 'directory' options for...
Marius Mauch [Sat, 15 Mar 2008 19:33:45 +0000 (19:33 -0000)]
add a placeholder for repository paths in 'filename' and 'directory' options for StaticFileSet

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

16 years agoFix an UnboundLocalError for 'pkgindex'.
Zac Medico [Sat, 15 Mar 2008 05:28:53 +0000 (05:28 -0000)]
Fix an UnboundLocalError for 'pkgindex'.

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

16 years agoFix grammar.
Zac Medico [Fri, 14 Mar 2008 18:23:58 +0000 (18:23 -0000)]
Fix grammar.

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

16 years agoBug #42456 - When a checksum failure occurs during fetch, use a new
Zac Medico [Fri, 14 Mar 2008 06:53:25 +0000 (06:53 -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.

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