logoalt Hacker News

codegeeklast Tuesday at 9:25 PM4 repliesview on HN

I have a question about Monorepo. Do companies really expose their entire source code all in one repo for their devs to download ? I understand that people can always do bad things if they want but with monorepo, you are literally letting me download everything right ?


Replies

NeutralWantedyesterday at 1:25 AM

I work at Google, and yes. We use a monorepo for absolutely everything you can think of. But good luck getting that code off a corp device without being caught!

Carroklast Tuesday at 9:45 PM

This is probably different between startups and enterprises. My background is purely startups, and I can't imagine not having access to 100% of the code for the company I work.

tn1yesterday at 11:05 AM

While not talked about on HN as much, the big corps doing monorepo use something like Perforce which has "protects" tables allowing very granular access control

NERD_ALERTlast Tuesday at 9:27 PM

Hosting a developer environment remotely that you SSH into is very common. That’s how you would approach working with a monorepo that has any serious size to it.