-
-
Notifications
You must be signed in to change notification settings - Fork 3
Contributing
Christian Blank edited this page Nov 8, 2024
·
1 revision
Thank you for your interest in contributing to Addarr! This guide will help you get started with contributing to the project.
- Be respectful and inclusive
- Accept constructive criticism
- Focus on what's best for the community
- Show empathy towards others
- Check if the bug has already been reported
- Use the bug report template
- Include:
- Detailed description
- Steps to reproduce
- Expected vs actual behavior
- Version information
- Log files
- Check existing suggestions
- Use the feature request template
- Include:
- Use case
- Proposed solution
- Alternative solutions
- Additional context
- Fork the repository
- Create a feature branch
- Make your changes
- Write/update tests
- Update documentation
- Submit PR
feature/descriptive-name
bugfix/issue-number
docs/update-section
# Clone your fork
git clone https://github.com/YOUR-USERNAME/Addarr.git
cd Addarr
# Create virtual environment
python -m venv venv
source venv/bin/activate # Linux/Mac
# or
.\venv\Scripts\activate # Windows
# Install dependencies
pip install -r requirements.txt
pip install -r requirements-dev.txt# Run all tests
pytest
# Run with coverage
pytest --cov=addarr
# Run specific tests
pytest tests/test_specific.py- Follow PEP 8
- Use type hints
- Write docstrings
- Keep functions focused
def search_media(query: str, media_type: str) -> List[Dict]:
"""
Search for media in Sonarr or Radarr.
Args:
query: Search term
media_type: Either 'movie' or 'tv'
Returns:
List of search results
"""
# Implementation- Use clear, concise language
- Include examples
- Explain why, not just how
- Keep it up to date
- Clone wiki repository
- Make changes
- Test links
- Submit changes
- Run tests
- Update documentation
- Format code
- Add test cases
- Check for conflicts
- Be responsive to feedback
- Make requested changes
- Keep discussions focused
- Be patient
- Follow semantic versioning
- Format: MAJOR.MINOR.PATCH
- Document changes in CHANGELOG.md
- Update version number
- Update CHANGELOG.md
- Run full test suite
- Update documentation
- Create release tag
- Check documentation
- Ask in discussions
- Join community chat
- Search existing issues
- GitHub Issues
- Discussions
- Wiki
- Community Chat
- Write clear commit messages
- One change per commit
- Reference issues
feat(bot): Add support for custom quality profiles
- Add quality profile selection
- Update configuration handling
- Add tests for new feature
Fixes #123
- Write unit tests
- Add integration tests
- Test edge cases
- Maintain test coverage
- Update README
- Update wiki
- Add inline comments
- Update CHANGELOG
- All contributors are listed in CONTRIBUTORS.md
- Significant contributions are highlighted
- Everyone is valued
If you have questions:
- Check existing documentation
- Search closed issues
- Ask in discussions
- Create new issue
Thank you for contributing to Addarr!