Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
storjstatus-client
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
James Coyle
storjstatus-client
Commits
16eb5f52
Commit
16eb5f52
authored
Mar 28, 2018
by
James Coyle
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'james-dev' into 'master'
James dev See merge request
!14
parents
c3e882de
dc4d546c
Pipeline
#1245
passed with stages
in 4 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
storjstatus/storjstatus_send.py
storjstatus/storjstatus_send.py
+0
-3
storjstatus/version.py
storjstatus/version.py
+1
-1
update-db.py
update-db.py
+4
-4
No files found.
storjstatus/storjstatus_send.py
View file @
16eb5f52
...
...
@@ -170,7 +170,6 @@ def config_json():
def
load_settings
():
<<<<<<<
HEAD
if
storjstatus_common
.
get_os_type
()
==
"win"
:
return
load_settings_win
()
elif
storjstatus_common
.
get_os_type
()
==
"linux"
:
...
...
@@ -192,8 +191,6 @@ def load_settings_win():
def
load_settings_linux
():
=======
>>>>>>>
c778c9176753976ed977fc2bf64e632f499cdfa3
global
APIKEY
global
APISECRET
global
SERVERGUID
...
...
storjstatus/version.py
View file @
16eb5f52
__version__
=
'0.3.
0
'
__version__
=
'0.3.
1
'
update-db.py
View file @
16eb5f52
import
os
import
setuptools
from
crate.client
import
connect
exec
(
open
(
'storjstatus/version.py'
).
read
())
def
main
():
exec
(
open
(
'storjstatus/version.py'
).
read
())
print
(
"Updating database to version "
+
__VERSION__
)
print
(
"Updating database to version "
+
__version__
)
connection
=
connect
(
'data2.jamescoyle.net:4200'
)
cursor
=
connection
.
cursor
()
cursor
.
execute
(
"UPDATE storj.settings SET setting_value = '"
+
__
VERSION
__
+
"' WHERE setting_name = 'storjstatus-client-version' "
)
cursor
.
execute
(
"UPDATE storj.settings SET setting_value = '"
+
__
version
__
+
"' WHERE setting_name = 'storjstatus-client-version' "
)
if
__name__
==
"__main__"
:
main
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment