-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ad5f70
commit 119ee3f
Showing
3 changed files
with
85 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Conventions | ||
|
||
## Contents | ||
|
||
- [Code Style](#code-style) | ||
- [Commits, Branches and Pull Requests](#commits-branches-and-pull-requests) | ||
- [Versioning](#versioning) | ||
|
||
## Code Style | ||
|
||
We follow the [Effective Dart code style](https://dart.dev/effective-dart/style). | ||
|
||
Code should be formatted using `dart format` ([docs](https://dart.dev/tools/dart-format)). | ||
|
||
## Commits, Branches and Pull Requests | ||
|
||
Branch names should be written using kebab-case and have the following schema: | ||
|
||
``` | ||
<issue_key>-your-branch-name | ||
1234-commit-message-documentation | ||
``` | ||
|
||
Commit messages and PR names should have the following schema: | ||
``` | ||
<issue_key>: Your commit message | ||
1234: Add commit message documentation | ||
``` | ||
|
||
See [this guide](https://github.com/erlang/otp/wiki/Writing-good-commit-messages) for a general reference on how to | ||
write good commit messages. | ||
|
||
## Versioning | ||
|
||
Versions consist of a version name and a version code and are set in [version.yaml](../version.yaml). | ||
Versions are automatically bumped and committed using the corresponding scripts in [tools](../tools) in the | ||
delivery [workflows](#workflows) in the CI. | ||
|
||
### Version Name | ||
|
||
We use the [calver schema](https://calver.org) `YYYY.MM.PATCH` for versioning. | ||
`PATCH` is a counter for the number of releases in the corresponding month starting with 0. | ||
|
||
Examples: | ||
|
||
- First versions of 2024: `2024.1.0`, `2024.1.1`, `2024.1.2`. | ||
- First version of February 2024: `2024.2.0`. | ||
|
||
### Version Code | ||
|
||
An additional consecutive version code is used for unique identification in the app stores. | ||
The version code has to be incremented for every new release uploaded to the stores. |