portage.git
14 years agoFix typos.
Arfrever Frehtes Taifersar Arahesis [Mon, 30 Aug 2010 17:29:46 +0000 (19:29 +0200)]
Fix typos.

14 years agoAdd more new features to RELEASE-NOTES for portage-2.1.9.
Zac Medico [Mon, 30 Aug 2010 16:20:19 +0000 (09:20 -0700)]
Add more new features to RELEASE-NOTES for portage-2.1.9.

14 years agoInvert _ebuild_helpers_path EAPI conditional in ebuild.sh.
Zac Medico [Mon, 30 Aug 2010 14:27:58 +0000 (07:27 -0700)]
Invert _ebuild_helpers_path EAPI conditional in ebuild.sh.

14 years agoMerge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage
Zac Medico [Mon, 30 Aug 2010 14:23:53 +0000 (07:23 -0700)]
Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage

14 years agoSplit out a RELEASE-NOTES section for portage-2.1.9, composed of parts
Zac Medico [Mon, 30 Aug 2010 14:21:03 +0000 (07:21 -0700)]
Split out a RELEASE-NOTES section for portage-2.1.9, composed of parts
from the 2.2 branch.

14 years agoBug fix in canonicalize() function.
Ulrich Mueller [Mon, 30 Aug 2010 12:35:32 +0000 (14:35 +0200)]
Bug fix in canonicalize() function.

14 years agoAdd a TODO note to AbstractEbuildProcess._can_log() about adding support
Zac Medico [Mon, 30 Aug 2010 13:11:22 +0000 (06:11 -0700)]
Add a TODO note to AbstractEbuildProcess._can_log() about adding support
for logging via named pipe (fifo) for sesandbox.

14 years agoMake match_from_list() strip "!!" when appropriate for strong blocks.
Zac Medico [Mon, 30 Aug 2010 13:06:07 +0000 (06:06 -0700)]
Make match_from_list() strip "!!" when appropriate for strong blocks.

14 years agoRemove duplicate real_vardb definition from merge in action_depclean().
Zac Medico [Mon, 30 Aug 2010 13:05:07 +0000 (06:05 -0700)]
Remove duplicate real_vardb definition from merge in action_depclean().

14 years agoMerge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage
Zac Medico [Mon, 30 Aug 2010 13:03:46 +0000 (06:03 -0700)]
Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage

14 years agoFix "UnboundLocalError: local variable 'real_vardb' referenced before assignment".
Arfrever Frehtes Taifersar Arahesis [Mon, 30 Aug 2010 13:02:12 +0000 (15:02 +0200)]
Fix "UnboundLocalError: local variable 'real_vardb' referenced before assignment".

14 years agoFix broken reference to real_vardb in calc_depclean() from 2 commits ago.
Zac Medico [Mon, 30 Aug 2010 12:59:29 +0000 (05:59 -0700)]
Fix broken reference to real_vardb in calc_depclean() from 2 commits ago.

14 years agoFix typo in comment.
Arfrever Frehtes Taifersar Arahesis [Mon, 30 Aug 2010 12:08:09 +0000 (14:08 +0200)]
Fix typo in comment.

14 years agoBug #335242: Fix typo in emerge(1) man page.
Arfrever Frehtes Taifersar Arahesis [Mon, 30 Aug 2010 12:02:30 +0000 (14:02 +0200)]
Bug #335242: Fix typo in emerge(1) man page.

14 years agoRename the portage.sets module to portage._sets since it will be useful
Zac Medico [Mon, 30 Aug 2010 07:16:50 +0000 (00:16 -0700)]
Rename the portage.sets module to portage._sets since it will be useful
in the upcoming 2.1.9 branch which will not have sets support but will
still have the code in private and disabled form.

14 years agoAlways check if vardbapi._linkmap and vardbapi._plib_registry are
Zac Medico [Mon, 30 Aug 2010 06:49:32 +0000 (23:49 -0700)]
Always check if vardbapi._linkmap and vardbapi._plib_registry are
None before trying to use them. This will be useful in the upcoming
2.1.9 branch which will not have preserve-libs support but will
still have the code in private and disabled form.

