Commit 6a15d66e authored by echel0n's avatar echel0n
Browse files

Added renovate.json file

parent 9a951a71
{
"name": "sickrage",
"version": "10.0.3",
"version": "10.0.67.dev0",
"private": true,
"repository": {
"type": "git",
......@@ -11,7 +11,7 @@
},
"homepage": "https://www.sickrage.ca",
"scripts": {
"build": "webpack --config webpack.config.js -p"
"build": "webpack --config webpack.config.js"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "~5.14.0",
......@@ -34,6 +34,7 @@
"eslint-loader": "~4.0.0",
"file-loader": "~6.0.0",
"gettext-parser": "~2.1.0",
"graceful-fs": "~4.2.4",
"imagesloaded": "~4.1.4",
"isotope-layout": "~3.0.6",
"jquery": "~3.5.1",
......@@ -58,11 +59,12 @@
"tooltipster": "~4.2.6",
"ttag": "~1.7.22",
"underscore": "~1.9.1",
"webpack": "~4.44.0",
"webpack-cli": "~3.3.11",
"webpack": "^4.44.2",
"webpack-cli": "^4.8.0",
"webpack-spritesmith": "~1.1.0"
},
"dependencies": {
"auto-changelog": "~2.2.1"
"auto-changelog": "~2.2.1",
"yarn": "^1.22.15"
}
}
{
"extends": [
"config:base",
":assignee(echel0n)"
"config:base"
],
"prHourlyLimit": 2,
"rebaseWhen": "conflicted",
"baseBranches": [
"develop"
],
"enabledManagers": [
"pip_requirements",
"poetry"
],
"python": {
"commitMessageAction": "Update Python",
"managerBranchPrefix": "py/",
"labels": [
"dependencies",
"python"
]
"labels": ["Update dep (Py)"]
}
}
[bumpversion]
current_version = 10.0.3
current_version = 10.0.67.dev0
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<dev>\d+))?
......
......@@ -19,7 +19,7 @@
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
# ##############################################################################
__version__ = "10.0.67.dev1"
__version__ = "10.0.67.dev0"
__install_type__ = ""
import sys
......@@ -34,10 +34,13 @@ import gettext
import multiprocessing
import os
import pathlib
import re
import site
import subprocess
import threading
import time
import traceback
import pkg_resources
# pywin32 for windows service
try:
......@@ -73,7 +76,7 @@ if not (LIBS_DIR in sys.path) and not getattr(sys, 'frozen', False):
sys.path.extend(remainder)
# set system default language
gettext.install('messages', LOCALE_DIR, names=["ngettext"])
gettext.install('messages', LOCALE_DIR, codeset='UTF-8', names=["ngettext"])
if __install_type__ == 'windows':
class SiCKRAGEService(win32serviceutil.ServiceFramework):
......@@ -245,6 +248,31 @@ def changelog():
return f.read()
def check_requirements():
if os.path.exists(REQS_FILE):
with open(REQS_FILE) as f:
for line in f.readlines():
try:
req_name, req_version = line.strip().split('==', 1)
if 'python_version' in req_version:
m = re.search('(\d+.\d+.\d+).*(\d+.\d+)', req_version)
req_version = m.group(1)
python_version = m.group(2)
python_version_major = int(python_version.split('.')[0])
python_version_minor = int(python_version.split('.')[1])
if sys.version_info.major == python_version_major and sys.version_info.minor != python_version_minor:
continue
if not pkg_resources.get_distribution(req_name).version == req_version:
print('Updating requirement {} to {}'.format(req_name, req_version))
subprocess.check_call([sys.executable, "-m", "pip", "install", "--no-deps", "--no-cache-dir", line.strip()])
except pkg_resources.DistributionNotFound:
print('Installing requirement {}'.format(line.strip()))
subprocess.check_call([sys.executable, "-m", "pip", "install", "--no-deps", "--no-cache-dir", line.strip()])
except ValueError:
continue
def verify_checksums(remove_unverified=False):
valid_files = []
exempt_files = [pathlib.Path(__file__), pathlib.Path(CHECKSUM_FILE), pathlib.Path(AUTO_PROCESS_TV_CFG_FILE)]
......@@ -456,9 +484,6 @@ def start():
app.pid = app.daemon.pid
app.start()
from tornado.ioloop import IOLoop
IOLoop.current().start()
except (SystemExit, KeyboardInterrupt):
if app:
app.shutdown()
......
This diff is collapsed.
10.0.3
\ No newline at end of file
10.0.67.dev0
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment