News for hackers. Stuff that matters.
Re:GitHub: Can no longer search code without being logged in by __MatrixMan__ on Monday November 27, 2023 @10:40AM (#38433535)
You'd think, with all that work going on under the hood, that they'd be able to support searches for repos by multiple paths:

> Give me repos with project.toml and a flake.nix at the root

The interface supports it, but searches come back empty. I end up leaving scripts running while I sleep which walk search results and narrow them by just checking to see if the files are there.

If you're out there Microsoft, please fix your search so I can stop being a bad citizen.

Re:GitHub: Can no longer search code without being logged in by citruscomputing on Monday November 27, 2023 @07:34PM (#38440702)
The new search is still so useless that I just maintain a full local clone of our org's code. Someone was requesting perms to run a script to search across the org today -- it would've taken 10+ minutes to run while respecting undocumented secondary rate limits (which there's no way to check via headers, by the way). I rewrote it to use ripgrep locally, and it's down to 20 seconds.