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:22:03 UTC
[buildstream] branch sstriker-normalize-variable-element-name
created (now 5395789)
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch sstriker-normalize-variable-element-name
in repository https://gitbox.apache.org/repos/asf/buildstream.git.
at 5395789 Use the normalized name for the element_name variable. As this is used in the build directories as well, it helps with certain build systems that have strict naming requirements in their filesystem layout.
This branch includes the following new commits:
new 5395789 Use the normalized name for the element_name variable. As this is used in the build directories as well, it helps with certain build systems that have strict naming requirements in their filesystem layout.
The 1 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] 01/01: Use the normalized name for the element_name
variable. As this is used in the build directories as well,
it helps with certain build systems that have strict naming requirements in
their filesystem layout.
Posted by gi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch sstriker-normalize-variable-element-name
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 5395789b01761022cc4653574ebe517c45c7e260
Author: Sander Striker <s....@striker.nl>
AuthorDate: Sat Jul 11 15:19:01 2020 +0200
Use the normalized name for the element_name variable. As this is used
in the build directories as well, it helps with certain build systems
that have strict naming requirements in their filesystem layout.
* src/buildstream/element.py
(Element.__init__): Set element-name to normal_name.
---
src/buildstream/element.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index 6a0fa5f..ec38be5 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -283,7 +283,7 @@ class Element(Plugin):
# Collect the composited variables and resolve them
variables = self.__extract_variables(project, meta)
- variables["element-name"] = self.name
+ variables["element-name"] = self.normal_name
self.__variables = Variables(variables)
# Collect the composited environment now that we have variables