diff options
author | bst-marge-bot <marge-bot@buildstream.build> | 2019-10-18 07:38:21 +0000 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-10-18 07:38:21 +0000 |
commit | 32c0ca38b0c6ef825ac364c20bbdef51699ba20b (patch) | |
tree | 027b7781a1d258c63eb4c5b01f8e785153d1a801 /src/buildstream/plugins | |
parent | 67f9de28c898e59dfb56effeab07c4cc86929899 (diff) | |
parent | 43288a759cf84cb2de8e6abd33e4b75950bc31a5 (diff) | |
download | buildstream-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.py | 11 |
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 |