Tuesday 21 April 2015

Monorepo --- One Source Code Repository to Rule Them All

What is a monorepo? It's a unified source code repository used by an organisation to host as much of its code as possible.

This is the pattern followed by companies such as Google, Facebook and the BBC, and is the way that I prefer to structure large scale code, as discussed in my post ruminating on codebases I have known.

I'm not entirely sure where I first heard the term but I like the way it demonstrates an intentional approach, rather than being the result of happenstance, so I use it when I can.

Of course, you need some tooling around a monorepo of any significant size. At some point, there should be more posts about that, but for now, take a look at the video of how Facebook handles this from F8 in 2015.