Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To be fair Twitter has a monorepo.


Mostly. Many of their foundational components e.g. Finagle are open sourced and in separate repos.

https://github.com/orgs/twitter/repositories


I haven’t seen much info regarding their setup, aside from the bits about Pants and Bazel.

Are those actually the upstream repositories, though? And is it known how they interact with them?

Google has Copybara [1], which allows portions of a monorepo to live outside as an entirely separate repository without the need for things like Git submodules. It supports synchronization of histories, pull requests, path and file transformations, etc.

In that sense, something like Copybara would allow them to, relatively, easily open source those bits, receive outside commits, and then sync the changes back to the monorepo.

[1]: <https://github.com/google/copybara>


(and so does Tesla)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: