-
-
Notifications
You must be signed in to change notification settings - Fork 601
Contributing
To get your questions answered, please ask on the sickchill discord
There are a number of ways to get involved with the development of SickChill. Even if you've never contributed code to an Open Source project before, we're always looking for help identifying bugs, cleaning up code, writing documentation and testing.
The goal of this guide is to provide the best way to contribute to the official SickChill repository. Please read through the full guide detailing How to Report Bugs.
If you think you've found a bug please report it on discord, where you will find most of the sickchill dev team.
Many bugs reported are actually issues with the user mis-understanding of how something works (there are a bit of moving parts to an ideal setup) and most of the time can be fixed by just changing some settings to fit the users needs.
If you are new to SickChill, it is usually a much better idea to ask for help first in the sickchill discord. You will get much quicker support, and you will help avoid tying up the SickChill team with invalid bug reports.
Bugs in old versions of SickChill may have already been fixed. In order to avoid reporting known issues, make sure you are always testing against the latest build/source. Also, we put new code in the develop
branch first before pushing down to the master
branch (which is what the binary builds are built off of).
If the above steps fail and you are sure its a bug, issues are tracked in the SickChill issue tracker.
ALWAYS follow SickChill Coding Standards
Review regularly as they are subject to change and submissions will not be accepted until they meet our guidelines.
NEVER write your patches to the master branch - it gets messy (I say this from experience!)
ALWAYS USE A "TOPIC" BRANCH!
Personally I like the branch-feature_name
format that way its easy to identify the branch and feature at a glance. Also please make note of any issue number in the pull commit so we know what you are solving (it helps with cleaning up the related items later).
Please follow these guidelines before reporting a bug:
-
Update to the latest version — Check if you can reproduce the issue with the latest version from the
develop
branch. -
Use the search on SickChill — check if the issue has already been reported. If it has been, please comment on the existing issue.
-
Provide a means to reproduce the problem — Please provide as much details as possible, e.g. SickChill log files (obfuscate apikey/passwords), browser and operating system versions, how you started SickChill, and of course the steps to reproduce the problem.
Pull requests are welcome and the preferred way of accepting code contributions.
Please follow these guidelines before sending a pull request:
-
Update your fork to the latest upstream version.
-
Use the
develop
branch to base your code off of. Create a topic-branch for your work. We will not merge your 'dev' branch, or your 'master' branch, only topic branches, coming from dev are merged. -
Follow the coding conventions of the original repository. Do not change line endings of the existing file, as this will rewrite the file and loses history.
-
Keep your commits as autonomous as possible, i.e. create a new commit for every single bug fix or feature added.
-
Always add meaningful commit messages. We should not have to guess at what your code is supposed to do.
-
One pull request per feature. If you want multiple features, send multiple PR's
Please follow this process; it's the best way to get your work included in the project:
- Fork the project, clone your fork, and configure the remotes:
# clone your fork of the repo into the current directory in terminal
git clone [email protected]:<your username>/SickChill.git
# navigate to the newly cloned directory
cd SickChill
# assign the original repo to a remote called "upstream"
git remote add upstream https://github.com/SickChill/SickChill.git
-
If you cloned a while ago, get the latest changes from upstream:
# fetch upstream changes git fetch upstream # make sure you are on your 'master' branch git checkout master # merge upstream changes git merge upstream/master
-
Make sure that your develop branch is up to date:
# Switch to the develop branch git checkout develop # Pull down any updates git pull
-
Create a new topic branch to contain your feature, change, or fix:
git checkout -b <topic-branch-name> develop
-
Commit your changes in logical chunks. or your pull request is unlikely be merged into the main project. Use git's interactive rebase feature to tidy up your commits before making them public.
-
Push your topic branch up to your fork:
git push origin <topic-branch-name>
-
Open a Pull Request with a clear title and description.
Read and follow the SickChill Coding Standards. Review these regularly as they are subject to change and code will not be accepted if it does not adhere to the standards.
Main
Wiki Home
What is SickChill?
Installation/Setup Guides
Donations and support
Installation packages
Contributing
Developers
Debugging
FAQ's and Fixes
Scene exceptions
Settings
Main settings explained
Show settings explained
Remaining settings explained
NZBtoMedia
MetaData
Post-Processing
Quality Settings