1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00
SickRage/contributing.md
echel0n 0d9fbc1ad7 Welcome to our SickBeard-TVRage Edition ...
This version of SickBeard uses both TVDB and TVRage to search and gather it's series data from allowing you to now have access to and download shows that you couldn't before because of being locked into only what TheTVDB had to offer.

Also this edition is based off the code we used in our XEM editon so it does come with scene numbering support as well as all the other features our XEM edition has to offer.

Please before using this with your existing database (sickbeard.db) please make a backup copy of it and delete any other database files such as cache.db and failed.db if present, we HIGHLY recommend starting out with no database files at all to make this a fresh start but the choice is at your own risk!

Enjoy!
2014-03-09 22:39:12 -07:00

4.1 KiB

Contributing to SickBeard

  1. Getting Involved
  2. How To Report Bugs
  3. Tips For Submitting Code

Getting Involved

There are a number of ways to get involved with the development of SickBeard. 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 SickBeard repository. Please read through the full guide detailing How to Report Bugs.

Discussion

Forum and IRC

The SickBeard development team frequently tracks posts on the SickBeard Forum. If you have longer posts or questions please feel free to post them there. If you think you've found a bug please file it in the bug tracker.

Additionally most of the SickBeard development team can be found in the #sickbeard IRC channel on irc.freenode.net.

How to Report Bugs

Make sure it is a SickBeard bug

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 SickBeard, it is usually a much better idea to ask for help first in the Using SickBeard Forum or the SickBeard IRC channel. You will get much quicker support, and you will help avoid tying up the SickBeard team with invalid bug reports.

SickBeard Issue Tracker

Try the latest version of SickBeard

Bugs in old versions of SickBeard 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 development branch first before pushing down to the master branch (which is what the binary builds are built off of).

Tips For Submitting Code

Code

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 forum post / google code 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:

  1. Update to the latest version — Check if you can reproduce the issue with the latest version from the development branch.

  2. Use the SickBeard Forums search — check if the issue has already been reported. If it has been, please comment on the existing issue.

  3. Provide a means to reproduce the problem — Please provide as much details as possible, e.g. SickBeard log files (obfuscate apikey/passwords), browser and operating system versions, how you started SickBeard, and of course the steps to reproduce the problem.

Feature requests

Please follow the bug guidelines above for feature requests, i.e. update to the latest version and search for existing issues before posting a new request.

Pull requests

Pull requests are welcome and the preferred way of accepting code contributions.

Please follow these guidelines before sending a pull request:

  1. Update your fork to the latest upstream version.

  2. Use the development branch to base your code off of.

  3. 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.

  4. Keep your commits as autonomous as possible, i.e. create a new commit for every single bug fix or feature added.

  5. Always add meaningful commit messages. We should not have to guess at what your code is suppose to do.