-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Git Branches
Jérémie Bresson edited this page Jun 12, 2018
·
7 revisions
The OpenAPI Generator project works on multiple versions in parallel:
- upcoming patch release
- next minor release containing breaking changes with fallback
- next major release containing breaking changes with no fallback
To support several versions, several branches are used:
Status in June 2018:
-
masterbranch is for upcoming patch releases (3.0.1,3.0.2,3.0.3, ...) -
3.1.xbranch for the next minor release -
4.0.xbranch for the next major release
To port changes from one branch to an other, the merge direction is always from the lowest version to the newer.
Example:
- Merge
masterbranch into3.1.0branch - Merge
3.1.0branch into4.0.0branch
Those merge commits are done regularly by the core team.
Merge commit is kept in the history in order to facilitate merge conflict resolution.
When we drop the support for 3.0.x, we'll merge 3.1.0 back into master.
TODO, add useful git command, inspired by the discussion in https://github.com/OpenAPITools/openapi-generator/issues/245