aboutcode-org / aboutcode-org/scancode-toolkit

Incorrect programming language reported for a config.h.in file

Aperta
#605 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug core and api easy good first issue nice to have
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

```
FileName: ./config.h.in
IsSource: True
IsScript: False
ProgLanguage: JavaScript+Lasso
```
From https://raw.githubusercontent.com/vysheng/tg/master/config.h.in
if I upgrade pygments to 2.2.0 the programming language is "Rexx"
We need to supplement this with a file name and extension registry: after all config.h.in is kinda well known autotools pattern

This is also closely related to #426

Reported by tglx

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.