Skip to content

Commit 0cd7bf5

Browse files
committed
contributing FAQ err
1 parent 182a96b commit 0cd7bf5

6 files changed

+146
-6
lines changed

Contributing.md

+138
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
### Questions about SickChill?
2+
3+
To get your questions answered, please ask on the [sickchill discord](https://discord.gg/FXre9qkHwE)
4+
5+
# Contributing to SickChill
6+
7+
1. [Getting Involved](#getting-involved)
8+
2. [How To Report Bugs](#how-to-report-bugs)
9+
3. [Tips For Submitting Code](#tips-for-submitting-code)
10+
11+
12+
## Getting Involved
13+
14+
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.
15+
16+
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](#how-to-report-bugs).
17+
18+
## Discussion
19+
20+
If you think you've found a bug please report it on [discord](https://discord.gg/FXre9qkHwE), where you will find most of the sickchill dev team.
21+
22+
23+
## How to Report Bugs
24+
25+
### Make sure it is a SickChill bug
26+
27+
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.
28+
29+
If you are new to SickChill, it is usually a much better idea to ask for help first in the [sickchill discord](https://discord.gg/FXre9qkHwE). You will get much quicker support, and you will help avoid tying up the SickChill team with invalid bug reports.
30+
31+
### Try the latest version of SickChill
32+
33+
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).
34+
35+
### Reporting the issue
36+
37+
If the above steps fail and you are sure its a bug, issues are tracked in the [SickChill issue tracker](https://github.com/SickChill/SickChill).
38+
39+
## Tips For Submitting Code
40+
41+
42+
### Code
43+
44+
**ALWAYS follow SickChill [Coding Standards](https://github.com/SickChill/sickchill.github.io/wiki/SickChill-Coding-Standards)**
45+
46+
Review regularly as they are subject to change and submissions will not be accepted until they meet our guidelines.
47+
48+
**NEVER write your patches to the master branch** - it gets messy (I say this from experience!)
49+
50+
**ALWAYS USE A "TOPIC" BRANCH!**
51+
52+
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).
53+
54+
#### Reporting
55+
Please follow these guidelines before reporting a bug:
56+
57+
1. **Update to the latest version** — Check if you can reproduce the issue with the latest version from the `develop` branch.
58+
59+
2. **Use the search on SickChill** — check if the issue has already been reported. If it has been, please comment on the existing issue.
60+
61+
3. **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.
62+
63+
### Pull requests
64+
65+
[Pull requests](https://help.github.com/articles/using-pull-requests) are welcome and the preferred way of accepting code contributions.
66+
67+
Please follow these guidelines before sending a pull request:
68+
69+
1. Update your fork to the latest upstream version.
70+
71+
2. 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.
72+
73+
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.
74+
75+
4. Keep your commits as autonomous as possible, i.e. create a new commit for every single bug fix or feature added.
76+
77+
5. Always add meaningful commit messages. We should not have to guess at what your code is supposed to do.
78+
79+
6. One pull request per feature. If you want multiple features, send multiple PR's
80+
81+
Please follow this process; it's the best way to get your work included in the project:
82+
83+
- [Fork](http://help.github.com/fork-a-repo/) the project, clone your fork,
84+
and configure the remotes:
85+
86+
```bash
87+
# clone your fork of the repo into the current directory in terminal
88+
git clone [email protected]:<your username>/SickChill.git
89+
# navigate to the newly cloned directory
90+
cd SickChill
91+
# assign the original repo to a remote called "upstream"
92+
git remote add upstream https://github.com/SickChill/SickChill.git
93+
```
94+
95+
- If you cloned a while ago, get the latest changes from upstream:
96+
97+
```bash
98+
# fetch upstream changes
99+
git fetch upstream
100+
# make sure you are on your 'master' branch
101+
git checkout master
102+
# merge upstream changes
103+
git merge upstream/master
104+
```
105+
106+
- Make sure that your develop branch is up to date:
107+
108+
```bash
109+
# Switch to the develop branch
110+
git checkout develop
111+
# Pull down any updates
112+
git pull
113+
```
114+
115+
- Create a new topic branch to contain your feature, change, or fix:
116+
117+
```bash
118+
git checkout -b <topic-branch-name> develop
119+
```
120+
121+
- Commit your changes in logical chunks. or your pull request is unlikely
122+
be merged into the main project. Use git's
123+
[interactive rebase](https://help.github.com/articles/interactive-rebase)
124+
feature to tidy up your commits before making them public.
125+
126+
- Push your topic branch up to your fork:
127+
128+
```bash
129+
git push origin <topic-branch-name>
130+
```
131+
132+
- [Open a Pull Request](https://help.github.com/articles/using-pull-requests) with a
133+
clear title and description.
134+
135+
136+
## Code guidelines
137+
138+
Read and follow the [SickChill Coding Standards](https://github.com/SickChill/sickchill.github.io/wiki/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.

FAQ's-and-Fixes.md FAQs-and-Fixes.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
- [What is post processing?](#what-is-post-processing)
1717
- [How do the quality settings for a show work?](#how-do-the-quality-settings-for-a-show-work)
1818
- [Newly aired shows are not downloading and set to skipped/ignored?](#newly-aired-shows-are-not-downloading-and-set-to-skippedignored)
19-
- [How to Disable and Remove SickChill autostart (systemctl) ?](#how-to-disable-and-remove-sickchill-from-autostart-systemctl-)
19+
- [How to disable and remove SickChill autostart (_systemctl_) ?](#how-to-disable-and-remove-sickchill-from-autostart)
2020
- [Post-processing shows a negative time](#post-processing-shows-a-negative-time)
2121
- [What is a network time zone warning?](#what-is-a-network-time-zone-warning)
2222
- [Unable to send torrent to synology download station](#unable-to-send-torrent-to-synology-download-station)
2323
- [Timeout when adding a show on Freenas](#timeout-when-adding-a-show-on-freenas)
2424
- [What are Unicode errors?](#what-are-unicode-errors)
25-
- [Why does "Send to trash" option not send the files to the Recycle Bin?](#why-does-send-to-trash-option-not-send-the-files-to-the-recycle-bin)
25+
- [Why does "Send to trash" option not send the files to the Recycle Bin?](#why-does-the-send-to-trash-option-not-send-the-files-to-the-recycle-bin)
2626

2727
## Where are the LOG files located?
2828

@@ -147,7 +147,7 @@ Previously, when you added a show you had the option for **Default Episode Statu
147147
**Solution**
148148
Edit each show (or mass update) and correct the Default Episode Status to WANTED (You can also change from wanted to another on shows where you don't want new episodes to be downloaded automatically)
149149

150-
## How to disable and remove SickChill from autostart (_systemctl_) ?
150+
## How to disable and remove SickChill from autostart?
151151

152152
This step could be useful **if you plan to remove/reinstall SickChill** and you would like to _"start fresh"_.
153153

Home.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ These documents are a work-in-progress. If you'd like to contribute, please get
1313
- [Issues / Bug reports](https://discord.com/channels/502612977271439372/1048317980343283733)
1414
- [Discussions](https://discord.com/channels/502612977271439372/502612977803984898)
1515
- [Feature requests](https://discord.com/channels/502612977271439372/1112608105025519697)
16+
- [Contributing](Contributing)
1617
- [Donations](Donations)
1718

1819
---

Settings-explained.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Key resource links should you wish to chat or fix something that's gone wrong.
6060
You can manually set a time at witch SickChill updates/refreshes the shows information from the indexers. (air dates etc.) Best to use a time at night when the device is idle.
6161
- `Send to trash for actions:`
6262
This option lets SickChill move the files to a recycle bin instead of the normal permanent delete.
63-
Note: doesn't work on all Operating Systems. [(NSSM / WinService workaround)](FAQ's-and-Fixes#why-does-send-to-trash-option-not-send-the-files-to-the-recycle-bin)
63+
Note: doesn't work on all Operating Systems. [(NSSM / WinService workaround)](FAQs-and-Fixes#why-does-the-send-to-trash-option-not-send-the-files-to-the-recycle-bin)
6464
- `Number of Log files saved:`
6565
Lets you set he number of log files that are stored before deleted.
6666
- `Size of Log files saved:`

Show-settings-explained.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ This lets you customize the columns of the seasons. You can add the size columns
151151
- `Preferred Quality:`
152152
Lets you set the quality of the file that SickChill should download. See [Quality Settings](Quality-Settings) for more info.
153153
- `Default Episode Status:`
154-
Lets you set the Default Episode Status. Needs to be set to WANTED if you want new shows to be downloaded.! See [Default Episode Status](FAQ%27s-and-Fixes#newly-aired-shows-are-not-downloading-and-set-to-skippedignored) for more info.
154+
Lets you set the Default Episode Status. Needs to be set to WANTED if you want new shows to be downloaded.! See [Default Episode Status](FAQs-and-Fixes#newly-aired-shows-are-not-downloading-and-set-to-skippedignored) for more info.
155155
- `Info Language:`
156156
Lets you set the default language for the show. Info, descriptions etc. Note, not subtitles.!
157157
- `Subtitles:` Enable or disable the automatic download of subtitles for this show.

_Sidebar.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
[Installation/Setup Guides](Installation-&-Configuration-Guides)
55
[Donations and support](Donations)
66
[Installation packages](SickChill-installation-packages)
7+
[Contributing](Contributing)
78
[Developers](Developers)
89

910
**Debugging**<br/>
10-
[FAQ's and Fixes](FAQ%27s-and-Fixes)
11+
[FAQ's and Fixes](FAQs-and-Fixes)
1112
[Scene exceptions](Scene-exceptions-and-numbering)
1213

1314
**Settings**<br/>

0 commit comments

Comments
 (0)