mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Created Contribution Process (markdown)
parent
f9fedbeac2
commit
703bc2940d
20
Contribution-Process.md
Normal file
20
Contribution-Process.md
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
# Git Workflow
|
||||
|
||||
- `master` - this branch contains the latest shipped release of node-red, plus any additional bug fixes that have been made since. At any time, this branch could get shipped as the next `maintenance release`. At the time of writing, this contains `0.16.2` and a few fixes that will be released as `0.16.3` at some point.
|
||||
- `0.17` - development work on the next milestone release occurs in a branch named after the expected release version number. This is where new features are developed. At the time of writing, this is the `0.17` release.
|
||||
- Larger features get developed in their own branches and merged to the current development branch as and when the feature is sufficiently stable for wider consumption.
|
||||
|
||||
|
||||
# Raising a pull-request
|
||||
|
||||
Code contributions arrive as pull requests. They should target the appropriate branch - bug fixes on released code to `master`, new features to the current development branch.
|
||||
|
||||
There are a lot of good guides to working with pull requests and we won't try to recreate them here. But the basic process is:
|
||||
|
||||
1. **Fork** the repository you want to make a change on
|
||||
2. Create a branch on your fork for the changes
|
||||
3. Run the tests!
|
||||
4. [Create a pull request](https://help.github.com/articles/creating-a-pull-request-from-a-fork/) to the upstream repository. Make sure you target the appropriate branch of the upstream repository. If you want, you can choose to [allow us to commit changes](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) to your branch - that may be useful if there are some changes needed on top of your code and we're in a position to help make them.
|
||||
|
||||
Once the PR is raised, we'll review the changes and provide feedback. If all looks good, we'll get it merged. Otherwise we may request some changes or decide the PR isn't suitable to merge. Either way, we'll discuss it via the PR.
|
Loading…
Reference in New Issue
Block a user