Hacker News new | ask | show | jobs
by narengowda16 2198 days ago
Talking about search: Our company uses GitHub enterprise. We have 1000+ repositories, each repo for a serverless function. Github's search is pathetically broken, I had to download all 1000 repositories in my Mac and search for a dependencies via Vscode. Surprisingly Vscode is blazing fast.
3 comments

I use sourcegraph[0] for most of my searches even on non-entreprise github to work around how broken github search is. Sourcegraph has the ability to search in forks, in a specific commit, or in a set of repos that you define. It's really quite good at doing github-wide searches of arbitrary query. I'm pretty sure its self-hosted solution can be made to work with github entreprise, you might want to check it out :).

Disclaimer: Just a happy sourcegraph user.

[0]: https://sourcegraph.com

1000 repos seems a bit much. Does it mean that when developing a feature you have to change code in tens of repositories And then create separate commits and PRs for each of those? It just seems way too microscopic.
Text search in vscode is done by ripgrep[1].

[1]: https://code.visualstudio.com/updates/v1_11#_text-search-imp...