bazel-contrib/rules_python

Support non-bash based script bootstrap

Open

#3,012 建立於 2025年6月20日

在 GitHub 查看
 (0 留言) (2 反應) (0 負責人)Starlark (705 fork)auto 404
Good first issuecore-rulestype: feature request

倉庫指標

Star
 (679 star)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南