Thank you for your interest in contributing to Ringlr! We welcome contributions from the community and are excited to welcome you aboard.
- Code of Conduct
- Getting Started
- Development Process
- Pull Request Process
- Coding Standards
- Testing Guidelines
- Documentation
- Community
This project and everyone participating in it is governed by our Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to project maintainers.
- Fork the repository
- Clone your fork:
git clone https://github.com/Rohit-554/ringlr.git
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes
- Test your changes thoroughly
- Pick an issue to work on or create a new one
- Comment on the issue to let others know you're working on it
- Create a branch with a descriptive name (e.g.,
feature/add-bluetooth-support
) - Write code and tests
- Update documentation as needed
- Submit a pull request
- Update the README.md with details of changes if needed
- Add any new dependencies to the build files
- Update the documentation
- Get at least one code review from a maintainer
- Once approved, a maintainer will merge your PR
- Follow Kotlin coding conventions
- Use meaningful variable and function names
- Keep functions small and focused
- Write comments for complex logic
- Use proper indentation (4 spaces)
- Include KDoc comments for public APIs
/**
* Manages the audio routing for calls.
* @param route The desired audio route
* @return Result indicating success or failure
*/
suspend fun setAudioRoute(route: AudioRoute): CallResult<Unit> {
return try {
platformAudio.switchRoute(route)
CallResult.Success(Unit)
} catch (e: Exception) {
CallResult.Error(e)
}
}
- Update API documentation for any changed code
- Include code examples for new features
- Update the README if adding new functionality
- Add comments explaining complex algorithms
- Document any breaking changes
If you need help with anything:
- Check the documentation
- Search existing issues
- Create a new issue
- Make a pull request
Thank you for contributing to Ringlr! 🎉