Thank you for your interest in contributing to btaudio! This document provides guidelines and instructions for contributing.
- Be respectful and inclusive
- Welcome newcomers and help them get started
- Focus on constructive criticism
- Respect differing opinions and experiences
- Check existing issues to avoid duplicates
- Use the issue template when available
- Provide clear description and steps to reproduce
- Include system information (Linux distribution, audio system, terminal)
- Open an issue with
[Feature Request]prefix - Describe the use case and benefits
- Provide examples if possible
- Fork the repository
- Create a feature branch (
git checkout -b feature/your-feature) - Make your changes
- Test thoroughly
- Commit with descriptive messages
- Push to your fork
- Open a Pull Request
- Use 2-space indentation
- Keep lines under 100 characters
- Use meaningful variable names
- Add comments for complex logic
- Follow existing patterns in the codebase
Before submitting:
- Test with different Bluetooth devices
- Test on both PipeWire and PulseAudio
- Verify all commands work as expected
- Check error handling
- Use
shellcheckto validate scripts - Quote variables properly
- Handle errors gracefully
- Use
set -euo pipefailfor safety - Prefer
[[ ]]over[ ]for conditions
Format:
type: brief description
Detailed explanation if needed
- List key changes
- Reference issues if applicable
Types:
feat:New featurefix:Bug fixdocs:Documentationstyle:Formatting changesrefactor:Code restructuringtest:Test additionschore:Maintenance
- Clone the repository
- Make btaudio executable:
chmod +x bin/btaudio - Link for testing:
ln -s $(pwd)/bin/btaudio ~/.local/bin/btaudio-dev - Test your changes
Feel free to open an issue for questions or join discussions in existing issues.
Thank you for contributing to btaudio!
— web3dozie