Enable telemetry on SPARKY
[betaflight.git] / CONTRIBUTING.md
blob4f0aebffc0f7465b710c81f9a6531fa19c4c0d63
1 # Issues and Support.
3 Please remember the issue tracker on github is _not_ for user support.  Please also do not email developers directly for support.  Instead please use IRC or the forums first, then if the problem is confirmed create an issue that details how to repeat the problem so it can be investigated.
5 Issues created without steps to repeat are likely to be closed.  E-mail requests for support will go un-answered; All support needs to be public so that other people can read the problems and solutions.
7 Remember that issues that are due to mis-configuration, wiring or failure to read documentation just takes time away from the developers and can often be solved without developer interaction by other users.
9 Please search for existing issues *before* creating new ones.
11 # Developers
13 Please see the Contributing section of the README.md
15 Please see the docs/developers folder for other notes.
17 Ensure you understand the github workflow: https://guides.github.com/introduction/flow/index.html
19 Please keep pull requests focused on one thing only, since this makes it easier to merge and test in a timely manner.
21 If you need help with pull requests there are guides on github here:
23 https://help.github.com/articles/creating-a-pull-request/
25 The main flow for a contributing is as follows:
27 1. Login to github, goto the cleanflight repository and press `fork`.
28 2. Then using the command line/terminal on your computer: `git clone <url to YOUR fork>`
29 3. `cd cleanflight`
30 4. `git checkout master`
31 5. `git checkout -b my-new-code`
32 6. Make changes
33 7. `git add <files that have changed>`
34 8. `git commit`
35 9. `git push origin my-new-code`
36 10. Create pull request using github UI to merge your changes from your new branch into `cleanflight/master`
37 11. Repeat from step 4 for new other changes.
39 The primary thing to remember is that separate pull requests should be created for separate branches.  Never create a pull request from your `master` branch.
41 Later, you can get the changes from the cleanflight repo into your `master` branch by adding cleanflight as a git remote and merging from it as follows:
43 1. `git add remote cleanflight https://github.com/cleanflight/cleanflight.git`
44 2. `git checkout master`
45 3. `git fetch cleanflight`
46 4. `git merge cleanflight/master`
49 You can also perform the git commands using the git client inside Eclipse.  Refer to the Eclipse git manual.