|
| 1 | +# Contributing to ArkGameFrame |
| 2 | +Welcome to [report Issues](https://github.com/ArkGame/ArkGameFrame/issues) or [pull requests](https://github.com/ArkGame/ArkGameFrame/pulls). It's recommended to read the following Contributing Guide first before contributing. |
| 3 | + |
| 4 | +## Issues |
| 5 | +We use Github Issues to track public bugs and feature requests. |
| 6 | + |
| 7 | +### Search Known Issues First |
| 8 | +Please search the existing issues to see if any similar issue or feature request has already been filed. You should make sure your issue isn't redundant. |
| 9 | + |
| 10 | +### Reporting New Issues |
| 11 | +If you open an issue, the more information the better. Such as detailed description, screenshot or video of your problem, logcat or code blocks for your crash. |
| 12 | + |
| 13 | +## Pull Requests |
| 14 | +We strongly welcome your pull request to make `ArkGameFrame` better. |
| 15 | + |
| 16 | +### Branch Management |
| 17 | +There are three main branches here: |
| 18 | + |
| 19 | +1. `master` branch. |
| 20 | + |
| 21 | + (1). It is the latest (pre-)release branch. We use `master` for tags. |
| 22 | + |
| 23 | + (2). **Don't submit any PR(Pull Request) on `master` branch.** |
| 24 | + |
| 25 | +2. `develop` branch. |
| 26 | + |
| 27 | + (1).There is a `develop` for `ArkGameFrame` developing version. It is our stable developing branch. After full testing, `develop` branch will be merged to `master` branch for the next release. |
| 28 | + |
| 29 | + (2). **You are recommended to submit bugfix or feature PR on `develop` branch.** |
| 30 | + |
| 31 | + |
| 32 | +Normal bugfix or feature request should be submitted to `develop` branch. After full testing, we will merge them to `master` branch for the next release. |
| 33 | + |
| 34 | + |
| 35 | +### Make Pull Requests |
| 36 | +The code team will monitor all pull request, we run some code check and test on it. After all tests passed, we will accecpt this PR. But it won't merge to `master` branch at once, which have some delay. |
| 37 | + |
| 38 | +Before submitting a pull request, please make sure the followings are done: |
| 39 | + |
| 40 | +1. Fork the repo and create your branch from `master` or `develop`. |
| 41 | +2. Update code or documentation if you have changed APIs or important functions. |
| 42 | +3. Add the copyright notice to the top of any new files you've added. |
| 43 | +4. Check your code lints and checkstyles. |
| 44 | +5. Test and test again your code. |
| 45 | +6. Now, you can submit your pull request on `develop` branch. |
| 46 | + |
| 47 | +## Code Style Guide |
| 48 | +Try to be similar with the other authers. |
| 49 | + |
| 50 | +## License |
| 51 | +By contributing to `ArkGameFrame`, you agree that your contributions will be licensed |
| 52 | +under [Apache LICENSE](https://github.com/ArkGame/ArkGameFrame/blob/master/LICENSE) |
0 commit comments