4 ms·
The rule does not work right. Let's say A and B do not depend on each other but both depend on C. Now we want all three in the same repo, because if Cs interfac
by qznc 7y ago
The rule does not work right. Let's say A and B do not depend on each other but both depend on C. Now we want all three in the same repo, because if Cs interface changes we can fix A and B in the same change. So even such indirect relationships are relevant.
- galaxyLogic 7y agoThe rule could be phrased better in terms of what should be in the same repo: A depends on C therefore A must be in the same repo as C. B depends on C therefore B must be in the same repo as C. THEREFORE by logic A and B must (or should) be in the same repo too. But so in general is this the right direction to be thinking about what all should go into a single mono-repo? And what about big companies who are said to have "everything" in a single repo? Does that make sense?