Contributing to xHook
March 26, 2019 ยท View on GitHub
Welcome to the xHook project. Read on to learn more about our development process and how to propose bug fixes and improvements.
Issues
We use GitHub issues to track public bugs and feature requests. Before creating an issue, please note the following:
- Please search existing issues before creating a new one.
- Please ensure your description is clear and has sufficient instructions to be able to reproduce the issue. The more information the better.
Branch Management
There are 2 main branches:
-
masterbranch- It's the latest (pre-)release branch. We use
masterfor tags. - Please do NOT submit any PR on
masterbranch.
- It's the latest (pre-)release branch. We use
-
devbranch- It's our stable developing branch.
- Once
devhas passed iQIYI's internal tests, it will be merged tomasterbranch for the next release. - Please always submit PR on
devbranch.
Pull Requests
Please make sure the following is done when submitting a pull request:
- Fork the repo and create your branch from
master. - Add the copyright notice to the top of any new files you've added.
- Try your best to test your code.
- Squash all of your commits into one meaningful commit.
Code Style Guide
- 4 spaces for indentation rather than tabs.
- Follow the C code style already in place.
License
By contributing to xHook, you agree that your contributions will be licensed under its MIT LICENSE.