bazel-contrib / bazel-contrib/rules_python

Support non-bash based script bootstrap

Abierto
#3,012 0 comentarios 2 reacciones 0 asignados Ver en GitHub
core-rules Good first issue type: feature request
Lenguaje dominante
Starlark
Estrellas
688
Forks
721
Merge medio
15 h 7 min
PR fusionados (30 d)
76

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
bash, shell
Área
build-system
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.