Contributing Guide¶
Thanks for your interest in contributing! π
We welcome bug reports, feature requests, and improvements.
π§βπ» Development Setup¶
-
Clone the repository: git clone https://github.com/Zomato/pulse-droid
-
Open in Android Studio
-
Sync Gradle and build the project
πΏ Branching Strategy¶
We follow a structured branching model:
- master β Production-ready code
- dev β Active development branch
- feature/* β New features
- bug/* β Bug fixes
π Contribution Workflow¶
- Fork the repository
- Create a new branch from
dev: git checkout -b feature/your-feature-name - Make your changes
- Commit with a clear message
- Push to your fork
- Create a Pull Request (PR) to
dev
π§Ύ Commit Message Guidelines¶
Follow this format:
type: short description
Examples: - feat: add mqtt retry mechanism - fix: resolve connection timeout issue - refactor: optimize reconnect logic
π¦ Code Guidelines¶
- Follow Kotlin best practices
- Keep code modular and testable
- Add comments for complex logic
- Maintain backward compatibility
β Pull Request Checklist¶
Before submitting a PR:
- [ ] Code compiles successfully
- [ ] No unnecessary changes included
- [ ] Proper description added
- [ ] Related issue linked (if any)
- [ ] Tested locally
π Review Process¶
- All changes must go through PR
- Code owners will review changes
- PR will be merged only after approval
π Reporting Issues¶
Please include:
- Clear description
- Steps to reproduce
- Expected vs actual behavior
- Logs/screenshots (if applicable)
π« What We Donβt Accept¶
- Breaking changes without discussion
- Unrelated large PRs
- Poorly documented changes
π€ Code of Conduct¶
Be respectful and constructive.
We aim to maintain a healthy open-source community.
Thanks for contributing β€οΈ