apache / apache/buildstream-plugins
Add plugins for handling meson subprojects
- Dominant language
- Python
- Stars
- 8
- Forks
- 16
- Avg merge
- 36m
- Merged PRs (30d)
- 2
Description
[See original issue on GitLab](https://gitlab.com/BuildStream/buildstream/-/issues/1026)
In GitLab by [[Gitlab user @coldtom]](https://gitlab.com/coldtom) on May 16, 2019, 14:47
## Background
Meson has an idea of [subprojects](https://mesonbuild.com/Subprojects.html), which seem to be like git submodules but in meson. As a result meson elements can try to download these subprojects at build time and cause errors. It would be nice for BuildStream to integrate nicely with this feature. Thankfully it is possible to just depend on the subprojects as additional sources if necessary and stage them in the correct place.
## Task description
Actually adding this support could be complicated by the fact that meson is an `Element`, and not a `Source`, so doesn't touch fetch or track. I don't know how it could be achieved in a nice way for users.
## Acceptance Criteria
Meson subprojects work nicely with BuildStream.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked GitLab issue and the Meson subprojects documentation to understand the expected behavior. Investigate how BuildStream separates Elements from Sources and how additional sources are staged; done means Meson subprojects work reliably without downloading them at build time.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100