summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-29 11:05:20 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-29 11:05:20 -0700
commitd4df29bb6ef816d624b96136ef83bcf7ecb4805a (patch)
tree465801e9f0d6b0a842c0255aff9bc06c2b3398aa
parent4244bf73804285cd6ba5c124da7e5ca1ec80caf6 (diff)
downloadportage-d4df29bb6ef816d624b96136ef83bcf7ecb4805a.tar.gz
portage-d4df29bb6ef816d624b96136ef83bcf7ecb4805a.tar.bz2
portage-d4df29bb6ef816d624b96136ef83bcf7ecb4805a.zip
Add a TODO note about replacing BlockerDB with an incremental depgraph
for solving bug #279623.
-rw-r--r--pym/_emerge/Scheduler.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py
index 68518e99f..3bfc74124 100644
--- a/pym/_emerge/Scheduler.py
+++ b/pym/_emerge/Scheduler.py
@@ -200,6 +200,11 @@ class Scheduler(PollScheduler):
self.edebug = 1
self.pkgsettings = {}
self._config_pool = {}
+
+ # TODO: Replace the BlockerDB with a depgraph of installed packages
+ # that's updated incrementally with each upgrade/uninstall operation
+ # This will be useful for making quick and safe decisions with respect
+ # to aggressive parallelization discussed in bug #279623.
self._blocker_db = {}
for root in trees:
self._config_pool[root] = []