14 years agoRename vardbapi.linkmap to vardbapi._linkmap since I'm
Zac Medico [Mon, 30 Aug 2010 06:31:47 +0000 (23:31 -0700)]
Rename vardbapi.linkmap to vardbapi._linkmap since I'm
trying to minimize the diff between the master branch and upcoming
2.1.9 branch which will not have preserve-libs support but will
still have the code in private and disabled form.

14 years agoRename vardbapi.plib_registry to vardbapi._plib_registry since I'm
Zac Medico [Mon, 30 Aug 2010 05:36:22 +0000 (22:36 -0700)]
Rename vardbapi.plib_registry to vardbapi._plib_registry since I'm
trying to minimize the diff between the master branch and upcoming
2.1.9 branch which will not have preserve-libs support but will
still have the code in private and disabled form.

14 years agoMove LinkageMap to a new portage.util._dyn_libs.LinkageMapELF module.
Zac Medico [Mon, 30 Aug 2010 03:28:45 +0000 (20:28 -0700)]
Move LinkageMap to a new portage.util._dyn_libs.LinkageMapELF module.

14 years agoMove PreservedLibsRegistry to a new portage.util._dyn_libs.PreservedLibsRegistry...
Zac Medico [Mon, 30 Aug 2010 02:48:34 +0000 (19:48 -0700)]
Move PreservedLibsRegistry to a new portage.util._dyn_libs.PreservedLibsRegistry module.

14 years agoRemove unused imports found by pylint.
Arfrever Frehtes Taifersar Arahesis [Sun, 29 Aug 2010 21:27:15 +0000 (23:27 +0200)]
Remove unused imports found by pylint.

14 years agoFix import.
Arfrever Frehtes Taifersar Arahesis [Sun, 29 Aug 2010 20:42:41 +0000 (22:42 +0200)]
Fix import.

14 years agoFix some typos.
Arfrever Frehtes Taifersar Arahesis [Sun, 29 Aug 2010 19:26:53 +0000 (21:26 +0200)]
Fix some typos.

14 years agoAdd LocationsManager.profile_and_user_locations for use with config.categories and...
Sebastian Luther [Sun, 29 Aug 2010 18:48:06 +0000 (11:48 -0700)]
Add LocationsManager.profile_and_user_locations for use with config.categories and archlist.

14 years agoMake mkrelease.sh clean up the temporary $SOURCE_DIR when finished.
Zac Medico [Sun, 29 Aug 2010 18:11:26 +0000 (11:11 -0700)]
Make mkrelease.sh clean up the temporary $SOURCE_DIR when finished.

14 years agoAdd a TODO note about replacing BlockerDB with an incremental depgraph
Zac Medico [Sun, 29 Aug 2010 18:05:20 +0000 (11:05 -0700)]
Add a TODO note about replacing BlockerDB with an incremental depgraph
for solving bug #279623.

14 years agoAdd canonicalize() function, replacement for "readlink -f". v2.2_rc72
Ulrich Mueller [Sun, 29 Aug 2010 06:26:15 +0000 (08:26 +0200)]
Add canonicalize() function, replacement for "readlink -f".

Expand symlinks in prepcompress() completely, not only to the last
directory component.

14 years agoChange a comment in prepcompress().
Ulrich Mueller [Sun, 29 Aug 2010 06:24:26 +0000 (08:24 +0200)]
Change a comment in prepcompress().

14 years agoAdd a Scheduler._running_tasks() set in order to simplify the
Zac Medico [Sun, 29 Aug 2010 00:59:54 +0000 (17:59 -0700)]
Add a Scheduler._running_tasks() set in order to simplify the
_is_work_scheduled() method.

