5 ms·
Discoverability. It's a lot easier to search one repo then it is to search a set of repos. For the latter you need to have all the repos listed somewhere, and h
by er4hn 3y ago
Discoverability. It's a lot easier to search one repo then it is to search a set of repos. For the latter you need to have all the repos listed somewhere, and have them be accessible.
- knutzui 3y agoIt's just as easy to index multiple repos as it is to index one, which means that the same goes for searching. Why would it be any different for one as opposed to many?
- codetrotter 3y agoWe use GitLab in the company I work for. There may be repositories created by others in the company, that depend on repos I work on, where I don’t have access to said other repos. So to me these are invisible. If everything was in one monorepo, it’d all be visible to me easily.
- Kwpolska 3y agoThat’s more of a culture thing. Your company chose to enforce more granular permissions. Perhaps there are good reasons behind it, e.g. code for different clients being under different contracts and NDAs.
- jkrems 3y agoThat's a question of policy, not of repo structure. A monorepo can still have certain parts of the repo protected by access control. One repo doesn't mean "all files share one read permission".
- speedgoose 3y agoSourceGraph is great to search in many repos.
- calderwoodra 3y agoSourceGraph is modeled after Google's internal code search tool (to the point I've seen ads on facebook that say "Hey Xoogler, miss code search? Try Sourcegraph").
- Aeolun 3y ago> It's a lot easier to search one repo then it is to search a set of repos. Maybe, but searching any repo or combination of repos with billions of lines of code would be challenging.
- hn_go_brrrrr 3y agoSurprisingly not. Code Search is excellent and supports all of the power user features you could possibly want.
- Aeolun 3y agoHaha, yeah, I’m sure it works for Google. I was trying to say that when searching billions of lines, the challenge is in the fact that it’s billions of lines, not in whether it’s one or multiple repositories.