mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
1.9 KiB
1.9 KiB
Submitting Pull Requests
This guide will help you submit effective pull requests to Jecs.
Before Creating a PR
- Create an issue for discussion if one doesn't exist
- Fork the repository
- Create a feature branch
- Ensure tests pass
- Update documentation
PR Guidelines
Branch Naming
Use descriptive branch names:
feature/description
fix/issue-description
docs/update-section
Example: feature/add-relationship-caching
PR Description
Use the PR template and include:
- Brief description of changes
- Link to related issues
- Breaking changes (if any)
- Testing performed
- Documentation updates
Example:
## Description
Add caching support for relationship queries
Fixes #123
## Changes
- Implement query result caching
- Add cache invalidation
- Update documentation
## Breaking Changes
None
## Testing
- Added unit tests
- Performed performance benchmarks
- Tested with example project
Code Review Process
- Submit draft PR early for feedback
- Address review comments
- Keep commits focused and clean
- Rebase on main when needed
- Ensure CI passes
Testing Requirements
- Add/update unit tests
- Test both Luau and TypeScript
- Include performance tests if relevant
- Test documentation examples
Documentation
Update documentation:
- API references
- Examples
- Type definitions
- Performance notes
Final Checklist
Before marking PR as ready:
- Tests pass
- Documentation updated
- Code follows style guide
- Commits are clean
- PR description complete
- Changes reviewed locally
After Submission
- Respond to review comments
- Keep PR updated with main
- Help with integration testing
- Update based on feedback
Getting Help
Need help with your PR?
- Ask in Discord
- Comment on the PR
- Tag maintainers if stuck