Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | --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 |
| | |||||
* | _show_circular_deps: Ignore solution that violate use dpendencies specified ↵ | Sebastian Luther | 2010-08-18 | 1 | -6/+39 |
| | | | | by parents. Warn the user if there are many cycles. | ||||
* | _show_circular_deps: Stop prunning the graph to show (other) parents of the ↵ | Sebastian Luther | 2010-08-18 | 1 | -14/+0 |
| | | | | involved packages in the merge list | ||||
* | _show_circular_deps: Fix handling of 'None' returned by ↵ | Sebastian Luther | 2010-08-18 | 1 | -1/+2 |
| | | | | extract_affecting_use and remove debug output | ||||
* | _emerge.depgraph._show_circular_deps(): Find suggestions if an atom occures ↵ | Sebastian Luther | 2010-08-18 | 1 | -11/+66 |
| | | | | more than once in a dep string | ||||
* | Print suggestions for circular dependencies | Sebastian Luther | 2010-08-18 | 1 | -8/+44 |
| | |||||
* | _emerge.depgraph._show_circular_deps(): Display only the smallest cycle | Sebastian Luther | 2010-08-18 | 1 | -1/+31 |
| | |||||
* | * Replace config._iuse_implicit_re with a callable _iuse_implicit_match | Zac Medico | 2010-08-18 | 1 | -7/+2 |
| | | | | | | | object that simply returns boolean, and update consumers. * Make check_required_use() take a callable for the iuse parameter, and pass in Package.use.is_valid_flag or iuse.__contains__ as appropriate. | ||||
* | Pass is_valid_flag to use_reduce if possible | Sebastian Luther | 2010-08-16 | 1 | -3/+3 |
| | |||||
* | Atom.violated_conditionals: Use iuse.is_valid_flag instead of iuse.all | Sebastian Luther | 2010-08-13 | 1 | -2/+3 |
| | |||||
* | Implement use dependency defaults | Sebastian Luther | 2010-08-13 | 1 | -8/+24 |
| | |||||
* | autounmask: Print use flag that trigger a given dep in comments | Sebastian Luther | 2010-08-12 | 1 | -2/+33 |
| | |||||
* | _emerge.depgraph: use writemsg() instead of print() (to silence tests) | Sebastian Luther | 2010-08-12 | 1 | -48/+40 |
| | |||||
* | Tests: resolver/test_slot_collisions: Check for slot_collision_solutions | Sebastian Luther | 2010-08-12 | 1 | -2/+5 |
| | |||||
* | slot_collision_handler: Return a string instead of priting the messages to ↵ | Sebastian Luther | 2010-08-12 | 1 | -3/+9 |
| | | | | screen. | ||||
* | Add new slot collision handler in _emerge/resolver/slot_collision.py | Sebastian Luther | 2010-08-12 | 1 | -186/+7 |
| | |||||
* | autounmask: Print comments for USE changes too | Sebastian Luther | 2010-08-12 | 1 | -0/+1 |
| | |||||
* | Make REQUIRED_USE work again. Without paren_reduce this time. | Sebastian Luther | 2010-08-11 | 1 | -9/+7 |
| | |||||
* | Use eapi_has_required_use for REQUIRED_USE eapi checks | Sebastian Luther | 2010-08-11 | 1 | -3/+3 |
| | |||||
* | Introduce portage.eapi. Use it everywhere. | Sebastian Luther | 2010-08-11 | 1 | -1/+2 |
| | |||||
* | portage.dep._dep_check_strict: Unused, removed | Sebastian Luther | 2010-08-10 | 1 | -25/+13 |
| | |||||
* | portage.dep.use_reduce: Work on depstrings instead of paren_reduce'd dep arrays | Sebastian Luther | 2010-08-10 | 1 | -8/+4 |
| | | | | | This change makes paren_reduce and paren_normalize calls for use_reduce redundant, resp. wrong. All consumers inside portage are adopted. | ||||
* | Allow flags from IUSE_IMPLICIT in REQUIRED_USE. Move checks to resolution time. | Sebastian Luther | 2010-08-10 | 1 | -0/+36 |
| | |||||
* | autounmask: rename _needed_user_config_changes in _needed_unstable_keywords. ↵ | Sebastian Luther | 2010-08-07 | 1 | -26/+17 |
| | | | | Let the tests check for it. | ||||
* | autounmask: Restart less often for use changes | Sebastian Luther | 2010-08-07 | 1 | -8/+26 |
| | |||||
* | Ensure that _select_pkg_highest_available_imp() falls back to an | Zac Medico | 2010-08-06 | 1 | -0/+7 |
| | | | | installed package if the autounmask path fails to select something. | ||||
* | Fix _select_pkg_highest_available_imp to reject installed packages | Zac Medico | 2010-08-06 | 1 | -0/+5 |
| | | | | | returned from _wrapped_select_pkg_highest_available_imp when necessary. | ||||
* | Rename allow_missing_keywords to allow_unstable_keywords since that's | Zac Medico | 2010-08-06 | 1 | -9/+9 |
| | | | | what it does. | ||||
* | Delay variable definitions in _pkg_visibility_check until | Zac Medico | 2010-08-06 | 1 | -2/+4 |
| | | | | they are needed. | ||||
* | Make dep_check use depgraph._pkg_use_enabled to query USE settings of ↵ | Zac Medico | 2010-08-06 | 1 | -0/+3 |
| | | | | new-style virtuals when appropriate. | ||||
* | Use finally block for autounmask handling inside | Zac Medico | 2010-08-06 | 1 | -3/+5 |
| | | | | _select_atoms_highest_available. | ||||
* | autounmask: Add ability to adjust USE | Sebastian Luther | 2010-08-06 | 1 | -23/+133 |
| | |||||
* | Add a _MaskReason.hint attribute that the --autounmask code can use | Zac Medico | 2010-08-06 | 1 | -2/+1 |
| | | | | to simplify the 'unstable keyword' check. | ||||
* | Use _get_masking_status() for the --autounmaks KEYWORDS check. | Zac Medico | 2010-08-06 | 1 | -2/+4 |
| | |||||
* | * Split out a _get_masking_status() method that returns categorized | Zac Medico | 2010-08-06 | 1 | -5/+13 |
| | | | | | message objects instead of plain strings. * Move masks to the "invalid" category. | ||||
* | Add a fake _test_ option to myopts that can be used for conditional test code. | Zac Medico | 2010-08-05 | 1 | -3/+3 |
| | |||||
* | _emerge.depgraph: If "/" not in trees, treat target_root as running_root ↵ | Sebastian Luther | 2010-08-05 | 1 | -1/+4 |
| | | | | (needed for tests) | ||||
* | Simplify passing of the backtracking parameters from one graph | Zac Medico | 2010-08-05 | 1 | -7/+4 |
| | | | | to the next. | ||||
* | * Add a --autounmask[=n] option and for now leave it disable | Zac Medico | 2010-08-05 | 1 | -6/+31 |
| | | | | | | | | by default in order to minimize the impact of any bugs. * If _wrapped_select_pkg_highest_available_imp returns an installed package when the user has not explicitly requested for this package to be replaced (typically via an atom on the command line), reject the installed package and try to unmask one. | ||||
* | _emerge.depgraph.get_backtrack_parameters(): Return a dict instead of a tuple | Sebastian Luther | 2010-08-05 | 1 | -5/+10 |
| |