2.1 KiB
Contributing to libpag
Welcome to report Issues or pull requests. It's recommended to read the following Contributing Guide first before contributing.
Issues
We use Github Issues to track public bugs and feature requests.
Search Known Issues First
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.
Reporting New Issues
If you open an issue, the more information the better. Such as detailed description, screenshot or video of your problem, logcat and xlog or code blocks for your crash.
Pull Requests
We strongly welcome your pull request to make libpag better.
Branch Management
There are two main branches here:
mainbranch.- It is our active developing branch. After full testing, we will periodically pull the pre-release branch based on the main branch.
- You are recommended to submit bugfix or feature PR on
mainbranch.
releasebranch.- This is our stable release branch, which is fully tested and already used in many apps.
Normal bugfix or feature request should be submitted to main branch.
Make Pull Requests
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.
Before submitting a pull request, please make sure the followings are done:
- Fork the repo and create your branch from
main. - Update code or documentation if you have changed APIs.
- Add the copyright notice to the top of any new files you've added.
- Check your code lints and checkstyles.
- Test and test again your code.
- Now, you can submit your pull request on
mainbranch.
Code Style Guide
Use Code Style for C/C++.
It is recommended to configure the clang-format we provide in the IDE
- 2 spaces for indentation rather than tabs
License
By contributing to libpag, you agree that your contributions will be licensed under its Apache License Version 2.0