bazel-contrib / bazel-contrib/rules_python
Support non-bash based script bootstrap
- Langage dominant
- Starlark
- Étoiles
- 688
- Forks
- 721
- Merge moyen
- 15 h 7 min
- PR mergées (30 j)
- 76
Description
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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- bash, shell
- Domaine
- build-system
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 38/100