Open StephenWeatherford opened 2 years ago
I see nothing obviously wrong in Anthony's linguist PR: https://github.com/github/linguist/pull/5307
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
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?
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.
1) Go to github: https://github.com/ 2) Search for resourceGroup (all github)
860K results 3) Click Advanced Search (bottom) 4) Set language to Bicep 5) Search !) No results
This returns a bunch of results: https://github.com/Azure/bicep/search?q=resourceGroup
As does the same query with "extension:bicep" https://github.com/search?q=resourceGroup+extension%3Abicep&type=Code&ref=advsearch&l=&l= !) But "language:Bicep" returns nothing: https://github.com/search?q=resourceGroup+language%3ABicep&type=Code&ref=advsearch&l=&l=