summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan van Berkom <tristan@codethink.co.uk>2020-12-22 15:41:39 +0900
committerTristan van Berkom <tristan@codethink.co.uk>2020-12-23 15:27:21 +0900
commitfab2c735bd8868b1dd8a5d13047d80b23fee6797 (patch)
tree10d0b60102bd8f6bacca543673ac64e87f982f94
parent5bf376fe64760549b20bb254c716885a16e8a6e1 (diff)
downloadbuildstream-fab2c735bd8868b1dd8a5d13047d80b23fee6797.tar.gz
_pipeline.py: Remove check_remotes()
-rw-r--r--src/buildstream/_pipeline.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/buildstream/_pipeline.py b/src/buildstream/_pipeline.py
index d53fc9d01..cd352579c 100644
--- a/src/buildstream/_pipeline.py
+++ b/src/buildstream/_pipeline.py
@@ -103,22 +103,6 @@ class Pipeline:
if task:
task.add_current_progress()
- # check_remotes()
- #
- # Check if the target artifact is cached in any of the available remotes
- #
- # Args:
- # targets (list [Element]): The list of element targets
- #
- def check_remotes(self, targets):
- 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