Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Parse flag descriptions in repoman.utilities.parse_metadata_use(). | Michał Górny | 2010-08-26 | 1 | -5/+12 |
| | | | | | | 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 Medico | 2010-08-26 | 4 | -28/+7 |
| | | | | | and pass token_class=Atom in use_reduce() calls so that external Atom.evaluate_conditionals() calls can be eliminated. | ||||
* | In slot_conflict_handler(), never pass parent_use to | Zac Medico | 2010-08-26 | 1 | -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 Medico | 2010-08-26 | 1 | -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 Medico | 2010-08-26 | 1 | -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 Medico | 2010-08-26 | 1 | -1/+1 |
| | |||||
* | Add code to dep_check(), borrowed from _expand_new_virtuals(), to pass | Zac Medico | 2010-08-26 | 1 | -4/+16 |
| | | | | eapi to use_reduce() when available. | ||||
* | Let use_reduce and Atom do EAPI checks | Sebastian Luther | 2010-08-26 | 5 | -73/+56 |
| | |||||
* | Fix UnboundLocalError for y on line 177 in _expand_new_virtuals() | Zac Medico | 2010-08-26 | 1 | -1/+1 |
| | |||||
* | Remove obsolete TODO comment. | Zac Medico | 2010-08-25 | 1 | -3/+0 |
| | |||||
* | Tweak grammar for unknown-features-warn message. | Zac Medico | 2010-08-25 | 1 | -1/+1 |
| | |||||
* | Use EAPI.incompatible repoman category for REQUIRED_USE setting in | Zac Medico | 2010-08-25 | 1 | -1/+1 |
| | | | | EAPI that does not support it. | ||||
* | Make Package._validate_deps() use check_required_use() to validate | Zac Medico | 2010-08-25 | 1 | -5/+15 |
| | | | | REQUIRED_USE. | ||||
* | Just raise InvalidDependString in cases when it shouldn't happen since | Zac Medico | 2010-08-25 | 1 | -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 packages | Zac Medico | 2010-08-25 | 1 | -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 Medico | 2010-08-25 | 1 | -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 Medico | 2010-08-25 | 1 | -1/+2 |
| | |||||
* | Bug #334365 - Mask packages with invalid metadata as early as possible, | Zac Medico | 2010-08-25 | 2 | -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. | ||||
* | Use a PORTAGE_SIGPIPE_STATUS variable to export 128 + SIGPIPE to the | Zac Medico | 2010-08-25 | 2 | -3/+10 |
| | | | | | ebuild environment. SIGPIPE is typically 13, but its better not to assume that. | ||||
* | Bug #334365 - When parsing dependencies of installed packages in | Zac Medico | 2010-08-25 | 1 | -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 string | Sebastian Luther | 2010-08-25 | 1 | -1/+1 |
| | |||||
* | Remove portage.usedefaults since it's broken by the previous commit. | Zac Medico | 2010-08-25 | 2 | -4/+1 |
| | |||||
* | config: Move handling of USE related config files into UseManager | Sebastian Luther | 2010-08-25 | 2 | -116/+169 |
| | |||||
* | Fix fragile sets config file path handling for for ResolverPlayground | Zac Medico | 2010-08-25 | 1 | -3/+3 |
| | | | | and remove unecessary setconfig_fallback() usage. | ||||
* | Fix WorldSelectedSet.singleBuilder() to use EROOT. | Zac Medico | 2010-08-25 | 1 | -1/+1 |
| | |||||
* | Add EROOT support to setconfig_fallback(). | Zac Medico | 2010-08-25 | 1 | -1/+1 |
| | |||||
* | Add EROOT support to the @module-rebuild package set. | Zac Medico | 2010-08-25 | 1 | -0/+2 |
| | |||||
* | When parsing package.env, pass the same tolerant and allow_sourcing | Zac Medico | 2010-08-24 | 1 | -1/+4 |
| | | | | arguments to getconfig() that are used when parsing make.conf. | ||||
* | Use deepcopy for LicenseManger, since I remove clone support from thev2.2_rc69 | Zac Medico | 2010-08-24 | 1 | -1/+3 |
| | | | | constructor. | ||||
* | Use open() instead of file(), for python3. | Zac Medico | 2010-08-24 | 1 | -2/+2 |
| | |||||
* | Tests: Add LicenseManager tests | Sebastian Luther | 2010-08-24 | 1 | -0/+68 |
| | |||||
* | ExtendedAtomDict: Add __eq__ | Sebastian Luther | 2010-08-24 | 1 | -0/+5 |
| | |||||
* | ResolverPlayground: Add ability to create config files and sets | Sebastian Luther | 2010-08-24 | 1 | -32/+98 |
| | |||||
* | Remove LicenseManager.__deepcopy__() since the default implementation | Zac Medico | 2010-08-24 | 1 | -14/+0 |
| | | | | seems to work fine. | ||||
* | Implement LicenseManager.__deepcopy__(). | Zac Medico | 2010-08-24 | 2 | -15/+20 |
| | |||||
* | Fix imports in _config submodules. | Zac Medico | 2010-08-24 | 2 | -2/+2 |
| | |||||
* | Bug #334319 - Don't call config.backup_changes("FEATURES") because it's | Zac Medico | 2010-08-24 | 1 | -2/+0 |
| | | | | | no longer needed and it causes problems with environment overrides of FEATURES. | ||||
* | * Make dblink instantiate the ConfigProtect object on demand instead of | Zac Medico | 2010-08-24 | 1 | -6/+18 |
| | | | | | | in the constructor, since it triggers lots of stat calls and it's wasteful for iter_owners. * Fix dblink ConfigProtect construction to use EROOT. | ||||
* | Bug #334265 - Fix AttributeError triggered by empty herd element in | Zac Medico | 2010-08-24 | 1 | -1/+1 |
| | | | | check_metadata_herds(). | ||||
* | More _pkg_use_enabled fixes | Sebastian Luther | 2010-08-24 | 3 | -46/+50 |
| | |||||
* | Atom.violated_conditionals: Always treat deps as violated if the flag is not ↵ | Sebastian Luther | 2010-08-24 | 2 | -0/+31 |
| | | | | in IUSE | ||||
* | Bug #334253 - Fix breakage in FEATURES=test-fail-continue logic. | Zac Medico | 2010-08-24 | 1 | -1/+5 |
| | |||||
* | config: Move _prune_incremental to helper | Sebastian Luther | 2010-08-24 | 2 | -23/+23 |
| | |||||
* | config: Move features_set into its own file | Sebastian Luther | 2010-08-24 | 2 | -63/+72 |
| | |||||
* | config: Split out LicenseManager and helper | Sebastian Luther | 2010-08-24 | 4 | -219/+303 |
| | |||||
* | ExtendedAtomDict: Add __delitem__ | Sebastian Luther | 2010-08-24 | 1 | -0/+6 |
| | |||||
* | Make config.setcpv() trigger regenerate() if the package from the | Zac Medico | 2010-08-23 | 1 | -0/+8 |
| | | | | | | previous setcpv call had package.env settings which modified FEATURES. This ensures that self.features is accurate (hopefully solving the issue in bug #44796, comment #77). | ||||
* | Handle SIGPIPE when unpack() extracts tar files through a pipe (bug #309001). | Zac Medico | 2010-08-23 | 1 | -1/+3 |
| | | | | | | | When checking ${PIPESTATUS[@]} for extraction of tar files in unpack(), use a new assert_sigpipe_ok() function which behaves the same as the existing assert() function except that it tolerates pipe writers being killed by SIGPIPE. | ||||
* | * Use iterators instead of keys() when possible. | Zac Medico | 2010-08-23 | 1 | -8/+8 |
| | | | | | | * Use iterators instead of sets for set.intersection() calls. * Use digraph.__iter__ and __contains__ as shortcuts to digraph.nodes access. | ||||
* | In depgraph._select_pkg_highest_available_imp(), make sure | Zac Medico | 2010-08-23 | 1 | -1/+2 |
| | | | | | allow_unstable_keywords is True before adding a package to _needed_unstable_keywords. |