4 ms·
I think everyone is overlooking the main point. He said that one guy was only making changes to either the front end or back end code. They should have been t
by scarface74 10y ago
I think everyone is overlooking the main point.
He said that one guy was only making changes to either the front end or back end code.
They should have been two separate repos. one for the front end code and one for the back end code.
- icebraining 10y agoThat's a huge discussion in itself: https://news.ycombinator.com/item?id=10007654 https://news.ycombinator.com/item?id=10007654
- scarface74 10y agoThat was a great discussion. As someone said below, I agree if it is independently deployable, it should be in its own repo. If you need to share code between repos you need to create versioned packages - in the c# world - Nuget.
- mnarayan01 10y agoIf you break up your repos whenever two random people work on disjoint file sets within a branch, you're going to end up with a lot of repos.
- Raphmedia 10y agoWhere is the line? Would templates files and view-models be in the front-end repo?
- Ajedi32 10y agoI'd say the line is that, if you can independently deploy just a single part of a repository, that part should probably be in a separate repo. In the article, the author stated that "X decided to merge and deploy just the back-end changes". To me, that suggests that perhaps the backend is an independent component entirely decoupled from the front end. At the very least I think you should avoid making changes to multiple independently deployable parts in the same commit.