summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Use bool(digraph) instead of empty()/is_empty().Zac Medico2011-06-023-6/+6
|
* dep_zapdeps: use digraph for preference selectionZac Medico2011-05-301-0/+3
| | | | | | | | | | This is required in order for dep_zapdeps to work as intended for solving cases of bug #264434 in which there is an installed package that may need to be uninstalled in order to resolve blockers. It fixes a failure to resolve blockers when attempting to replace media-video/ffmpeg with media-video/libav (symptom is similar to bug #339164, but with new-style virtual instead of old-style PROVIDE virtual).
* backtrack_depgraph: display_problems for each runZac Medico2011-05-271-2/+13
|
* depclean: warn for each unmatched argumentZac Medico2011-05-271-1/+4
| | | | This output is similar to that produced by unmerge().
* _LockProcess: fix _poll returncodev2.2.0_alpha37Zac Medico2011-05-261-1/+1
| | | | | We don't want to return the returncode directly from the subprocess. Return self.returncode instead.
* autounmask_broke_use_dep: flag masked pkgs tooZac Medico2011-05-261-2/+2
|
* _LockProcess: remove redundant scheduler attribZac Medico2011-05-261-1/+1
|
* AsynchronousLock: check type in _poll and _cancelZac Medico2011-05-261-3/+3
|
* unmerge: pass through writemsg_level paramZac Medico2011-05-261-1/+1
|
* discardBlocker: fix bug in slot match codeZac Medico2011-05-261-2/+3
|
* discardBlocker: fix cpv match so it worksZac Medico2011-05-261-2/+4
|
* depgraph: always check for autounmask breakageZac Medico2011-05-251-9/+10
| | | | | The 2.1.9 branch already does the same thing since commit 65736474c0d70cb10ff1290b3787b61d8a502aed.
* FakeVartree: use live meta if installed EAPI okZac Medico2011-05-251-2/+10
| | | | This will fix bug #368725.
* rebuilt-binaries: prefer newer unbuiltZac Medico2011-05-251-1/+7
|
* FakeVartree: tweak _aux_get_wrapper repo handlingv2.2.0_alpha36Zac Medico2011-05-241-2/+1
|
* FakeVartree: tweak _aux_get_wrapper EAPI handlingZac Medico2011-05-241-1/+4
|
* FakeVartree: preserve EAPI of installed packageZac Medico2011-05-241-1/+2
| | | | | | If the corresponding unbuilt ebuild has a different EAPI than the installed instance, then we want to preserve the EAPI meatadata from the installed instance.
* Fix a typo in last commit's debug message.Zac Medico2011-05-241-1/+1
|
* depgraph: detect deps broken by autounmaskZac Medico2011-05-241-1/+37
| | | | This will fix bug #368429.
* PackageUninstall: return early if pkg is missingZac Medico2011-05-241-1/+8
|
* PackageUninstall: remove extra cat/pf var initZac Medico2011-05-241-2/+2
| | | | Also, add to comments about ebuild-locks.
* test_merge_order: test asap PDEPEND (bug #180045)Zac Medico2011-05-241-0/+1
|
* PackageUninstall: log more outputZac Medico2011-05-231-9/+12
|
* PackageUninstall: make async with MergeProcessZac Medico2011-05-231-8/+49
| | | | | | | | This fixes another ebuild-locks issue like the one fixed in commit a81460175a441897282b0540cefff8060f2b92dc, but this time we use a subprocess to ensure that the ebuild-locks for pkg_prerm and pkg_postrm do not interfere with pkg_setup ebuild-locks held by the main process.
* MergeProcess: remove unnecessary dblink attributeZac Medico2011-05-231-2/+1
|
* PackageUninstall: use _unmerge_display()Zac Medico2011-05-231-17/+34
| | | | This is preparation for asynchronous support.
* unmerge: split out _unmerge_display() functionZac Medico2011-05-231-20/+44
| | | | | | | This will be useful for adding asynchronous support to the PackageUninstall class, since it will be able to call _unmerge_display() for the display portion, and then do the actual unmerge asynchronously.
* _serialize_tasks: prefer unsatisfied asap childZac Medico2011-05-221-6/+22
| | | | | Optimally, satisfied deps are always merged after the asap nodes that depend on them.
* _add_pkg_dep_string: handle satisfied virt_depZac Medico2011-05-221-0/+14
| | | | | This fixes a problem with the asap LIBC_PACKAGE_ATOM test case for bug #303567.
* _validate_blockers: reference bug 128809Zac Medico2011-05-221-4/+7
|
* Package: add new _gen_hash_key methodZac Medico2011-05-224-44/+53
|
* DepPriority: remove "rebuild" attributeZac Medico2011-05-213-36/+9
| | | | | | | | | | | | | | | | Since the addition of DepPriorityNormalRange and DepPrioritySatisfiedRange in commit bd369956b2a2fbc019a655a372628998499156c0, which solves most cases of bug 199856, the Depriority.rebuild attribute doesn't appear to make any difference. The edges that this attribute differentiates are already naturally differentiated by the fact that the child node of a satisfied buildtime dependency that's not being rebuilt will naturally be identified as a leaf node earlier and removed from the graph, thereby eliminating the edge before there's an opportunity to compare it with a higher priority rebuild edge. The addition of the "optional" attribute (in commit 15476805a156acd11fdaaa19212691e8ee09b309) also plays a role here, since it converts some satisfied buildtime edges to optional edges, thereby reducing their priority.
* Task.__eq__: allow _hash_key as inputZac Medico2011-05-211-1/+3
| | | | This is used by depgraph._pkg() for lookups.
* test_merge_order: test hard blocker resolutionZac Medico2011-05-201-2/+1
|
* Fix grammar in previous commit.Zac Medico2011-05-201-1/+1
|
* depclean: adjust failure message wrt --with-bdepsZac Medico2011-05-201-9/+21
| | | | | We need to be more explicit about using --with-bdeps=y, since this subtlety often leads to confusion.
* Task: optimize == and != _hash_key comparisonZac Medico2011-05-201-2/+8
|
* Add FEATURES=distcc-pump support.MATSUU Takuto2011-05-201-1/+1
| | | | This will fix bug #288597.
* Task: precalculate _hash_valueZac Medico2011-05-193-3/+2
|
* Task: remove unnecessary _get_hash_key() methodZac Medico2011-05-193-28/+12
|
* Package: precalculate _hash_keyMarat Radchenko2011-05-191-11/+9
| | | | | This eliminates an expensive getattr call in _get_hash_key(), which greatly improves depgraph performance on a weak ARM cpu.
* _pkg_visibility_check: if in graph then visibleZac Medico2011-05-171-0/+9
|
* _LockProcess.unlock: assert successful returncodeZac Medico2011-05-171-0/+3
|
* --autounmask-write: use CONFIGROOT moreZac Medico2011-05-171-1/+3
|
* Fix a typo in a comment.Zac Medico2011-05-171-1/+1
|
* depgraph._resolve: use temp set for autounmaskZac Medico2011-05-171-4/+8
|
* display_autounmask: optimize check_if_latestZac Medico2011-05-171-15/+16
|
* test_asynchronous_lock: simulate SIGINT from ttyZac Medico2011-05-171-2/+2
|
* AsynchronousTask: tweak poll() logicZac Medico2011-05-171-2/+3
|
* AsynchronousLock: implement _poll() and testZac Medico2011-05-172-0/+12
|