News for hackers. Stuff that matters.
Re:We Put Half a Million Files in One Git Repository, Here’s... by abrookewood on Thursday June 16, 2022 @03:35AM (#31763423)
I don't think I've ever seen "because your mono-repo is too big for git" used as an argument for micro-services, but maybe at this point it's valid.
Re:We Put Half a Million Files in One Git Repository, Here’s... by charcircuit on Thursday June 16, 2022 @04:13AM (#31763621)
You can put microservices in a monorepo. You just put them in their own folder.
Re:We Put Half a Million Files in One Git Repository, Here’s... by abrookewood on Thursday June 16, 2022 @04:18AM (#31763641)
Of course, but can you split a monolith across multiple repos?
Re:We Put Half a Million Files in One Git Repository, Here’s... by scarmig on Thursday June 16, 2022 @02:01PM (#31769076)
Sure. It'd drastically complicate the build process and CI for little benefit compared to other approaches (e.g. sparse checkout), but you could even in principle create a repo for each code directory and stitch them all together.
Re:We Put Half a Million Files in One Git Repository, Here’s... by charcircuit on Friday June 17, 2022 @08:48AM (#31777306)
>It'd drastically complicate the build process and CI

This is a part of most monorepos. I figure having only a single build artifact is rare.

Re:We Put Half a Million Files in One Git Repository, Here’s... by isaacremuant on Thursday June 16, 2022 @05:13AM (#31763955)
Yes. With git submodules.
Re:We Put Half a Million Files in One Git Repository, Here’s... by jaypeedevlin on Thursday June 16, 2022 @04:56AM (#31763840)
Canva use microservices FWIW