apple / pkl

A configuration as code language with rich validation and tooling.
https://pkl-lang.org
Apache License 2.0
10.18k stars 274 forks source link

Cannot search GitHub for “language:pkl” #681

Open translatenix opened 2 days ago

translatenix commented 2 days ago

The following search query fails with “unknown language: Pkl”: repo:apple/pkl language:Pkl

The following search query works and finds .pkl files: repo:apple/pkl language:Pickle

Not sure what’s going on here, but something is off.

bioball commented 2 days ago

Yeah, I'm not really sure; seems like GitHub is a little bugged.

The languages panel correctly identifies Pkl as one of the languages here:

Screenshot 2024-10-13 at 1 26 47 PM

Also, nice to hear from you again!

translatenix commented 2 days ago

The languages panel correctly identifies Pkl as one of the languages here:

Clicking “Pkl 5.7%” is how I discovered this problem.

Also, nice to hear from you again!

Thanks! Time to give the Windows support a try.

HT154 commented 1 day ago

It looks like this is expected (for now) behavior. From https://github.com/github-linguist/linguist/blob/main/docs/troubleshooting.md:

Note: New languages will not appear in GitHub's search results for some time after the pull request has been merged and the new Linguist release deployed to GitHub.com. This is because GitHub's search uses go-enry for language detection which tends to lag behind Linguist by a few weeks to months. This in turn requires an update to the underlying search code once go-enry is inline with Linguist.