Skip to main content
Topic: Development process (Read 6742 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Development process

On one aspect: the nvie model branches.

Summary:
  • stable branch
  • development branch
  • release-specific branches

I suggest we use 'master' for the development branch.
We will have release-in-progress and stable branches when beta comes closer, but in all cases we could keep the 'master' branch for on-going development, meaning always the new version. Why: it's easier for new comers.
Although, I think we have to switch the default github branch when release-x is around, but imho it is still a little better. Or well, we can try.

Summary: master for on-going development. When a release-x is in progress, release-x is for the fixes to x, while master continues to receive PRs for the newer version. Forget the third for now.
The best moment for testing your PR is right after you merge it. Can't miss with that one.

Re: Development process

Reply #1

Nice I found this topic because it has some outdated infos.

For the whole 1.0 pre-release (development+beta+RC) cycle we used master for development.
Now that 1.0 is out, master is holding the latest stable release, that is 1.0 at the moment.
Bug fixes for 1.0.1 are contributed to the branch patch_1-0-1.
And development is happening on development.

I think we can follow pretty much the original nvie branching model as is, have development going on in master may be less confusing at the beginning, though it is not really much more confusing than contributing a fix for a certain release I guess. ;D
Bugs creator.
Features destroyer.
Template killer.

Re: Development process

Reply #2

I've really had to push some people at work to get them to warm to the idea of branching. For the longest time, some of the other teams around me didn't even have any branches. What was in the trunk went to prod! How insane is that? lol
Success is not the result of spontaneous combustion, you must set yourself on fire!

Re: Development process

Reply #3

There are quite a few large tech companies that only work on trunk. Though, I think it makes a huge difference when your trunk is comprised of micro services.

Re: Development process

Reply #4

Branches are indeed cool!

Of course, with a development like ours (somehow "random"), from time to time it becomes rather painful to merge branches. For example, now merge the 1.0.1 branch into master is easy. Merge the same into development will require quite a bit of efforts because of the fundamental changes to some of the files there. Well, it will just result in a bunch of conflicts... :P
Bugs creator.
Features destroyer.
Template killer.