14 years agoInside Scheduler._dependent_on_scheduled_merges(), don't traverse children
Zac Medico [Sun, 29 Aug 2010 00:10:46 +0000 (17:10 -0700)]
Inside Scheduler._dependent_on_scheduled_merges(), don't traverse children
of uninstall nodes since those aren't dependencies in the usual sense.

14 years agoBug #273633 - Add docompress docs from PMS.
Zac Medico [Sat, 28 Aug 2010 23:27:54 +0000 (16:27 -0700)]
Bug #273633 - Add docompress docs from PMS.

14 years agoUpdate copyright headers.
Ulrich Mueller [Sat, 28 Aug 2010 07:21:43 +0000 (09:21 +0200)]
Update copyright headers.

14 years agoImplement controllable compression and docompress, bug #273633.
Ulrich Mueller [Sat, 28 Aug 2010 07:20:23 +0000 (09:20 +0200)]
Implement controllable compression and docompress, bug #273633.

14 years agoMake egencache --update-use-local-desc use codecs.open() to write to
Zac Medico [Sat, 28 Aug 2010 22:51:37 +0000 (15:51 -0700)]
Make egencache --update-use-local-desc use codecs.open() to write to
use.local.desc (fixes possible unicode issues with python3).

14 years agoFor egencache --preserve-comments, probe comments in binary mode in
Zac Medico [Sat, 28 Aug 2010 22:33:49 +0000 (15:33 -0700)]
For egencache --preserve-comments, probe comments in binary mode in
order to avoid potential character encoding issues (both in terms
of decoding and in calculating file position given variable-width
character encodings like UTF-8.

14 years agoSimplify the empty USE conditional /var/db/pkg metadata code in
Zac Medico [Sat, 28 Aug 2010 22:04:01 +0000 (15:04 -0700)]
Simplify the empty USE conditional /var/db/pkg metadata code in
_post_src_install_uid_fix(), and handle one more case.

14 years agoegencache: Add comment preserving to --update-use-local-desc.
Michał Górny [Sat, 28 Aug 2010 21:59:34 +0000 (23:59 +0200)]
egencache: Add comment preserving to --update-use-local-desc.

14 years agoWhen evaluating USE conditional metadata for /var/db/pkg inside
Zac Medico [Sat, 28 Aug 2010 21:44:42 +0000 (14:44 -0700)]
When evaluating USE conditional metadata for /var/db/pkg inside
_post_src_install_uid_fix(), ensure non-empty entries are removed
if the evaluation results in an empty value.

14 years agoIf there are circular dependencies, and circular_dependency_handler
Zac Medico [Sat, 28 Aug 2010 21:21:06 +0000 (14:21 -0700)]
If there are circular dependencies, and circular_dependency_handler
doesn't have a message, eliminate root nodes before calling
digraph.debug_print(). If --debug is enabled then do this even if
circular_dependency_handler has a message.

14 years agoBug #335055 - Fix "TypeError: argument of type 'NoneType' is not
Zac Medico [Sat, 28 Aug 2010 20:39:44 +0000 (13:39 -0700)]
Bug #335055 - Fix "TypeError: argument of type 'NoneType' is not
iterable" raised from first call to VirtualsManager.get_virts_p()
when trying to expand the category for a package name.

14 years agoIn depgraph._show_unsatisfied_dep(), show some debug info if
Zac Medico [Sat, 28 Aug 2010 20:21:25 +0000 (13:21 -0700)]
In depgraph._show_unsatisfied_dep(), show some debug info if
Atom.violated_conditionals() raises InvalidAtom.

14 years agoAdd --use-local-desc-output to egencache man page.
Zac Medico [Sat, 28 Aug 2010 14:49:54 +0000 (07:49 -0700)]
Add --use-local-desc-output to egencache man page.

14 years agoSupport specifying an alternate output file for --update-use-local-desc.
Michał Górny [Sat, 28 Aug 2010 14:46:17 +0000 (16:46 +0200)]
Support specifying an alternate output file for --update-use-local-desc.

14 years agoBug #334935 - Fix broken reference to config.pmaskdict inside v2.2_rc71
Zac Medico [Sat, 28 Aug 2010 06:51:41 +0000 (23:51 -0700)]
Bug #334935 - Fix broken reference to config.pmaskdict inside
getmaskingreason().

14 years agoUse StopIteration to exit nested loops. v2.2_rc70
Zac Medico [Sat, 28 Aug 2010 02:15:50 +0000 (19:15 -0700)]
Use StopIteration to exit nested loops.

14 years agoAdd support for IUSE.missing checks in conditional USE dependencies.
Zac Medico [Sat, 28 Aug 2010 02:09:30 +0000 (19:09 -0700)]
Add support for IUSE.missing checks in conditional USE dependencies.

14 years agoAdd the chflags and selinux values to SUPPORTED_FEATURES.
Zac Medico [Fri, 27 Aug 2010 23:58:24 +0000 (16:58 -0700)]
Add the chflags and selinux values to SUPPORTED_FEATURES.

14 years agoDefine a cmp work-alike function for use in the egencache
Zac Medico [Fri, 27 Aug 2010 23:41:20 +0000 (16:41 -0700)]
Define a cmp work-alike function for use in the egencache
--update-use-local-desc code, since it's ugly to have so
many repetitions of this construct.

14 years agoMerge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage
Zac Medico [Fri, 27 Aug 2010 22:56:07 +0000 (15:56 -0700)]
Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage

14 years agoFix breakage caused ignorance of /etc/portage/{arch.list,categories}
Zac Medico [Fri, 27 Aug 2010 22:54:10 +0000 (15:54 -0700)]
Fix breakage caused ignorance of /etc/portage/{arch.list,categories}
config overrides.

14 years agoFix some typos.
Arfrever Frehtes Taifersar Arahesis [Fri, 27 Aug 2010 22:08:51 +0000 (00:08 +0200)]
Fix some typos.

14 years agoFix _get_legacy_global() so that it does't pass in the target_root
Zac Medico [Fri, 27 Aug 2010 21:57:58 +0000 (14:57 -0700)]
Fix _get_legacy_global() so that it does't pass in the target_root
parameter to create_trees() unless ROOT is set. This is required
for make.conf ROOT override to work with LocationsManager.

14 years agoFix the config constructor to pass missing parameters to the
Zac Medico [Fri, 27 Aug 2010 21:39:39 +0000 (14:39 -0700)]
Fix the config constructor to pass missing parameters to the
LocationsManager constructor.

14 years agoBug #334817 - Make the make.conf.5 man page document the fact that
Zac Medico [Fri, 27 Aug 2010 21:15:32 +0000 (14:15 -0700)]
Bug #334817 - Make the make.conf.5 man page document the fact that
/etc/portage/make.conf overrides /etc/make.conf.

14 years agoFix Package._validate_deps() to pass matchall=True to use_reduce().
Zac Medico [Fri, 27 Aug 2010 20:37:00 +0000 (13:37 -0700)]
Fix Package._validate_deps() to pass matchall=True to use_reduce().

14 years agoAdd egencache --update-use-local-desc action to the man page.
Zac Medico [Fri, 27 Aug 2010 20:19:31 +0000 (13:19 -0700)]
Add egencache --update-use-local-desc action to the man page.

14 years agoconfig: Remove last traces of autouse
Sebastian Luther [Fri, 27 Aug 2010 19:59:43 +0000 (21:59 +0200)]
config: Remove last traces of autouse

14 years agoUse InvalidDependString import instead of
Zac Medico [Fri, 27 Aug 2010 19:28:01 +0000 (12:28 -0700)]
Use InvalidDependString import instead of
portage.exception.InvalidDependString.

14 years agoUse InvalidDependString import instead of
Zac Medico [Fri, 27 Aug 2010 19:25:37 +0000 (12:25 -0700)]
Use InvalidDependString import instead of
portage.exception.InvalidDependString.

14 years agoUse Package._metadata_exception() to handle invalid LICENSE, PROPERTIES,
Zac Medico [Fri, 27 Aug 2010 19:22:37 +0000 (12:22 -0700)]
Use Package._metadata_exception() to handle invalid LICENSE, PROPERTIES,
PROVIDE, and RESTRICT, and generate IUSE.missing errors for repoman
when appropriate.

14 years agoFix breakage in egencache --update-use-local-desc code.
Zac Medico [Fri, 27 Aug 2010 17:48:39 +0000 (10:48 -0700)]
Fix breakage in egencache --update-use-local-desc code.

14 years agoUse cmp_sort_key() for python3 compatibility.
Zac Medico [Fri, 27 Aug 2010 17:00:43 +0000 (10:00 -0700)]
Use cmp_sort_key() for python3 compatibility.

14 years agoSupport returning multiple flag descriptions when restrict is used.
Michał Górny [Fri, 27 Aug 2010 16:47:22 +0000 (18:47 +0200)]
Support returning multiple flag descriptions when restrict is used.

Return a dict of dicts in parse_metadata_use(), with second-level keys
being the restrict strings (or None when no restrict). When generating
use.local.desc, use the description from the possibly-highest-matching
atom.

14 years agoRemove unused imports.
Zac Medico [Fri, 27 Aug 2010 16:56:01 +0000 (09:56 -0700)]
Remove unused imports.

14 years agoBug #334817 - Make genconfig() warn about EISDIR instead of raising
Zac Medico [Fri, 27 Aug 2010 16:52:33 +0000 (09:52 -0700)]
Bug #334817 - Make genconfig() warn about EISDIR instead of raising
a IOError.

14 years agoFix broken reference to config.pmaskdict for repoman --without-mask.
Zac Medico [Fri, 27 Aug 2010 16:20:26 +0000 (09:20 -0700)]
Fix broken reference to config.pmaskdict for repoman --without-mask.

14 years agofix ppkg type handling in slot_conflict_handler
Sebastian Luther [Fri, 27 Aug 2010 15:57:43 +0000 (08:57 -0700)]
fix ppkg type handling in slot_conflict_handler

14 years agoecompressdir: use proper exit value
Jonathan Callen [Fri, 27 Aug 2010 15:51:31 +0000 (11:51 -0400)]
ecompressdir: use proper exit value

14 years agoconfig: Add special_env_vars
Sebastian Luther [Fri, 27 Aug 2010 14:16:44 +0000 (16:16 +0200)]
config: Add special_env_vars

14 years agoconfig: Add LocationsManager
Sebastian Luther [Fri, 27 Aug 2010 13:09:46 +0000 (15:09 +0200)]
config: Add LocationsManager

14 years agoconfig: Add VirtualsManager
Sebastian Luther [Fri, 27 Aug 2010 10:43:44 +0000 (12:43 +0200)]
config: Add VirtualsManager

14 years agoconfig: Add MaskManager
Sebastian Luther [Fri, 27 Aug 2010 07:33:40 +0000 (09:33 +0200)]
config: Add MaskManager

14 years agoconfig: Avoid copying _license_manager
Sebastian Luther [Fri, 27 Aug 2010 07:02:50 +0000 (09:02 +0200)]
config: Avoid copying _license_manager

Strictly speaking _license_manager is not immutable. Users need to ensure that
extract_global_changes() is called right after __init__ (if at all).
It also has the mutable member _undef_lic_groups. It is used to track
undifiend license groups, to not display an error message for the same
group again and again. Because of this, it's useful to share it between
all LicenseManager instances.

14 years agorepoman: Fix NameError on musedict when metadata is not available.
Michał Górny [Fri, 27 Aug 2010 15:16:57 +0000 (17:16 +0200)]
repoman: Fix NameError on musedict when metadata is not available.

14 years agoAdd a IUSE.missing repoman category for packages that have a USE
Zac Medico [Fri, 27 Aug 2010 05:43:31 +0000 (22:43 -0700)]
Add a IUSE.missing repoman category for packages that have a USE
conditional which references a flag that is not listed in IUSE.
Also split out a Package._metadata_exception() method to handle
IUSE.missing for *DEPEND and SRC_URI.

14 years agoBug #334365 - Selectively ignore invalid metadata of installed packages
Zac Medico [Fri, 27 Aug 2010 03:40:15 +0000 (20:40 -0700)]
Bug #334365 - Selectively ignore invalid metadata of installed packages
in cases when it's irrelevant (should re-evaluate these when new EAPIs
are deployed):

