Replies: 3 comments 6 replies
-
I would say that we should keep the GithubFlow, with one branch. I don't think that we need to care about older versions and services releases, which will add too much effort on our side since we need to keep a lot of branches and maybe share commits between them. If we don't want a preview package, which I think we don't need, we can keep the
And when we need to provide a hotfix, we do it by merging the fix on |
Beta Was this translation helpful? Give feedback.
-
Notes January 2022 Standup:
|
Beta Was this translation helpful? Give feedback.
-
Closed as completed |
Beta Was this translation helpful? Give feedback.
-
I wanted to kick off a discussion around which branching model we want to start using in this repository.
For the record I believe the Xamarin Community Toolkit uses GitFlow.
For some initial reading this post seems to give a pretty decent overview of the 2 main models GitFlow vs GitHubFlow
For the record quite a bit of the following was taken from https://gitversion.net/docs/learn/branching-strategies/overview
GitHub Flow
GitHubFlow is a simple and powerful branching strategy. It is what GitHub uses and the branching strategy most open source projects use.
Mainline development onmain
.main
should be protected here.main
via a pull request.Would it be wise/possible to create a branch based off a release tag should a hot fix be required? Perhaps this might not be needed.
Git Flow
GitFlow is a more complex and complete branching strategy. It also gives much more control over when features and code is released.
develop
branch.main
only contains released code.Choosing a branching strategy
There are a few reasons you would pick GitFlow over GitHubFlow, they are:
For example a new feature which will go in the next major version, while bug fixes/smaller features are still going into the current release
Summary
I wonder if it would be enough to go with GitHubFlow in the initial stages of development given:
I guess my worry comes down to how we hot fix releases as I suspect there will be a need to do this.
Your opinion
Please anyone/everyone share your input on this 😄
Beta Was this translation helpful? Give feedback.
All reactions