summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/resolver/slot_collision.py
Commit message (Collapse)AuthorAgeFilesLines
* Add debug output for cases like bug #453400.Zac Medico2013-01-231-0/+20
|
* Use unicode_literals more.Zac Medico2013-01-181-20/+35
| | | | | This helps to ensure consistent results, regardless of whether we're using Python 2 or Python 3.
* get_real_flag: handls use-dep default bug #446666Zac Medico2012-12-091-0/+3
|
* Rename Package.metadata to _metadata.Zac Medico2012-11-261-1/+1
| | | | | The raw metadata is considered a private low-level internal. This makes the Package class consistent with the _pkg_str class.
* EAPI="4-python" and EAPI="5-progress": Add support for use.aliases and ↵Arfrever Frehtes Taifersar Arahesis2012-11-151-2/+3
| | | | package.use.aliases.
* Rename slot-abi stuff to refer to slot-operator.Zac Medico2012-08-291-2/+2
| | | | | This makes it consistent with the language in the PMS eapi-5 branch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=5d6749ac9e5ddc5b1daaad7737b65fa81c6ece47
* slot_conflict_handler: handle slot_abiZac Medico2012-06-271-14/+30
| | | | | We have to distinguish this from the "version" conflict, in order to avoid invalid vercmp calls when there's not version.
* Limit long slot conflict loop for bug #410801.Zac Medico2012-04-051-3/+15
|
* Display EROOT when ROOT != "/".Zac Medico2011-12-191-1/+1
| | | | | | | Since commit a715b65f7bd36409c1283e6911265d1f4405ab7a, the Package.root and RootConfig.root attributes refer to EROOT instead of ROOT. Therefore, adjust display code so that EROOT is only displayed when ROOT != "/".
* REQUIRED_USE: don't save in built packagesZac Medico2011-11-071-1/+1
| | | | | | | It should be safe to assume that REQUIRED_USE is satisfied if the package is built, so it's a waste to save it. Also, fix code which assumes that built Package instances have a REQUIRED_USE key in their metadata.
* slot_collision: fix more for bug 374423Zac Medico2011-07-101-0/+9
|
* slot_collision: fix AttributeError for bug 374423Zac Medico2011-07-101-0/+14
|
* slot_collision: be consistent with missing IUSEZac Medico2011-07-091-7/+14
| | | | | | Special handling for missing IUSE that was introduced in commit 9a193d42032005396800eb30e550691513529c79 is also useful in one more spot.
* slot_collision_notice: don't omit any use depZac Medico2011-06-101-14/+16
| | | | | | When USE flags are removed, it can be essential to see all broken reverse dependencies here, so don't omit any. If the list is long, people can simply use a pager.
* Update timestamps in headers of modified files.v2.2.0_alpha28Zac Medico2011-03-181-1/+1
|
* slot_conflict: tweak message and fix grammarZac Medico2011-03-151-1/+1
|
* slot collision suggestions: Avoid showing redundant suggestions.Sebastian Luther2011-01-311-14/+71
| | | | http://forums.gentoo.org/viewtopic-t-862257.html?sid=9ba8646a15044fe024a41154df351c6a
* slot_conflict_handler: fix for bug #348389Zac Medico2010-12-151-8/+17
| | | | | | | | This fixes a broken assumption about USE dep matching behavior, since commit 766988aa56bb1bbd2796f96946e62ed78cdf259 introduced stricter IUSE matching by using Atom.unevaluated_atom for IUSE checks (thus changing behavior in cases where conditional USE dependencies disappear upon evaluation).
* highlight_violations: handle unversioned atomZac Medico2010-12-151-8/+12
| | | | A test case is included, which triggers the previously broken case.
* Fix malformed atom formatting for slot conflict.Zac Medico2010-11-131-1/+1
| | | | This fixes bug #345097.
* slot_collision.py: Define basestring for python3.Mao PU2010-10-171-0/+5
|
* Fix a typo in a comment.Zac Medico2010-10-111-1/+1
|
* slot collision handler: Prevent excessive running timeSebastian Luther2010-10-111-0/+9
| | | | | | | The number of configurations to check grows exponentially in the number of conflict_pkgs. To prevent excessive running times, only check the "all-ebuild" configuration, if the number of conflict packages is too large.
* slot collision handler: Fix bug in atom pretty printer for =* atomsSebastian Luther2010-09-191-0/+8
|
* slot_collision_handler: Fix bug related to highlight_violations (bug 336085)Sebastian Luther2010-09-061-10/+6
|
* Bug #336085 - Fix logic error insideZac Medico2010-09-051-1/+6
| | | | | | slot_conflict_handler._prepare_conflict_msg_and_check_for_specificity() which causes an irrelevant "use" collision reason to be passed to highlight_violations().
* Rename the portage.sets module to portage._sets since it will be usefulZac Medico2010-08-301-1/+1
| | | | | 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 Arahesis2010-08-291-8/+8
|
* fix ppkg type handling in slot_conflict_handlerSebastian Luther2010-08-271-2/+3
|
* 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.
* 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().
* More _pkg_use_enabled fixesSebastian Luther2010-08-241-27/+23
|
* slot collision handler: Drop solutions that violate REQUIRED_USESebastian Luther2010-08-201-0/+18
|
* slot collision handler: Work correctly with --autounmaskSebastian Luther2010-08-201-26/+34
|
* Atom.violated_conditionals: Use iuse.is_valid_flag instead of iuse.allSebastian Luther2010-08-131-4/+5
|
* Implement use dependency defaultsSebastian Luther2010-08-131-4/+6
|
* slot_collision_handler: Add more documentationSebastian Luther2010-08-121-0/+59
|
* slot_collision_handler: Fix function names broken by import changesSebastian Luther2010-08-121-3/+3
|
* slot_collision_handler: Minor formatting changesSebastian Luther2010-08-121-2/+2
|
* slot_collision_handler: Pass noiselevel=-1 to writemsg for debug outputSebastian Luther2010-08-121-16/+20
|
* Remove unused importSebastian Luther2010-08-121-2/+0
|
* slot_collision_handler: Return a string instead of priting the messages to ↵Sebastian Luther2010-08-121-21/+24
| | | | screen.
* slot_collision_handler: Don't print an explanation for version based conflicts.Sebastian Luther2010-08-121-1/+11
|
* Rework the way the slot_collision_handler selects packages for display and ↵Sebastian Luther2010-08-121-53/+150
| | | | highlight violated parts of atoms.
* Add new slot collision handler in _emerge/resolver/slot_collision.pySebastian Luther2010-08-121-0/+654