summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make the Atom class add 'EAPI.incompatible' category attributes toZac Medico2010-08-264-33/+34
| | | | | | | | 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.
* Make parse_metadata_use() emulate the Element.itertext() method fromZac Medico2010-08-261-3/+19
| | | | | python-2.7, so egencache --update-use-local-desc gets all of the inner text.
* Make egencache only show a warning about FEATURES=metata-transfer if theZac Medico2010-08-261-1/+1
| | | | --update option is given.
* Fix up error handling for egencache --update-use-local-desc.Zac Medico2010-08-262-5/+16
|
* egencache: Introduce the --update-use-local-desc action.Michał Górny2010-08-261-2/+72
|
* Fix repoman's allvalid variable to account for more possibly invalidZac Medico2010-08-261-1/+4
| | | | ebuilds.
* Fix breakage in use_reduce() calls where token_class=Atom is incorrect.Zac Medico2010-08-262-2/+13
|
* Remove unused max_parents variable.Zac Medico2010-08-261-2/+0
|
* Fix slot_conflict_handler breakage when callingZac Medico2010-08-261-2/+7
| | | | | Atom.unevaluated_atom.violated_conditionals() since in this case the parent_use argument is required.
* egencache: introduce the preliminary support for multiple actions.Michał Górny2010-08-261-30/+45
| | | | | | Regroup the options, splitting them into 'Actions', 'Common' and action-specific options. Always check whether the 'update' action was chosen. Support catching multiple return codes.
* Parse flag descriptions in repoman.utilities.parse_metadata_use().Michał Górny2010-08-262-10/+15
| | | | | | Grab the USE descriptions from metadata.xml within parse_metadata_use(). Instead of a plain flag list, return a dict containing both the flag names and their descriptions.
* Make use_reduce() call Atom.evaluate_conditionals() when matchall is False,Zac Medico2010-08-264-28/+7
| | | | | and pass token_class=Atom in use_reduce() calls so that external Atom.evaluate_conditionals() calls can be eliminated.
* Disable 'unused local USE-description' check if there are any invalids.Michał Górny2010-08-261-5/+9
| | | | | | If any of the ebuilds is considered invalid, the used_useflags list may not be complete. Thus, performing the test could cause a lot of useless noise.
* Remove unused myiuse variable in repoman.Zac Medico2010-08-261-5/+0
|
* In slot_conflict_handler(), never pass parent_use toZac Medico2010-08-261-4/+3
| | | | | | Atom.violated_conditionals since the USE conditionals should have been evaluated in dep_check() and we don't want to accidentally pass a DependencyArg instance into _pkg_use_enabled().
* In slot_conflict_handler._prepare_conflict_msg_and_check_for_specificity()Zac Medico2010-08-261-5/+1
| | | | | don't pass parent_use to Atom.violated_conditionals() since these atoms already have already been through use_reduce() with the parent's USE.
* Fix slot_conflict_handler._prepare_conflict_msg_and_check_for_specificity()Zac Medico2010-08-261-1/+5
| | | | | so that it only passes Package instances (not DependencyArg instances) into _pkg_use_enabled().
* Add PORTAGE_SIGPIPE_STATUS to config._environ_whitelist.Zac Medico2010-08-261-1/+1
|
* Add code to dep_check(), borrowed from _expand_new_virtuals(), to passZac Medico2010-08-261-4/+16
| | | | eapi to use_reduce() when available.
* Let use_reduce and Atom do EAPI checksSebastian Luther2010-08-266-76/+58
|
* Fix UnboundLocalError for y on line 177 in _expand_new_virtuals()Zac Medico2010-08-261-1/+1
|
* Remove obsolete TODO comment.Zac Medico2010-08-251-3/+0
|
* Tweak grammar for unknown-features-warn message.Zac Medico2010-08-251-1/+1
|
* Use EAPI.incompatible repoman category for REQUIRED_USE setting inZac Medico2010-08-251-1/+1
| | | | EAPI that does not support it.
* Make Package._validate_deps() use check_required_use() to validateZac Medico2010-08-251-5/+15
| | | | REQUIRED_USE.
* Just raise InvalidDependString in cases when it shouldn't happen sinceZac Medico2010-08-251-11/+7
| | | | | the package is not installed and it should have been validated and masked already if necessary.
* Make _get_masking_status() return masking reasons for installed packagesZac Medico2010-08-251-11/+9
| | | | | | | with invalid metadata, and remove show_invalid_depstring_notice() calls for installed packages since depgraph.display_problems() will now show the invalid metadata masking reasons when it displays installed packages that are masked.
* Bug #334365 - Fix depgraph._wrapped_select_pkg_highest_available_imp()Zac Medico2010-08-251-4/+20
| | | | | | to avoid invalid or masked installed packages when necessary. This is especially important for invalid packages since they need be replaced so that their dependencies can be parsed for --depclean operations.
* Make Package._validate_deps() check USE conditionals in SRC_URI.Zac Medico2010-08-251-1/+2
|
* Bug #334365 - Mask packages with invalid metadata as early as possible,Zac Medico2010-08-252-14/+73
| | | | | | so that the depgraph won't select them unless they are already installed and there is no other choice. This should trigger automatic reinstallation of installed packages that have invalid metadata.
* Add ebuild(1) support for FEATURES=digest.Zac Medico2010-08-252-3/+8
|
* Use a PORTAGE_SIGPIPE_STATUS variable to export 128 + SIGPIPE to theZac Medico2010-08-253-5/+13
| | | | | ebuild environment. SIGPIPE is typically 13, but its better not to assume that.
* Make save_ebuild_env() filter assert_sigpipe_ok().Zac Medico2010-08-251-1/+1
|
* Bug #334365 - When parsing dependencies of installed packages inZac Medico2010-08-251-2/+27
| | | | | | | | | | | depgraph._add_pkg_deps(), ignore invalid USE conditionals, since these are a common problem and it's practical to ignore them for installed packages. TODO: For installed package, save any InvalidDependString info in dynamic_config and wait until display_problems() to show it. For packages that aren't installed, we should validate and mask them before they are selected.
* show_invalid_depstring_notice: Don't repeat the dep stringSebastian Luther2010-08-251-1/+1
|
* Fix repoman to support FEATURES=digest (reportedly it used to workZac Medico2010-08-251-0/+1
| | | | but has stopped working since recent changes).
* Mention repoman support in the FEATURES=digest docs.Zac Medico2010-08-251-1/+2
|
* Remove portage.usedefaults since it's broken by the previous commit.Zac Medico2010-08-252-4/+1
|
* config: Move handling of USE related config files into UseManagerSebastian Luther2010-08-252-116/+169
|
* Fix fragile sets config file path handling for for ResolverPlaygroundZac Medico2010-08-251-3/+3
| | | | and remove unecessary setconfig_fallback() usage.
* Fix WorldSelectedSet.singleBuilder() to use EROOT.Zac Medico2010-08-251-1/+1
|
* Add EROOT support to setconfig_fallback().Zac Medico2010-08-251-1/+1
|
* Add EROOT support to the @module-rebuild package set.Zac Medico2010-08-252-1/+3
|
* Add EROOT support to regenworld.Zac Medico2010-08-251-9/+9
|
* Make regenworld write changes to a temporary file, and tell the userZac Medico2010-08-251-3/+41
| | | | to update the file manually if desired.
* When parsing package.env, pass the same tolerant and allow_sourcingZac Medico2010-08-241-1/+4
| | | | arguments to getconfig() that are used when parsing make.conf.
* Use deepcopy for LicenseManger, since I remove clone support from thev2.2_rc69Zac Medico2010-08-241-1/+3
| | | | constructor.
* Use open() instead of file(), for python3.Zac Medico2010-08-241-2/+2
|
* Tests: Add LicenseManager testsSebastian Luther2010-08-241-0/+68
|
* ExtendedAtomDict: Add __eq__Sebastian Luther2010-08-241-0/+5
|