News for hackers. Stuff that matters.
Re:Monorepoize – Bash scripts for creating a monorepo out of... by alexbanks on Monday April 27, 2020 @01:11PM (#22997728)
I feel like the library needed is actually the opposite. Take a monorepo, do some code analysis, split into many repositories. Monorepos are fool's gold unless you can have a team whose sole job is managing monorepo complexity, and even then I might ask "Why waste a team on monorepos?"
Re:Monorepoize – Bash scripts for creating a monorepo out of... by danenania on Monday April 27, 2020 @01:38PM (#22998010)
The problem is that we have crammed many related but distinct concepts--versioning, package management, access control, issue tracking, project management, licensing, etc.--into a single envelope called the "repo".

Having a single top level version and commit-log for all an organization's code is a huge win. But that doesn't mean you necessarily want to manage those other more granular concerns at the top level too. With tooling that does a better job drawing these boundaries, we should be able to have the best of both worlds (instead of the worst, which is where we are with the currently dominant repo-management tools).

Re:Monorepoize – Bash scripts for creating a monorepo out of... by alexbanks on Monday April 27, 2020 @02:14PM (#22998371)
I don't really agree. Rather than stuffing all your code into one envelope and then building tooling to decipher it, why not build tooling that allows commit log and versioning information for an arbitrary amount of repositories? Why does code have to live side-by-side to manage metadata about it?
Re:Monorepoize – Bash scripts for creating a monorepo out of... by danenania on Monday April 27, 2020 @03:40PM (#22999187)
That works too. I think you could arrive at the ideal setup from either direction: a monorepo with appropriate boundaries or multi-repos with an “umbrella” versioning layer for all of them. The end result is more or less the same.
Re:Monorepoize – Bash scripts for creating a monorepo out of... by alexbanks on Monday April 27, 2020 @04:51PM (#22999903)
I guess I think one of those scenarios comes with all of the benefits but very few of the drawbacks than the other. But you're right, you can skin a cat however you want.