github-linguist/linguist

Not all BUILD files are Starlark (Starlark overrides shell)

Open

#5.008 geöffnet am 14. Sept. 2020

Auf GitHub ansehen
 (3 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Ruby (5.166 Forks)batch import
Add LanguageGood First Issue

Repository-Metriken

Stars
 (13.466 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 102T 5h) (19 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide