Add plugins for handling meson subprojects

Open
#5 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Domain
build-system

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.

Description

enhancement

See original issue on GitLab
In GitLab by [Gitlab user @coldtom] on May 16, 2019, 14:47

Background

Meson has an idea of subprojects, 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.

Dominant language
Python
Stars
8
Forks
16
Avg merge
36m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/buildstream-plugins

All issues in apache/buildstream-plugins

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.