Well, there's the difference. You release a build every 2 weeks that has been manually verified, while we can deploy any green CI build. We deploy multiple times a day.
Every commit in master's history must be deployable. With our system there is a chance that the half done commit would be deployed, so after the rejected code review the commits must be squashed so only the final, good commit makes it to master.
To be totally honest, we only deploy every two weeks for marketing purposes. It's the higher ups that decreed this, not the developers. I have every bit of confidence that we could deploy every single green build on our development branch, we just don't because management. Though we do deploy hotfixes directly to production regularly.
Our "half-done" commits, never make it out of feature branches. There are only merge commits on master or development (or very minor CI failure fixes, like I said before). A merge commit has everything a single squashed commit does and more, because it retains the context of how the development happened and is just as easy to revert.
If we're doing code review, looking at the logs and seeing that I did something after an initial review and seeing the reasons for why I made those changes is very very useful when trying to find out how and most importantly why something happened. Even if the original developer is not available, I can use this information to understand their thought processes and their code much better. This is all very useful information that gets totally lost when you start squishing things down and moved around.
1
u/defcon-12 Sep 07 '14
Well, there's the difference. You release a build every 2 weeks that has been manually verified, while we can deploy any green CI build. We deploy multiple times a day.
Every commit in master's history must be deployable. With our system there is a chance that the half done commit would be deployed, so after the rejected code review the commits must be squashed so only the final, good commit makes it to master.