Thank you for wanting to contribute to this project. The below provides guidance how you can propose new features, raise bugs, or contribute with code.
To raise a new feature request, please go through the following steps:
- Check in the open and closed issues if this feature has already been requested before creating a new one
- Open only feature requests that are within scope of decluttarr: clear up the download pipeline; managing complete torrents is not in scope
- Add [Feature request] at the beginning of the issue title
- Add a short description of what you would like to have
- Be willing to provide more details if asked for them and help testing the feature
Bugs in this application are scarce. If there are any, there most likely features ;-) Please go follow these steps to submit a bug:
- Check if this bug has previously been reported
- Add [Bug] at the beginning of the issue title
- Describe the problem (what is it you experience and what is it that you would have expected to see)
- Create meaningful logs by:
- Switch decluttarr to debug mode (setting LOG_LEVEL: DEBUG)
- Turn off all remove functions but one where you expect a removal (example: REMOVE_STALLED: True and the rest on False)
- Let it run until the supposed remove should be trigged
- Paste the full logs to a pastebin
- If helpful: Paste a screenshot of qbit and the affected *arr app to a pasteimg
- Be willing to provide more details if asked for them and help testing the bug fix
Code contributions are very welcome - thanks for helping improve this app!
- Please always branch out from the "dev" branch, not from the "main" branch
- Please test your code locally
- Please only commit code that you have written yourself and is not owned by anybody else
- Please create a PR against the "dev" branch
- Once I have reviewed it, I will merge it and it will create teh "dev" image
- Please help testing that the dev image works, before we then commit it to the "latest" image (from main branch)
You do not need to know about how to create docker images to contribute here. To get started:
- Clone the git repository to your local machine
- Create a virtual python environment (python3 -m venv venv)
- Activate the virtual environment (source venv/bin/activate)
- Install python libraries (pip install -r docker/requirements.txt)
- Adjust the config/config.conf to your needs
- Adjust the code in the files as needed
- Run the script (python3 main.py)
- Create a PR once you are ready