[entropy.cache] drop EntropyCacher.CACHE_IDS['filter_satisfied_deps']

This commit is contained in:
Fabio Erculiani
2013-12-25 14:09:17 +01:00
parent 3fb6905387
commit cbe52e67ce
3 changed files with 5 additions and 4 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
Short term:
- drop EntropyCacher.CACHE_IDS from entropy.client.interfaces.{dep,cache}
- disable packagekit notifications (conflict with RigoDaemon)
- settings -> fix repos_installed and repos_installed_keys, they could be stale
- entropy.client.interfaces code refactoring (including inst_repo locking)
- entropy.client.interfaces code refactoring
- wrap available repositories usage around a ResourceLock, this will
decrease the need for an exclusively held Entropy Resources Lock.
-1
View File
@@ -42,7 +42,6 @@ class EntropyCacher(Singleton):
'atom_search': 'atom_search/atom_search_',
'check_package_update': 'check_update/package_update_',
'depends_tree': 'depends/depends_tree_',
'filter_satisfied_deps': 'depfilter/filter_satisfied_deps_',
'library_breakage': 'libs_break/library_breakage_',
'mask_filter': 'match/mask_filter',
}
+1 -2
View File
@@ -659,8 +659,7 @@ class CalculatorsMixin:
match_repo)
sha.update(const_convert_to_rawstring(cache_s))
cache_key = "%s_%s" % (
EntropyCacher.CACHE_IDS['filter_satisfied_deps'],
cache_key = "unsat_deps/%s" % (
sha.hexdigest())
cached = self._cacher.pop(cache_key)