github-linguist/linguist

Not all BUILD files are Starlark (Starlark overrides shell)

Open

#5,008 建立於 2020年9月14日

在 GitHub 查看
 (3 留言) (1 反應) (0 負責人)Ruby (5,166 fork)batch import
Add LanguageGood First Issue

倉庫指標

Star
 (13,466 star)
PR 合併指標
 (平均合併 102天 5小時) (30 天內合併 19 個 PR)

描述

Preliminary Steps

Please confirm you have...

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

貢獻者指南