Azure / bicep

Bicep is a declarative language for describing and deploying Azure resources
MIT License
3.23k stars 748 forks source link

Searching in github for language:Bicep returns zero resuilts #5224

Open StephenWeatherford opened 2 years ago

StephenWeatherford commented 2 years ago

1) Go to github: https://github.com/ 2) Search for resourceGroup (all github)

StephenWeatherford commented 2 years ago

I see nothing obviously wrong in Anthony's linguist PR: https://github.com/github/linguist/pull/5307

anthony-c-martin commented 2 years ago

See response here: https://github.com/github/linguist/discussions/5249#discussioncomment-428558

tl;dr is that apparently GitHub search doesn't use Linguist, and there are plans to replace it with a Linguist-based search. Note that GitHub's beta search experience does appear to be working with Linguist: https://cs.github.com/?scopeName=All+repos&scope=&q=language%3ABicep

majastrz commented 2 years ago

If there's no timeline for the switch to linguist-based search on GH side, are there any fixes we can do to make search work?

anthony-c-martin commented 2 years ago

If there's no timeline for the switch to linguist-based search on GH side, are there any fixes we can do to make search work?

Other than seeing if they'd be open to contributions to the private fork of https://github.com/src-d/enry which they maintain, I don't think so.