git submodules vs. google’s repo tool
I was recently asked by a customer to outline the pros and cons of using git submodules vs. google repo tool to manage multi-repository integrations in git. There are a lot of articles on the internet bashing each of the tools, but in our opinion – most of it comes from misunderstanding the tool’s design or trying to apply it in an unappropriate context. This post summarizes the general rules of thumb we at Otomato follow when choosing a solution for this admittedly non-trivial situation. First of all – whenever possible – we recommend integrating your components on binary package level rather than compiling everything from source each time. I.e. : packaging components to jars, npms, eggs, rpms or docker images, uploading to a binary repo and pulling in as versioned dependencies during the build. Still – sometimes this is not an optimal solution, especially if you do a lot…