From 6d72f722e4194c6060357dbe3921894d04c364f6 Mon Sep 17 00:00:00 2001 From: Sergey Nikitin Date: Sun, 21 Apr 2019 01:38:29 +0400 Subject: [PATCH] Changed URLs on opendev Change-Id: I28996c9f5d38eacbc7b1412b45cac2c2d2deddd6 --- etc/stackalytics.conf | 10 +++++----- stackalytics/processor/config.py | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/etc/stackalytics.conf b/etc/stackalytics.conf index 40ef2bffd..3c25c3196 100644 --- a/etc/stackalytics.conf +++ b/etc/stackalytics.conf @@ -147,7 +147,7 @@ # 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 +#default_data_uri = https://raw.githubusercontent.com/stackalytics/default_data/master/default_data.json # The folder that holds all project sources to analyze (string value) #sources_root = /var/local/stackalytics @@ -156,13 +156,13 @@ #days_to_update_members = 30 # The address of file with corrections data (string value) -#corrections_uri = https://git.openstack.org/cgit/openstack/stackalytics/plain/etc/corrections.json +#corrections_uri = https://opendev.org/x/stackalytics/raw/branch/master/etc/corrections.json # URI of review system (string value) -#review_uri = gerrit://review.openstack.org +#review_uri = gerrit://review.opendev.org # git base location (string value) -#git_base_uri = https://git.openstack.org +#git_base_uri = https://opendev.org # SSH key for gerrit review system access (string value) #ssh_key_filename = /home/user/.ssh/id_rsa @@ -171,7 +171,7 @@ #ssh_username = user # URI of translation team data (string value) -#translation_team_uri = https://git.openstack.org/cgit/openstack/i18n/plain/tools/zanata/translation_team.yaml +#translation_team_uri = https://opendev.org/openstack/i18n/raw/branch/master/tools/zanata/translation_team.yaml # Source for fetching user profiles (string value) # Allowed values: launchpad, diff --git a/stackalytics/processor/config.py b/stackalytics/processor/config.py index 060bab09c..1a697b97c 100644 --- a/stackalytics/processor/config.py +++ b/stackalytics/processor/config.py @@ -35,12 +35,12 @@ PROCESSOR_OPTS = [ cfg.IntOpt('days_to_update_members', default=30, help='Number of days to update members'), cfg.StrOpt('corrections-uri', - default=('https://git.openstack.org/cgit/' - 'openstack/stackalytics/plain/etc/corrections.json'), + default=('https://opendev.org/x/stackalytics/raw/' + 'branch/master/etc/corrections.json'), help='The address of file with corrections data'), - cfg.StrOpt('review-uri', default='gerrit://review.openstack.org', + cfg.StrOpt('review-uri', default='gerrit://review.opendev.org', help='URI of review system'), - cfg.StrOpt('git-base-uri', default='https://git.openstack.org', + cfg.StrOpt('git-base-uri', default='https://opendev.org', help='git base location'), cfg.StrOpt('ssh-key-filename', default='/home/user/.ssh/id_rsa', help='SSH key for gerrit review system access'), @@ -51,8 +51,8 @@ PROCESSOR_OPTS = [ cfg.StrOpt('github-password', default=None, help='Password for github access'), cfg.StrOpt('translation-team-uri', - default='https://git.openstack.org/cgit/openstack/i18n/' - 'plain/tools/zanata/translation_team.yaml', + default='https://opendev.org/openstack/i18n/raw/' + 'branch/master/tools/zanata/translation_team.yaml', help='URI of translation team data'), cfg.StrOpt("fetching-user-source", default='launchpad', choices=['launchpad', ''],