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