* EAPI.incompatible IUSE defaults
* EAPI.incompatible *DEPEND
* *DEPEND conditionals missing from IUSE
* SRC_URI.syntax

14 years agoBug #334365 - When depgraph.display_problems() shows the message
Zac Medico [Fri, 27 Aug 2010 03:21:02 +0000 (20:21 -0700)]
Bug #334365 - When depgraph.display_problems() shows the message
about masked installed packages, customize the InvalidDependString
display to show the path of the *DEPEND file that contains the
invalid dependency.

14 years agoDo not include the whole input string in the use_reduce()
Zac Medico [Fri, 27 Aug 2010 03:01:37 +0000 (20:01 -0700)]
Do not include the whole input string in the use_reduce()
InvalidDependString messages since the string is often extremely
long which makes it flood the terminal when displayed. Instead
we'll have to rely on the caller to display react appropriately
to the exception (perhaps displaying the whole input if
appropriate).

14 years agoFix breakage from previous commit.
Zac Medico [Fri, 27 Aug 2010 02:28:45 +0000 (19:28 -0700)]
Fix breakage from previous commit.

14 years agoUse Package.visible to simplify visibility checks for installed
Zac Medico [Fri, 27 Aug 2010 02:07:09 +0000 (19:07 -0700)]
Use Package.visible to simplify visibility checks for installed
packages, no that it accounts for invalid metadata.

