bazel-contrib / bazel-contrib/rules_python
Support non-bash based script bootstrap
- 主要言語
- Starlark
- スター
- 688
- フォーク
- 721
- 平均マージ
- 15時間 7分
- マージ済み PR(30日)
- 76
説明
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
コントリビューションガイド
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- bash, shell
- 領域
- build-system
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100