summaryrefslogtreecommitdiffstats
path: root/lib/bb/event.py
diff options
context:
space:
mode:
authorBob Foerster <rfoerster@layerzero.com>2010-11-22 10:13:56 -0500
committerChris Larson <chris_larson@mentor.com>2010-12-16 10:39:27 -0700
commitbdd7813d8eecf7b6b636322e748ca6bf69118513 (patch)
treeb81124187accb664a4ed75af114341b613cd1112 /lib/bb/event.py
parent65b615c6df4c3891e3c600947c3f96f802407fa4 (diff)
downloadbitbake-bdd7813d8eecf7b6b636322e748ca6bf69118513.tar.gz
Show the user progress when loading the cache
Signed-off-by: Bob Foerster <robert@erafx.com> Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r--lib/bb/event.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py
index 044c5572f..3f291ec27 100644
--- a/lib/bb/event.py
+++ b/lib/bb/event.py
@@ -324,6 +324,25 @@ class ParseProgress(Event):
def __init__(self, current):
self.current = current
+class CacheLoadStarted(Event):
+ """Loading of the dependency cache has begun"""
+ def __init__(self, total):
+ Event.__init__(self)
+ self.total = total
+
+class CacheLoadProgress(Event):
+ """Cache loading progress"""
+ def __init__(self, current):
+ Event.__init__(self)
+ self.current = current
+
+class CacheLoadCompleted(Event):
+ """Cache loading is complete"""
+ def __init__(self, total):
+ Event.__init__(self)
+ self.total = total
+
+
class DepTreeGenerated(Event):
"""
Event when a dependency tree has been generated