summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
Commit message (Collapse)AuthorAgeFilesLines
* autounmask: Print use flag that trigger a given dep in commentsSebastian Luther2010-08-121-2/+33
|
* _emerge.depgraph: use writemsg() instead of print() (to silence tests)Sebastian Luther2010-08-121-48/+40
|
* Tests: resolver/test_slot_collisions: Check for slot_collision_solutionsSebastian Luther2010-08-121-2/+5
|
* slot_collision_handler: Return a string instead of priting the messages to ↵Sebastian Luther2010-08-121-3/+9
| | | | screen.
* Add new slot collision handler in _emerge/resolver/slot_collision.pySebastian Luther2010-08-121-186/+7
|
* autounmask: Print comments for USE changes tooSebastian Luther2010-08-121-0/+1
|
* Make REQUIRED_USE work again. Without paren_reduce this time.Sebastian Luther2010-08-111-9/+7
|
* Use eapi_has_required_use for REQUIRED_USE eapi checksSebastian Luther2010-08-111-3/+3
|
* Introduce portage.eapi. Use it everywhere.Sebastian Luther2010-08-111-1/+2
|
* portage.dep._dep_check_strict: Unused, removedSebastian Luther2010-08-101-25/+13
|
* portage.dep.use_reduce: Work on depstrings instead of paren_reduce'd dep arraysSebastian Luther2010-08-101-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 Luther2010-08-101-0/+36
|
* autounmask: rename _needed_user_config_changes in _needed_unstable_keywords. ↵Sebastian Luther2010-08-071-26/+17
| | | | Let the tests check for it.
* autounmask: Restart less often for use changesSebastian Luther2010-08-071-8/+26
|
* Ensure that _select_pkg_highest_available_imp() falls back to anZac Medico2010-08-061-0/+7
| | | | installed package if the autounmask path fails to select something.
* Fix _select_pkg_highest_available_imp to reject installed packagesZac Medico2010-08-061-0/+5
| | | | | returned from _wrapped_select_pkg_highest_available_imp when necessary.
* Rename allow_missing_keywords to allow_unstable_keywords since that'sZac Medico2010-08-061-9/+9
| | | | what it does.
* Delay variable definitions in _pkg_visibility_check untilZac Medico2010-08-061-2/+4
| | | | they are needed.
* Make dep_check use depgraph._pkg_use_enabled to query USE settings of ↵Zac Medico2010-08-061-0/+3
| | | | new-style virtuals when appropriate.
* Use finally block for autounmask handling insideZac Medico2010-08-061-3/+5
| | | | _select_atoms_highest_available.
* autounmask: Add ability to adjust USESebastian Luther2010-08-061-23/+133
|
* Add a _MaskReason.hint attribute that the --autounmask code can useZac Medico2010-08-061-2/+1
| | | | to simplify the 'unstable keyword' check.
* Use _get_masking_status() for the --autounmaks KEYWORDS check.Zac Medico2010-08-061-2/+4
|
* * Split out a _get_masking_status() method that returns categorizedZac Medico2010-08-061-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 Medico2010-08-051-3/+3
|
* _emerge.depgraph: If "/" not in trees, treat target_root as running_root ↵Sebastian Luther2010-08-051-1/+4
| | | | (needed for tests)
* Simplify passing of the backtracking parameters from one graphZac Medico2010-08-051-7/+4
| | | | to the next.
* * Add a --autounmask[=n] option and for now leave it disableZac Medico2010-08-051-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 tupleSebastian Luther2010-08-051-5/+10
|
* _emerge.depgraph: Keep _needed_user_config_changes during backtrackingSebastian Luther2010-08-051-7/+22
|
* _emerge.depgraph: Use _pkg_visibility_check() everywhereSebastian Luther2010-08-051-13/+22
|
* Automatically take packages masked by ~arch if needed and inform the userSebastian Luther2010-08-051-4/+89
|
* Bug #330179 - Ensure that depgraph._show_unsatisfied_dep() only showsZac Medico2010-08-041-5/+8
| | | | masked packages if one of them satisfies required IUSE.
* Bug #330179 - Fix depgraph._show_unsatisfied_dep() to show a maskedZac Medico2010-08-041-2/+2
| | | | | package when possible, instead of 'Missing IUSE' message for an unmasked package.
* portage.sets: Don't allow extended atoms unless explicitly told toSebastian Luther2010-07-271-1/+1
|
* --exclude: Add support for atoms with wildcardsSebastian Luther2010-07-231-16/+3
|
* Bug #328317 - If libc is artifically promoted in the merge listZac Medico2010-07-191-0/+13
| | | | (for bug #303567), promote os-headers before it.
* Make depgraph._serialize_tasks show a debug message when itZac Medico2010-05-301-0/+12
| | | | | enables 'complete' mode due to an uninstall, and fix the Package.__str__ method to display uninstall tasks properly.
* Move imports to the top and use textwrap.wrap() instead of the formatterZac Medico2010-05-291-14/+9
| | | | module where appropriate.
* Fix --rebuilt-binaries code to return existing_node where appropriate.Zac Medico2010-05-271-2/+2
|
* Tweak --rebuilt-binaries code to solve bug #306659 once again (logicZac Medico2010-05-271-2/+4
| | | | was reverted by the --rebuilt-binaries-timestamp patch).
* Add --rebuilt-binaries-timestamp optionSebastian Luther2010-05-271-4/+22
| | | | | | | This option makes emerge ignore binaries that would have been used for --rebuilt-binaries, if they are older than the given timestamp. Binaries are only reinstalled if they have a newer BUILD_TIME than the installed package (not only unequal) with this option.
* Bug #310947 - When expanding categories for atoms inside select_files,Zac Medico2010-05-271-2/+19
| | | | | make sure packages are available besides the installed one when preferring the category of an installed package.
* Add _emerge.Package.iuse.get_missing_iuse to return missing IUSE flags. ↵Sebastian Luther2010-05-251-2/+2
| | | | Restore original behavior of is_valid_flag.
* _emerge.depgraph._show_unsatisfied_dep(): Do an ealier missing IUSE check ↵Sebastian Luther2010-05-251-10/+7
| | | | and simplify some related code
* Simplify code by passing a list of flags to Package.iuse.is_valid_flagSebastian Luther2010-05-251-5/+1
|
* _emerge.depgraph._show_unsatisfied_dep(): properly check if something ↵Sebastian Luther2010-05-251-1/+1
| | | | belongs into missing_use
* Make parent_use parameter for portage.dep.Atom.violated_conditionals() ↵Sebastian Luther2010-05-251-3/+2
| | | | optional (for evaluated atoms)
* Fix traceback in _show_unsatisfied_dep, reported on forums:Zac Medico2010-05-251-1/+2
| | | | | | | | http://forums.gentoo.org/viewtopic-t-829445.html?sid=58b3b5cec88b8e2ffebc9991c90a473e File "/usr/lib/portage/pym/_emerge/depgraph.py", line 2273, in _show_unsatisfied_dep if not (violated_atom.use.enabled or violated_atom.use.disabled): AttributeError: 'NoneType' object has no attribute 'enabled'
* _emerge.depgraph._show_slot_collision_notice(): Improve atom list prunningSebastian Luther2010-05-221-6/+12
|