BuildStream silently allows overriding list defined in include
@nathanwilliams-ct is already working on this.
Since Aug 4, 2026.
Assessment
This issue has not been assessed yet.
Description
When you define a list like
build-depends:
- foo.bst
- bar.bst
in include and then set same in element body, there will be silent possibly unexpected replace when user was supposed to instead append. I propose behaviour be slightly adjusted such that when you redefine list with above syntax in element, there will be a warning that can be made fatal. (implicit-list-replace or something else, I'm up to different names) To fix the warning, you would have to in element in this case state intent you want to replace existing list through
build-depends:
(=):
- foo.bst
- bar.bst
If the list is not defined before, then there will be no warning with the short-hand syntax.
- Dominant language
- Python
- Stars
- 144
- Forks
- 45
- Avg merge
- 20h 38m
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/buildstream
-
logging
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
apache/buildstream#2150 · 3 comments ·
-
question
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
apache/buildstream#2143 · 2 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
apache/buildstream#2194 ·
-
Modification time of an element with an open workspace propagates into consumer element's sandbox Openbug
Difficulty 3/5 1-2 days Newbie friendliness 58/100
apache/buildstream#2186 · 2 comments · 2 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
apache/buildstream#2184 · 1 comment ·
All issues in apache/buildstream
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100