From 26d23478124e1cf5a1713e086916ccf80e2cd977 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Wed, 15 Mar 2017 16:31:58 -0400 Subject: [PATCH] update docs --- docs/index.md | 13 ++++++++----- lbrynet/analytics/events.py | 1 - lbrynet/lbrynet_daemon/Daemon.py | 13 ++++++++----- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/docs/index.md b/docs/index.md index c96a9fdf1..2cce999ef 100644 --- a/docs/index.md +++ b/docs/index.md @@ -553,14 +553,17 @@ Args: Returns: (dict) Dictionary of lbry version information { - 'platform': (str) platform string - 'os_release': (str) os release string - 'os_system': (str) os name + 'build': (str) build type (e.g. "dev", "rc", "release"), + 'ip': (str) remote ip, if available, + 'lbrynet_update_available': (bool) whether there's an update available, 'lbrynet_version': (str) lbrynet_version, 'lbryum_version': (str) lbryum_version, - 'ui_version': (str) commit hash of ui version being used + 'os_release': (str) os release string + 'os_system': (str) os name + 'platform': (str) platform string + 'processor': (str) processor type, + 'python_version': (str) python version, 'remote_lbrynet': (str) most recent lbrynet version available from github - 'remote_lbryum': (str) most recent lbryum version available from github } ``` diff --git a/lbrynet/analytics/events.py b/lbrynet/analytics/events.py index 2c4eb498d..203f24973 100644 --- a/lbrynet/analytics/events.py +++ b/lbrynet/analytics/events.py @@ -101,7 +101,6 @@ def make_context(platform, wallet): 'app': { 'name': 'lbrynet', 'version': platform['lbrynet_version'], - 'ui_version': platform['ui_version'], 'python_version': platform['python_version'], 'build': platform['build'], 'wallet': { diff --git a/lbrynet/lbrynet_daemon/Daemon.py b/lbrynet/lbrynet_daemon/Daemon.py index cf30e2a85..e5793b7ab 100644 --- a/lbrynet/lbrynet_daemon/Daemon.py +++ b/lbrynet/lbrynet_daemon/Daemon.py @@ -1215,14 +1215,17 @@ class Daemon(AuthJSONRPCServer): Returns: (dict) Dictionary of lbry version information { - 'platform': (str) platform string - 'os_release': (str) os release string - 'os_system': (str) os name + 'build': (str) build type (e.g. "dev", "rc", "release"), + 'ip': (str) remote ip, if available, + 'lbrynet_update_available': (bool) whether there's an update available, 'lbrynet_version': (str) lbrynet_version, 'lbryum_version': (str) lbryum_version, - 'ui_version': (str) commit hash of ui version being used + 'os_release': (str) os release string + 'os_system': (str) os name + 'platform': (str) platform string + 'processor': (str) processor type, + 'python_version': (str) python version, 'remote_lbrynet': (str) most recent lbrynet version available from github - 'remote_lbryum': (str) most recent lbryum version available from github } """