From 0a0efa825654f248aca9b9aa4770460d198c3ca5 Mon Sep 17 00:00:00 2001
From: miigotu <miigotu@gmail.com>
Date: Sun, 20 Mar 2016 05:02:55 -0700
Subject: [PATCH] Change wiki/issues links to main repo

---
 .github/CONTRIBUTING.md                    | 4 ++--
 SickBeard.py                               | 2 +-
 gui/slick/views/config.mako                | 2 +-
 gui/slick/views/config_postProcessing.mako | 2 +-
 readme.md                                  | 6 +++---
 sickbeard/logger.py                        | 2 +-
 sickbeard/webserve.py                      | 2 +-
 7 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index a99066169..711ee168b 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -36,7 +36,7 @@ Bugs in old versions of SickRage may have already been fixed. In order to avoid
 
 ### Reporting the issue
 
-If the above steps fail and you are sure its a bug, issues are tracked in the [SickRage issue tracker](https://github.com/SickRage/sickrage-issues). 
+If the above steps fail and you are sure its a bug, issues are tracked in the [SickRage issue tracker](https://github.com/SickRage/SickRage). 
 
 ## Tips For Submitting Code
 
@@ -58,7 +58,7 @@ Please follow these guidelines before reporting a bug:
 
 1. **Update to the latest version** &mdash; Check if you can reproduce the issue with the latest version from the `develop` branch.
 
-2. **Use the search on sickrage-issues** &mdash; check if the issue has already been reported. If it has been, please comment on the existing issue.
+2. **Use the search on SickRage** &mdash; 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** &mdash; Please provide as much details as possible, e.g. SickRage log files (obfuscate apikey/passwords), browser and operating system versions, how you started SickRage, and of course the steps to reproduce the problem.
 
diff --git a/SickBeard.py b/SickBeard.py
index 16a6ff509..9411b4a1b 100755
--- a/SickBeard.py
+++ b/SickBeard.py
@@ -406,7 +406,7 @@ class SickRage(object):
 
         os.setsid()  # @UndefinedVariable - only available in UNIX
 
-        # https://github.com/SickRage/sickrage-issues/issues/2969
+        # https://github.com/SickRage/SickRage/issues/2969
         # http://www.microhowto.info/howto/cause_a_process_to_become_a_daemon_in_c.html#idp23920
         # https://www.safaribooksonline.com/library/view/python-cookbook/0596001673/ch06s08.html
         # Previous code simply set the umask to whatever it was because it was ANDing instead of OR-ing
diff --git a/gui/slick/views/config.mako b/gui/slick/views/config.mako
index 06c1ae04c..d69576557 100644
--- a/gui/slick/views/config.mako
+++ b/gui/slick/views/config.mako
@@ -46,7 +46,7 @@
     <tr><td>&nbsp;</td><td>&nbsp;</td></tr>
     <tr class="infoTableSeperator"><td>&nbsp;</td><td>&nbsp;</td></tr>
     <tr><td class="infoTableHeader"><i class="icon16-config-web"></i> Website:</td><td class="infoTableCell"><a href="${anon_url('http://sickrage.github.io/')}" rel="noreferrer" onclick="window.open(this.href, '_blank'); return false;">http://sickrage.github.io/</a></td></tr>
-    <tr><td class="infoTableHeader"><i class="icon16-config-wiki"></i> Wiki:</td><td class="infoTableCell"><a href="${anon_url('https://github.com/SickRage/sickrage-issues/wiki')}" rel="noreferrer" onclick="window.open(this.href, '_blank'); return false;">https://github.com/SickRage/sickrage-issues/wiki</a></td></tr>
+    <tr><td class="infoTableHeader"><i class="icon16-config-wiki"></i> Wiki:</td><td class="infoTableCell"><a href="${anon_url('https://github.com/SickRage/SickRage/wiki')}" rel="noreferrer" onclick="window.open(this.href, '_blank'); return false;">https://github.com/SickRage/SickRage/wiki</a></td></tr>
     <tr><td class="infoTableHeader"><i class="icon16-config-github"></i> Source:</td><td class="infoTableCell"><a href="${anon_url('https://github.com/SickRage/SickRage/')}" rel="noreferrer" onclick="window.open(this.href, '_blank'); return false;">https://github.com/SickRage/SickRage/</a></td></tr>
     <tr><td class="infoTableHeader"><i class="icon16-config-mirc"></i> IRC Chat:</td><td class="infoTableCell"><a href="irc://irc.freenode.net/#sickrage-issues" rel="noreferrer"><i>#sickrage-issues</i> on <i>irc.freenode.net</i></a></td></tr>
 </table>
diff --git a/gui/slick/views/config_postProcessing.mako b/gui/slick/views/config_postProcessing.mako
index cb2987528..831767e15 100644
--- a/gui/slick/views/config_postProcessing.mako
+++ b/gui/slick/views/config_postProcessing.mako
@@ -220,7 +220,7 @@
                             </label>
                             <label class="nocheck">
                                 <span class="component-title">&nbsp;</span>
-                                <span class="component-desc">See <a href="https://github.com/SickRage/sickrage-issues/wiki/Post-Processing#extra-scripts"><font color='red'><b>Wiki</b></font></a> for script arguments description and usage.</span>
+                                <span class="component-desc">See <a href="https://github.com/SickRage/SickRage/wiki/Post-Processing#extra-scripts"><font color='red'><b>Wiki</b></font></a> for script arguments description and usage.</span>
                             </label>
                         </div>
                         <input type="submit" class="btn config_submitter" value="Save Changes" /><br>
diff --git a/readme.md b/readme.md
index b1816fa1e..1c45632a0 100644
--- a/readme.md
+++ b/readme.md
@@ -1,4 +1,4 @@
-SickRage [![Build Status](https://travis-ci.org/SickRage/SickRage.svg?branch=develop)](https://travis-ci.org/SickRage/SickRage) [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/SickRage/sickrage-issues.svg)](http://isitmaintained.com/project/SickRage/sickrage-issues "Average time to resolve an issue") [![Percentage of issues still open](http://isitmaintained.com/badge/open/SickRage/sickrage-issues.svg)](http://isitmaintained.com/project/SickRage/sickrage-issues "Percentage of issues still open") [![Coverage Status](https://coveralls.io/repos/SickRage/SickRage/badge.svg?branch=develop&service=github)](https://coveralls.io/github/SickRage/SickRage?branch=develop)  
+SickRage [![Build Status](https://travis-ci.org/SickRage/SickRage.svg?branch=develop)](https://travis-ci.org/SickRage/SickRage) [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/SickRage/SickRage.svg)](http://isitmaintained.com/project/SickRage/SickRage "Average time to resolve an issue") [![Percentage of issues still open](http://isitmaintained.com/badge/open/SickRage/SickRage.svg)](http://isitmaintained.com/project/SickRage/SickRage "Percentage of issues still open") [![Coverage Status](https://coveralls.io/repos/SickRage/SickRage/badge.svg?branch=develop&service=github)](https://coveralls.io/github/SickRage/SickRage?branch=develop)  
 =====
 Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
 
@@ -31,7 +31,7 @@ Automatic Video Library Manager for TV Shows. It watches for new episodes of you
 
 #### [![Feature Requests](https://cloud.githubusercontent.com/assets/390379/10127973/045b3a96-6560-11e5-9b20-31a2032956b2.png)](http://feathub.com/SickRage/SickRage)
 
-##### [SickRage Issue Tracker](https://github.com/SickRage/sickrage-issues)
+##### [SickRage Issue Tracker](https://github.com/SickRage/SickRage)
 
 ##### [FAQ](https://github.com/SickRage/SickRage/wiki/Frequently-Asked-Questions)
 
@@ -43,7 +43,7 @@ We HIGHLY recommend starting out with no database files at all to make this a fr
 
 #### Supported providers
 
-A full list can be found here: [Link](https://github.com/SickRage/sickrage-issues/wiki/SickRage-Search-Providers)
+A full list can be found here: [Link](https://github.com/SickRage/SickRage/wiki/SickRage-Search-Providers)
 
 #### Special Thanks to:
 ![image](https://rarbg.com/favicon.ico)[RARBG](https://rarbg.to)
diff --git a/sickbeard/logger.py b/sickbeard/logger.py
index 135083e11..02e031e75 100644
--- a/sickbeard/logger.py
+++ b/sickbeard/logger.py
@@ -266,7 +266,7 @@ class Logger(object):  # pylint: disable=too-many-instance-attributes
         self.submitter_running = True
 
         gh_org = sickbeard.GIT_ORG or 'SickRage'
-        gh_repo = 'sickrage-issues'
+        gh_repo = sickbeard.GIT_REPO or 'SickRage'
 
         git = Github(login_or_token=sickbeard.GIT_USERNAME, password=sickbeard.GIT_PASSWORD, user_agent='SickRage')
 
diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py
index 3f5846c69..38ccb0d39 100644
--- a/sickbeard/webserve.py
+++ b/sickbeard/webserve.py
@@ -1227,7 +1227,7 @@ class Home(WebRoot):
     def displayShow(self, show=None):
         # todo: add more comprehensive show validation
         try:
-            show = int(show)  # fails if show id ends in a period SickRage/sickrage-issues#65
+            show = int(show)  # fails if show id ends in a period SickRage/SickRage#65
             showObj = Show.find(sickbeard.showList, show)
         except (ValueError, TypeError):
             return self._genericMessage("Error", "Invalid show ID: {0!s}".format(str(show)))
-- 
GitLab