Contribution Guide
Welcome to contribute to TuyaOpen through GitHub's Fork and Pull Requests workflow. Contributions can include bug fixes, documentation improvements, and new features.
Making Changes
- Install git tools on your local PC
- Fork the TuyaOpen repository to your GitHub account
- Clone your forked repository using
git clone
- Create a local development branch with
git checkout -b <BranchName>
- Make your code/documentation changes locally
- Push changes to your GitHub repository
Preparation
- Verify contributions comply with Apache License 2.0 requirements
- Ensure code follows TuyaOpen Coding Standards
- Provide documentation/examples for new features
- Confirm documentation meets Writing Standards
- Group related changes in separate Pull Requests
- Board adaptations must comply with Chip Adaptation Guidelines
Submitting Pull Requests
- Navigate to your forked repository on GitHub
- Click "New pull request" from your development branch
- First-time contributors must sign the Contributor License Agreement (CLA)
- Our CI system will automatically run build tests
- Maintainers will review your PR and provide feedback
- Address review comments and update your PR accordingly
- Approved PRs will be merged into the main repository
This completes the contribution process.