Add how to use local file
default_data_uri option can handle local file already, so this patch adds how to use local file for the option. This comes from the commit I558238dbfc633793013451f836c7ce449e94c6c5 Change-Id: I1498f46731db0735685461faa4de940766354931
This commit is contained in:
parent
798692e0ee
commit
bacad8b044
@ -39,7 +39,9 @@ optional arguments:
|
||||
--debug, -d If set to true, the logging level will be set to DEBUG
|
||||
instead of the default INFO level.
|
||||
--default-data-uri DEFAULT_DATA_URI
|
||||
URI for default data
|
||||
URI for default data. A local file can be used with
|
||||
the prefix "file://". For example, default_data_uri =
|
||||
file:///path/to/default_data.json
|
||||
--driverlog-data-uri DRIVERLOG_DATA_URI
|
||||
URI for default data
|
||||
--gerrit-retry GERRIT_RETRY
|
||||
|
@ -116,7 +116,8 @@
|
||||
# Storage URI (string value)
|
||||
#runtime_storage_uri = memcached://127.0.0.1:11211
|
||||
|
||||
# URI for default data (string value)
|
||||
# URI for default data. A local file can be used with the prefix "file://". For
|
||||
# example, default_data_uri = file:///path/to/default_data.json (string value)
|
||||
#default_data_uri = https://git.openstack.org/cgit/openstack/stackalytics/plain/etc/default_data.json
|
||||
|
||||
# The folder that holds all project sources to analyze (string value)
|
||||
|
@ -27,7 +27,9 @@ PROCESSOR_OPTS = [
|
||||
cfg.StrOpt('default-data-uri',
|
||||
default='https://git.openstack.org/cgit/'
|
||||
'openstack/stackalytics/plain/etc/default_data.json',
|
||||
help='URI for default data'),
|
||||
help='URI for default data. A local file can be used with the '
|
||||
'prefix "file://". For example, '
|
||||
'default_data_uri = file:///path/to/default_data.json'),
|
||||
cfg.StrOpt('sources-root', default='/var/local/stackalytics',
|
||||
help='The folder that holds all project sources to analyze'),
|
||||
cfg.IntOpt('days_to_update_members', default=30,
|
||||
|
Loading…
Reference in New Issue
Block a user