Not all BUILD files are Starlark (Starlark overrides shell)
#5,008 创建于 2020年9月14日
仓库指标
- Star
- (13,466 star)
- PR 合并指标
- (平均合并 102天 5小时) (30 天内合并 19 个 PR)
描述
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