summaryrefslogtreecommitdiff
path: root/src/buildstream/plugins
diff options
context:
space:
mode:
authorbst-marge-bot <marge-bot@buildstream.build>2019-10-18 07:38:21 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-10-18 07:38:21 +0000
commit32c0ca38b0c6ef825ac364c20bbdef51699ba20b (patch)
tree027b7781a1d258c63eb4c5b01f8e785153d1a801 /src/buildstream/plugins
parent67f9de28c898e59dfb56effeab07c4cc86929899 (diff)
parent43288a759cf84cb2de8e6abd33e4b75950bc31a5 (diff)
downloadbuildstream-32c0ca38b0c6ef825ac364c20bbdef51699ba20b.tar.gz
Merge branch 'traveltissues/notes' into 'master'
workspaces via sourcecache MR2.5 See merge request BuildStream/buildstream!1653
Diffstat (limited to 'src/buildstream/plugins')
-rw-r--r--src/buildstream/plugins/sources/workspace.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/buildstream/plugins/sources/workspace.py b/src/buildstream/plugins/sources/workspace.py
index 9cc524f89..b5b92eb62 100644
--- a/src/buildstream/plugins/sources/workspace.py
+++ b/src/buildstream/plugins/sources/workspace.py
@@ -54,19 +54,11 @@ class WorkspaceSource(Source):
# Cached unique key
self.__unique_key = None
- # the element source objects from the specified metasources
- self.__element_sources = []
# the digest of the Directory following the import of the workspace
self.__digest = None
# the CasBasedDirectory which the path is imported into
self.__cas_dir = None
- def set_element_sources(self, _element_sources: [Source]) -> None:
- self.__element_sources = _element_sources
-
- def get_element_sources(self) -> [Source]:
- return self.__element_sources
-
def track(self) -> SourceRef:
return None
@@ -76,8 +68,7 @@ class WorkspaceSource(Source):
self.__digest = node.get_str('ref')
def preflight(self) -> None:
- for source in self.get_element_sources():
- source.preflight()
+ pass # pragma: nocover
def get_ref(self) -> None:
return None