2 ms·
Totally misread the "depend on you" as "you depend on" part, sorry. Interesting idea, but monorepos still don't help on their own. You need a way to detect whi
by franga2000 4y ago
Totally misread the "depend on you" as "you depend on" part, sorry.
Interesting idea, but monorepos still don't help on their own. You need a way to detect which modules depend on yours and a way to run and interpret their tests. Whether they're in an adjacent folder or another repo changes very little.
GitHub actually already has a dependency scanning thingy that builds cross-repo dependency graphs [0] and package managers have been doing that for years. The missing parts wouldn't be that much effort to build, but getting everyone to set up their repos to work with it would probably be prohibitively difficult.
[0] https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository#dependents-view https://docs.github.com/en/code-security/supply-chain-securi...
- ithkuil 4y agoMonorepos are useless unless you have good tooling, including a build system that is aware of module dependencies inside the monorepo. An example build system that can do that is https://bazel.build https://bazel.build
- jeffreygoesto 4y agoCorrect. Another interesting one: https://github.com/just-buildsystem/justbuild https://github.com/just-buildsystem/justbuild