14 years agoFix Package._visible() to mask installed packages with invalid metadata.
Zac Medico [Fri, 27 Aug 2010 01:53:20 +0000 (18:53 -0700)]
Fix Package._visible() to mask installed packages with invalid metadata.

14 years agoUse dict.__iter__() instead of keys().
Zac Medico [Fri, 27 Aug 2010 01:46:38 +0000 (18:46 -0700)]
Use dict.__iter__() instead of keys().

14 years agoUse shallow copy for more immutable config attributes.
Zac Medico [Fri, 27 Aug 2010 01:22:06 +0000 (18:22 -0700)]
Use shallow copy for more immutable config attributes.

14 years agoMake LicenseManager.__deepcopy__() do a shallow copy of _license_groups
Zac Medico [Fri, 27 Aug 2010 01:04:14 +0000 (18:04 -0700)]
Make LicenseManager.__deepcopy__() do a shallow copy of _license_groups
since internal policy ensures lack of mutation, and fix memo usage
for the other immutable attributes.

14 years agoImplement LicenseManager.__deepcopy__(), using shallow copy for
Zac Medico [Fri, 27 Aug 2010 00:46:11 +0000 (17:46 -0700)]
Implement LicenseManager.__deepcopy__(), using shallow copy for
immutable attributes.

