Not all BUILD files are Starlark (Starlark overrides shell)
#5.008 aberto em 14 de set. de 2020
Métricas do repositório
- Stars
- (13.466 stars)
- Métricas de merge de PR
- (Mesclagem média 102d 5h) (19 fundiu PRs em 30d)
Description
Preliminary Steps
Please confirm you have...
- reviewed How Linguist Works,
- reviewed the Troubleshooting docs,
- considered implementing an override,
- verified an issue has not already been logged for your issue (linguist issues).
Problem Description
I had never heard of Starlark before, but apparently it overrides regular shell scripts in many contexts.
Over 50% of our package build instructions which are mostly bash scripts are recognized as Starlark at the moment. Here is one rather clear example, but the search gives you many others.
Adding shebang lines in each file is not an option because it simply bloats all descriptions. We might add overrides in the future because many of the files are ambiguous with Python as well, but seeing a rather unusual variant of python being detected so prominently seems like an issue that should be resolved.
URL of the affected repository:
https://github.com/lunar-linux/moonbase-core
Last modified on:
2020/09/14
Expected language:
Shell
Detected language:
Starlark