summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buildstream/_pipeline.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/buildstream/_pipeline.py b/src/buildstream/_pipeline.py
index b5711109e..23fc52f63 100644
--- a/src/buildstream/_pipeline.py
+++ b/src/buildstream/_pipeline.py
@@ -169,10 +169,14 @@ class Pipeline():
# targets (list [Element]): The list of element targets
#
def check_remotes(self, targets):
- with self._context.messenger.timed_activity("Querying remotes for cached status", silent_nested=True):
+ with self._context.messenger.simple_task("Querying remotes for cached status", silent_nested=True) as task:
+ task.set_maximum_progress(len(targets))
+
for element in targets:
element._cached_remotely()
+ task.add_current_progress()
+
# dependencies()
#
# Generator function to iterate over elements and optionally