mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-18 07:15:13 -05:00
Merge pull request #367 from WebSpider/dev-version_info_page
Expose commit hash on infopage
This commit is contained in:
commit
1f618bf47c
@ -17,7 +17,7 @@
|
||||
|
||||
<div id="summary" class="align-left">
|
||||
<table class="infoTable" cellspacing="1" border="0" cellpadding="0">
|
||||
<tr><td class="infoTableHeader">SB Version: </td><td class="infoTableCell">TVRage ($sickbeard.version.SICKBEARD_VERSION) <!-- – build.date //-->
|
||||
<tr><td class="infoTableHeader">SB Version: </td><td class="infoTableCell">TVRage ($sickbeard.version.SICKBEARD_VERSION) / ($sickbeard.CUR_COMMIT_HASH) <!-- – build.date //-->
|
||||
</td></tr>
|
||||
<tr><td class="infoTableHeader">SB Config file: </td><td class="infoTableCell">$sickbeard.CONFIG_FILE</td></tr>
|
||||
<tr><td class="infoTableHeader">SB Database file: </td><td class="infoTableCell">$db.dbFilename()</td></tr>
|
||||
|
@ -96,6 +96,7 @@ NEWEST_VERSION = None
|
||||
NEWEST_VERSION_STRING = None
|
||||
VERSION_NOTIFY = None
|
||||
AUTO_UPDATE = None
|
||||
CUR_COMMIT_HASH = None
|
||||
|
||||
INIT_LOCK = Lock()
|
||||
__INITIALIZED__ = False
|
||||
|
@ -400,6 +400,7 @@ class GitUpdateManager(UpdateManager):
|
||||
logger.log(u"Output doesn't look like a hash, not using it", logger.ERROR)
|
||||
return False
|
||||
self._cur_commit_hash = cur_commit_hash
|
||||
sickbeard.CUR_COMMIT_HASH = cur_commit_hash
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user