apache / apache/buildstream-plugins
Add plugins for handling meson subprojects
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 8
- Fork
- 16
- Merge trung bình
- 36 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
[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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với GitLab issue được liên kết và tài liệu về Meson subprojects để hiểu hành vi được kỳ vọng. Tìm hiểu cách BuildStream tách Elements khỏi Sources và cách các Sources bổ sung được stage; công việc được xem là hoàn tất khi Meson subprojects hoạt động ổn định mà không phải tải chúng xuống trong thời gian build.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- build-system
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100