You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by gi...@apache.org on 2020/12/29 13:08:42 UTC
[buildstream] branch chandan/stack-disallow-sources created (now
74a98f2)
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch chandan/stack-disallow-sources
in repository https://gitbox.apache.org/repos/asf/buildstream.git.
at 74a98f2 elements/stack.py: Indicate that it does not run any commands
This branch includes the following new commits:
new 688fffd elements/stack.py: Disallow sources
new 74a98f2 elements/stack.py: Indicate that it does not run any commands
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[buildstream] 02/02: elements/stack.py: Indicate that it does not
run any commands
Posted by gi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch chandan/stack-disallow-sources
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 74a98f265fcf43ce36bf8c9af33bb23f31470ba1
Author: Chandan Singh <ch...@chandansingh.net>
AuthorDate: Sun Jul 14 15:43:36 2019 +0100
elements/stack.py: Indicate that it does not run any commands
---
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 6b97e44..0521e96 100644
--- a/src/buildstream/plugins/elements/stack.py
+++ b/src/buildstream/plugins/elements/stack.py
@@ -36,6 +36,9 @@ class StackElement(Element):
# This element ignores sources
BST_FORBID_SOURCES = True
+ # This element does not run any commands
+ BST_RUN_COMMANDS = False
+
def configure(self, node):
pass
[buildstream] 01/02: elements/stack.py: Disallow sources
Posted by gi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch chandan/stack-disallow-sources
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 688fffd6a3c50cf1c5cd00a80bf395eaf73dc947
Author: Chandan Singh <ch...@chandansingh.net>
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