Cannot search GitHub for “language:pkl” #216

Closed
opened 2025-12-30 01:22:19 +01:00 by adam · 4 comments
Owner

Originally created by @odenix on GitHub (Oct 13, 2024).

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.

Originally created by @odenix on GitHub (Oct 13, 2024). 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.
adam closed this issue 2025-12-30 01:22:19 +01:00
Author
Owner

@bioball commented on GitHub (Oct 13, 2024):

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!

@bioball commented on GitHub (Oct 13, 2024): 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: <img width="325" alt="Screenshot 2024-10-13 at 1 26 47 PM" src="https://github.com/user-attachments/assets/4179ca55-9a53-439f-a860-c6f721d77af8"> Also, nice to hear from you again!
Author
Owner

@odenix commented on GitHub (Oct 14, 2024):

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.

@odenix commented on GitHub (Oct 14, 2024): > 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.
Author
Owner

@HT154 commented on GitHub (Oct 15, 2024):

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.

@HT154 commented on GitHub (Oct 15, 2024): 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.
Author
Owner

@bioball commented on GitHub (Oct 18, 2024):

Good find! Closing this issue, as it's expected for now, and also there's not much for us to do here.

@bioball commented on GitHub (Oct 18, 2024): Good find! Closing this issue, as it's expected for now, and also there's not much for us to do here.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#216