News for hackers. Stuff that matters.
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.
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.
Re:GitHub isn't fun anymore by roblabla on Wednesday June 17, 2020 @09:12AM (#23550922)
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

Re:GitHub isn't fun anymore by jyriand on Wednesday June 17, 2020 @09:10AM (#23550906)
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.
Re:GitHub isn't fun anymore by sighol on Wednesday June 17, 2020 @09:26AM (#23551078)
Text search in vscode is done by ripgrep[1].

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