This is an automated email from the ASF dual-hosted git repository. tvb pushed a commit to branch chandan/stack-disallow-sources in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 688fffd6a3c50cf1c5cd00a80bf395eaf73dc947 Author: Chandan Singh <[email protected]> AuthorDate: Sun Jul 14 15:42:39 2019 +0100 elements/stack.py: Disallow sources Since stack element ignores sources, explicitly raise a warning when sources are supplied to avoid potential confusion. --- src/buildstream/plugins/elements/stack.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/buildstream/plugins/elements/stack.py b/src/buildstream/plugins/elements/stack.py index 97517ca..6b97e44 100644 --- a/src/buildstream/plugins/elements/stack.py +++ b/src/buildstream/plugins/elements/stack.py @@ -33,6 +33,9 @@ class StackElement(Element): # This plugin has been modified to avoid the use of Sandbox.get_directory BST_VIRTUAL_DIRECTORY = True + # This element ignores sources + BST_FORBID_SOURCES = True + def configure(self, node): pass
