aboutcode-org / aboutcode-org/scancode-toolkit
Incorrect programming language reported for a config.h.in file
Open
bug
core and api
easy
good first issue
nice to have
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 791
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 5
Description
```
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
Contributor guide
Assessment
This issue has not been assessed yet.