Monorepos are contrary to how many of us have been taught to use source control. To start a project or app, the first thing we do is create a git repo for it. This leads to many focused and small repositories. A quick check of my GitHub account shows there are 179 non-fork repositories. That's a lot but I think many of us work that way.
But it's not like this with monorepos. There you create one (or a couple) repositories for your entire company. This might have 100s or 1,000s of employees working on multiple projects within the single repo. Famously, Google, Meta, Microsoft, and Airbnb all employ very large monorepos with varying strategies of coordination.
On this episode, we have David Vujic here to give us his perspective on monorepos as well as highlight an architectural pattern and set of tools for accomplishing this in Python.
▬▬▬▬ About the podcast ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
This video is the uncut, live recording of the Talk Python To Me podcast ( https://talkpython.fm ). We cover Python-focused topics every week and publish the edited and polished version in audio form. Subscribe in your podcast player of choice (100% free) at https://talkpython.fm/subscribe.
▬▬▬▬ Guests ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
David on Twitter: / davidvujic
David on Mastodon: https://mastodon.nu/@UCTB_erS0Mb2PF52...
Monorepo definition: https://en.wikipedia.org/wiki/Monorepo
git-sizer tool for large repos: https://github.com/github/git-sizer
git partial clones: https://docs.gitlab.com/ee/topics/git...
git sparse checkout: https://git-scm.com/docs/git-sparse-c...
Polylith architecture: https://polylith.gitbook.io/polylith/
Article: A simple & scalable Python project structure: https://davidvujic.blogspot.com/2022/...
The last Python Architecture you will ever need?: https://davidvujic.blogspot.com/2022/...
python-polylith plugin for poetry: https://github.com/DavidVujic/python-...
▬▬▬▬ Links and resources from the show ▬▬▬▬▬▬▬▬▬▬▬▬
Listen this episode on Talk Python:https://talkpython.fm/episodes/show/3...
Episode transcripts:https://talkpython.fm/episodes/transc...
▬▬▬▬ Dive deeper ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Listen to the Talk Python To Me podcast at https://talkpython.fm Over 250 hours of Python courses at https://training.talkpython.fm/courses Follow us on on Mastodon. Michael: https://fosstodon.org/@mkennedy & Talk Python https://fosstodon.org/@talkpython
Watch video Monorepos in Python - Talk Python to Me Ep.399 online without registration, duration hours minute second in high quality. This video was added by user Talk Python 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,022 once and liked it 74 people.