14 years agoDisable autouse support and add a deprecation warning to the autouse()
Zac Medico [Fri, 27 Aug 2010 00:15:20 +0000 (17:15 -0700)]
Disable autouse support and add a deprecation warning to the autouse()
function.

14 years agoUse frozenset for config.usemask and useforce attributes, so there's
Zac Medico [Fri, 27 Aug 2010 00:07:38 +0000 (17:07 -0700)]
Use frozenset for config.usemask and useforce attributes, so there's
no need to copy them during clone operations. Also, there's no need
to copy config.puse since its an immutable string.

14 years agoBug #334365 - Make dep_check() less strict with respect to EAPI
Zac Medico [Thu, 26 Aug 2010 23:49:20 +0000 (16:49 -0700)]
Bug #334365 - Make dep_check() less strict with respect to EAPI
constraints for installed packages since previous validation will
have already marked them as invalid when necessary and now we're
more interested in evaluating dependencies so that things like
--depclean work as well as possible in spite of partial
invalidity. Also, remove obsolete EAPI atom validation code from
_expand_new_virtuals() since it's handled by use_reduce() and
the Atom constructor now.

14 years agoVarious parse_metadata_use() fixes:
Zac Medico [Thu, 26 Aug 2010 23:08:15 +0000 (16:08 -0700)]
Various parse_metadata_use() fixes:

