-
Notifications
You must be signed in to change notification settings - Fork 178
workflow: add PR types explanation #475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
320366e
30593d0
22f58a7
064ca05
374b84b
9bc8147
0ee5d09
c39403e
a6ba0af
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,14 @@ Pull requests on GitHub have to meet the following requirements to keep the code | |
- Avoid merging commmits. (Always rebase when possible.) | ||
- Pull requests should fix a bug, add a feature or refactor. | ||
|
||
#### Mbed OS release versioning | ||
|
||
Version number MAJOR.FEATURE.PATCH where: | ||
|
||
- MAJOR version for incompatible API changes | ||
- FEATURE version for adding functionality in backward-compatible manner | ||
- PATCH version for backward-compatible bug fixes | ||
|
||
### Pull request categories | ||
|
||
#### Bug fixes | ||
|
@@ -80,7 +88,43 @@ Each feature has a tech lead. This person is responsible for: | |
- Rebasing often to track master development. | ||
- Reviewing any addition to the feature branch (approval required by the feature tech lead or another assigned person). | ||
|
||
#### Pull request template | ||
##### Pull request types | ||
|
||
We consider the following pull request types. | ||
|
||
##### Fix | ||
|
||
A bug fix is backward-compatible internal change that fixes incorrect behavior. | ||
|
||
Release: patch | ||
|
||
##### Refactor | ||
|
||
Refactors are intended for feature releases if they are not fixing specific issue as they can introduce new issues. | ||
|
||
Release: feature | ||
|
||
##### New target | ||
|
||
Adding a new target targets the patch release as it updating targets folder implementation. | ||
|
||
Release: patch | ||
|
||
##### Feature | ||
|
||
New features targets feature releases. It can be integrated only if the feature supports most of the targets (if it requires new target HAL implementation). | ||
|
||
Adding a new functionality is considered to be a feature. It does not matter if it is C++, C or Python. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
|
||
Release: feature | ||
|
||
##### Breaking change | ||
|
||
Any change that results in breaking user space. It should have strong justification to be considered. Often the change could be made backward compatible, for example deprecate the old functionality and introduce the new replacement. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @SenRamakri asked good question. As this is quite serious type of pull request, we might want to clarify more. Shall I add |
||
|
||
Release: major | ||
|
||
##### Pull request template | ||
|
||
Below is a good example of a pull request: | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. So we're abandoning the
MINOR
release terminology?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"functionality in backward-compatible manner" to "functionality in a backwards-compatible manner"
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we have feature releases.
language will fix (waiting for Amanda to guidance)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marketing strikes again!
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One of my least favorite "we renamed a standard thing" instances.