Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Don't miss a "missing IUSE" because of [foo?] -> [] evaluations. | Sebastian Luther | 2010-09-13 | 1 | -15/+14 | |
| | | | | This patch also drops flags with EAPI 4 use dep defaults from use.required. | |||||
* | Ensure that depgraph._show_unsatisfied_dep() doesn't suggest changes | Zac Medico | 2010-09-10 | 1 | -0/+15 | |
| | | | | to masked or forced USE flags. | |||||
* | In depgraph._show_unsatisfied_dep(), if the child package is masked then a | Zac Medico | 2010-09-10 | 1 | -0/+7 | |
| | | | | | change to parent USE is not a valid solution (a normal mask message should be displayed instead). | |||||
* | Fix typo in comment. | Arfrever Frehtes Taifersar Arahesis | 2010-09-08 | 1 | -1/+1 | |
| | ||||||
* | Bug #332719 - For removal operations, use _dep_check_composite_db | Zac Medico | 2010-09-08 | 1 | -10/+39 | |
| | | | | | for availability and visibilty checks. This provides consistency with install operations, so we don't get install/uninstall cycles. | |||||
* | Make previous commit reference self._depgraph._pkg_visibility_check(). | Zac Medico | 2010-09-08 | 1 | -1/+1 | |
| | ||||||
* | In depgraph._dep_check_composite_db._visible(), wrap installed package | Zac Medico | 2010-09-08 | 1 | -1/+1 | |
| | | | | visiblity checks with self._pkg_visibility_check(). | |||||
* | Move the Scheduler mergelist constructor parameter to the graph_config | Zac Medico | 2010-09-06 | 1 | -4/+7 | |
| | | | | object. | |||||
* | Fix depgraph._wrapped_select_pkg_highest_available_imp() to check | Zac Medico | 2010-09-06 | 1 | -1/+3 | |
| | | | | | USE settings for installed packages when --newuse is enabled in cases when none of the packages match a given USE dep. | |||||
* | Make the depgraph and FakeVartree cooperate to consistently create | Zac Medico | 2010-09-06 | 1 | -1/+5 | |
| | | | | | Package instances whose root_config attribute is a specially optimized RootConfig that has a FakeVartree instead of a real vartree. | |||||
* | In depgraph.schedulerGraph(), make sure all references are broken | Zac Medico | 2010-09-06 | 1 | -0/+1 | |
| | | | | to packages in the FakeVartrees. | |||||
* | Make depgraph.schedulerGraph() return an instance of | Zac Medico | 2010-09-06 | 1 | -1/+23 | |
| | | | | | | | _scheduler_graph_config instead of just a digraph. This new object includes instances of FakeVartree and a package cache that is pruned to contain only installed packages or those in the digraph. | |||||
* | Fix want_restart_for_use_change() to flatten deps before comparing tokens as ↵ | Sebastian Luther | 2010-09-05 | 1 | -2/+2 | |
| | | | | sets. | |||||
* | Fix depgraph._wrapped_select_pkg_highest_available_imp() to check | Zac Medico | 2010-09-05 | 1 | -1/+1 | |
| | | | | USE settings for installed packages when --newuse is enabled. | |||||
* | Account for package.use.force/mask in previous commit. | Zac Medico | 2010-09-03 | 1 | -2/+4 | |
| | ||||||
* | autounmask: Don't print masked/forced flags in "required by" comments | Sebastian Luther | 2010-09-03 | 1 | -0/+4 | |
| | ||||||
* | Old "Change USE" message: Don't screw up if the highest version is masked ↵ | Sebastian Luther | 2010-09-03 | 1 | -7/+17 | |
| | | | | and parent changes exist | |||||
* | Bug #335642 - Also make show_masked_packages() display to stdout since | Zac Medico | 2010-09-01 | 1 | -2/+2 | |
| | | | | depgraph._show_unsatisfied_dep() calls it. | |||||
* | Bug #335642 - Revert depgraph._show_unsatisfied_dep() to display to | Zac Medico | 2010-09-01 | 1 | -14/+14 | |
| | | | | | | | | | stdout, so that app-portage/autounmask continues to work. Note that depgraph.display_problems() temporarily overrides the stdout stream to point to stderr, so mask messages shown there continue to go to stderr. Maybe the emerge --autounmask will eventually make app-portage/autounmask obsolete, but for now we should support both approaches since emerge --autounmask is relatively experimental. | |||||
* | Fix depgraph._serialize_tasks() so that portage-9999 is always promoted | Zac Medico | 2010-08-31 | 1 | -1/+3 | |
| | | | | to the front of the merge list when it is reinstalled. | |||||
* | When portage updates itself and the new version either inherits | Zac Medico | 2010-08-31 | 1 | -1/+3 | |
| | | | | | | | | | git.eclass or has 9999 in its version, trigger the 'use copy of current sources for install, then restart portage' routine. This is required since with the live git portage-9999 ebuild we can't use the version to detect incompatible changes to ebuild.sh. This issue was noticed due to recent versions of ebuild.sh expecting PORTAGE_BZIP2_COMMAND to be set, causing incompatibility with installed portage-9999 instances. | |||||
* | Rename the portage.sets module to portage._sets since it will be useful | Zac Medico | 2010-08-30 | 1 | -2/+2 | |
| | | | | | in the upcoming 2.1.9 branch which will not have sets support but will still have the code in private and disabled form. | |||||
* | Fix some typos. | Arfrever Frehtes Taifersar Arahesis | 2010-08-29 | 1 | -1/+1 | |
| | ||||||
* | If there are circular dependencies, and circular_dependency_handler | Zac Medico | 2010-08-28 | 1 | -3/+6 | |
| | | | | | | 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. | |||||
* | In depgraph._show_unsatisfied_dep(), show some debug info if | Zac Medico | 2010-08-28 | 1 | -5/+12 | |
| | | | | Atom.violated_conditionals() raises InvalidAtom. | |||||
* | Fix breakage from previous commit. | Zac Medico | 2010-08-26 | 1 | -0/+2 | |
| | ||||||
* | Use Package.visible to simplify visibility checks for installed | Zac Medico | 2010-08-26 | 1 | -11/+1 | |
| | | | | packages, no that it accounts for invalid metadata. | |||||
* | Ensure SystemExit is never caught. | Zac Medico | 2010-08-26 | 1 | -2/+2 | |
| | ||||||
* | Remove obsolete TODO comment. | Zac Medico | 2010-08-25 | 1 | -3/+0 | |
| | ||||||
* | 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. | |||||
* | Bug #334365 - Mask packages with invalid metadata as early as possible, | Zac Medico | 2010-08-25 | 1 | -11/+10 | |
| | | | | | | 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. | |||||
* | 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. | |||||
* | More _pkg_use_enabled fixes | Sebastian Luther | 2010-08-24 | 1 | -18/+22 | |
| | ||||||
* | * 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. | |||||
* | Pass a keyword hint from getmaskingstatus() to the autounmask code. | Zac Medico | 2010-08-23 | 1 | -2/+11 | |
| | ||||||
* | Fix broken writemsg call in depgraph._resolve() that triggers this error: | Zac Medico | 2010-08-21 | 1 | -1/+1 | |
| | | | | TypeError: writemsg() got an unexpected keyword argument 'file' | |||||
* | --autounmask: If we can't do a change because of REQUIRED_USE, give at least ↵ | Sebastian Luther | 2010-08-20 | 1 | -11/+41 | |
| | | | | a good error message | |||||
* | --autounmask: Don't do use changes if they violate REQUIRED_USE | Sebastian Luther | 2010-08-20 | 1 | -19/+32 | |
| | | | | This also fixes some pkg.use.enabled / _pkg_use_enabled(pkg) bugs | |||||
* | slot collision handler: Work correctly with --autounmask | Sebastian Luther | 2010-08-20 | 1 | -3/+1 | |
| | ||||||
* | Add experimental EPREFIX/EROOT support to the config and vartree | Zac Medico | 2010-08-19 | 1 | -4/+1 | |
| | | | | | | | | | classes, and use it in ResolverPlayground to emulate a prefix-like environment. This fixes ResolverPlayground so that it doesn't have to abuse the --root and --root-deps options in order to create a testing environment. Instead it simply creates a temporary EPREFIX. WARNING: EPREFIX/EROOT support is experimental and may be incomplete for cases in which EPREFIX is non-empty. | |||||
* | Rename the bdeps_root variable to depend_root, since it's used to control | Zac Medico | 2010-08-19 | 1 | -4/+4 | |
| | | | | | DEPEND and in the future we may have separate build-time dep types for host and target. | |||||
* | Eliminate the bdeps_optional variables inside depgraph._add_pkg_deps(), | Zac Medico | 2010-08-19 | 1 | -4/+3 | |
| | | | | and use the pkg.built attribute instead. | |||||
* | Move the clever parts of depgraph._show_circular_deps into its own module. | Sebastian Luther | 2010-08-19 | 1 | -155/+13 | |
| | | | | This also fixes some bugs related to autounmask. | |||||
* | cycle-finder: Don't try to change flags that are in use.{make,focrce} | Sebastian Luther | 2010-08-19 | 1 | -16/+5 | |
| | ||||||
* | When suggesting solutions inside _show_circular_deps(), ignore solutions | Zac Medico | 2010-08-18 | 1 | -0/+16 | |
| | | | | that involve changes to use.mask or use.force settings. | |||||
* | Fix deprecation warnings from paren_reduce. | Zac Medico | 2010-08-18 | 1 | -2/+2 | |
| | ||||||
* | Fix small bug in _show_circular_deps and add some tests | Sebastian Luther | 2010-08-18 | 1 | -2/+1 | |
| |