* Allow empty descriptions (backward compatibility).
* Support multiple 'use' elements.
* If multiple 'flag' elements have the same name attribute, use
  the first occurance.

14 years agoMake parse_metadata_use() tolerate empty flag descriptions.
Zac Medico [Thu, 26 Aug 2010 22:54:44 +0000 (15:54 -0700)]
Make parse_metadata_use() tolerate empty flag descriptions.

14 years agoMake repoman ignore FEATURES=digest when in manifest-check mode.
Zac Medico [Thu, 26 Aug 2010 22:21:09 +0000 (15:21 -0700)]
Make repoman ignore FEATURES=digest when in manifest-check mode.

14 years agoEnsure SystemExit is never caught.
Zac Medico [Thu, 26 Aug 2010 21:49:34 +0000 (14:49 -0700)]
Ensure SystemExit is never caught.

14 years agoMake the Atom class add 'EAPI.incompatible' category attributes to
Zac Medico [Thu, 26 Aug 2010 21:29:34 +0000 (14:29 -0700)]
Make the Atom class add 'EAPI.incompatible' category attributes to
InvalidAtom exceptions, make use_reduce() raise InvalidDependString
exceptions that encapsulate InvalidAtom exceptions, and make
Package._validate_deps() use the InvalidAtom categories when
recording the invalid metadata for use by repoman. Also, remove
the EAPI.incompatible code from repoman that's no longer used.

14 years agoMake parse_metadata_use() emulate the Element.itertext() method from
Zac Medico [Thu, 26 Aug 2010 20:29:13 +0000 (13:29 -0700)]
Make parse_metadata_use() emulate the Element.itertext() method from
python-2.7, so egencache --update-use-local-desc gets all of the inner
text.

14 years agoMake egencache only show a warning about FEATURES=metata-transfer if the
Zac Medico [Thu, 26 Aug 2010 19:54:17 +0000 (12:54 -0700)]
Make egencache only show a warning about FEATURES=metata-transfer if the
--update option is given.

14 years agoFix up error handling for egencache --update-use-local-desc.
Zac Medico [Thu, 26 Aug 2010 19:46:35 +0000 (12:46 -0700)]
Fix up error handling for egencache --update-use-local-desc.

14 years agoegencache: Introduce the --update-use-local-desc action.
Michał Górny [Thu, 26 Aug 2010 19:25:43 +0000 (21:25 +0200)]
egencache: Introduce the --update-use-local-desc action.

14 years agoFix repoman's allvalid variable to account for more possibly invalid
Zac Medico [Thu, 26 Aug 2010 18:56:06 +0000 (11:56 -0700)]
Fix repoman's allvalid variable to account for more possibly invalid
ebuilds.

14 years agoFix breakage in use_reduce() calls where token_class=Atom is incorrect.
Zac Medico [Thu, 26 Aug 2010 18:29:37 +0000 (11:29 -0700)]
Fix breakage in use_reduce() calls where token_class=Atom is incorrect.

14 years agoRemove unused max_parents variable.
Zac Medico [Thu, 26 Aug 2010 18:17:56 +0000 (11:17 -0700)]
Remove unused max_parents variable.