Re:GitHub isn't fun anymore
by rapsey on Wednesday June 17, 2020 @07:30AM
(#23550175)
I find github search to be immensely useful. Filter by file extension and you can pretty much search the open source world for some API in a language.
[ Parent
| on HN ]
Re:GitHub isn't fun anymore
by narengowda16 on Wednesday June 17, 2020 @08:41AM
(#23550673)
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.
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.
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...