bazel-contrib / bazel-contrib/rules_python
Support non-bash based script bootstrap
- Ngôn ngữ chính
- Starlark
- Star
- 688
- Fork
- 721
- Merge trung bình
- 15 giờ 7 phút
- Pull request đã merge (30 ngày)
- 76
Mô tả
Right now, the stage1 script bootstrap requires bash. It has a variety of bashisms or non-posix constructs that prevent it from working in other shells.
Bash isn't bad, it is just a heavier weight shell than e.g. dash (default on ubuntu/debian).
Looking at the code most changes are minor. The major change is the usage of arrays -- posix doesn't actually specify arrays.
Related: https://github.com/bazel-contrib/rules_python/issues/2500
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by locating the stage1 script bootstrap and reviewing its bash-specific constructs, especially the array usage. Test the bootstrap with dash, the non-bash shell called out in the issue, and confirm that it completes successfully without changing its existing behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- bash, shell
- Lĩnh vực
- build-system
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 38/100