Change development and release model
Releases are now branched from main and the main branch is used for ongoing development (similar to Zephyr upstream).
This commit is contained in:
@@ -8,11 +8,11 @@ Coding style is described [here](https://github.com/LibreSolar/coding-style).
|
||||
|
||||
## Development and release model
|
||||
|
||||
The `main` branch contains the latest release of the firmware plus some cherry-picked bug-fixes. So you can always pull this branch to get a stable and working firmware for your charge controller.
|
||||
The `main` branch is used for ongoing development of the firmware.
|
||||
|
||||
New features are developed in the `develop` branch and merged into `main` after passing tests with multiple boards. The `develop` branch is changed frequently and may even be rebased to fix previous commits. Use this branch only if you want to try out most recent features and be aware that something might be broken.
|
||||
Releases are created from `main` after significant updates have been introduced to the firmware. Each release has to pass tests with multiple boards.
|
||||
|
||||
Releases are generated from `main` after significant changes have been made. The year is used as the major version number. The minor version number starts at zero and is increased for each release in that year.
|
||||
A release is tagged with a version number consisting of the release year and a release count for that year (starting at zero). For back-porting of bug-fixes, a branch named after the release followed by `-branch` is created, e.g. `v21.0-branch`.
|
||||
|
||||
## Supported devices
|
||||
|
||||
@@ -35,6 +35,11 @@ git clone --recursive https://github.com/LibreSolar/charge-controller-firmware
|
||||
|
||||
Unfortunately, the green GitHub "Clone or download" button does not include submodules. If you cloned the repository already and want to pull the submodules, run `git submodule update --init --recursive`.
|
||||
|
||||
As the `main` branch may contain unstable code, make sure to select the desired release branch (see GitHub for a list of releases and branches):
|
||||
```
|
||||
git switch <your-release>-branch
|
||||
```
|
||||
|
||||
Building the firmware requires the native Zephyr build system.
|
||||
|
||||
This guide assumes you have already installed the Zephyr SDK and the `west` tool according to the [Zephyr documentation](https://docs.zephyrproject.org/latest/getting_started/).
|
||||
|
||||
Reference in New Issue
Block a user