1.4 KiB
Vendored
Branching strategy
Main branch
The main development branch is conveniently called main. This branch contains all the merged features and is considered semi-stable.
Development
Every new development must be done in a separate branch (usually prefixed with feature/). The PR must then be reviewed.
Reviewing
Each PR must be tested manually and reviewed by a maintainer. For PRs that are made by the maintainers themselves, an LLM review from Copilot or Gemini are also accepted.
After a PR is approved, it is merged into the main branch and the change log draft is updated.
Releasing
Releasing a new version is done straight from the main branch once it's deemed stable enough for production.
Hot-fixing
After releasing a new version, it's sometimes desirable to create a hotfix in order to fix some issues with the production version without introducing many changes that might have already been merged in main.
To do so, the procedure is as follows:
- A
hotfixbranch is created, from the tag of the release. - If fixes/features from the
mainbranch are needed, they are cherry-picked directly onto the branch. - New fixes/features are either developed directly on the
hotfixbranch or an a PR that targets this branch, depending on the complexity. - A new version is released from the
hotfixversion. - The
hotfixversion is merged back intomain, via a PR.