From 4510c601356718774e55f7a36eead9d51f194fbe Mon Sep 17 00:00:00 2001 From: wangfaxin Date: Wed, 18 Dec 2019 14:36:03 +0800 Subject: [PATCH] Update URL links to opendev.org locations Some links still pointed to out-of-date openstack.org URLs. This updates references to point to the current opendev.org locations. Change-Id: I03a006948bf3f8b056cc7787c5fcda51aa9373fb --- README.rst | 2 +- reviewstats/utils.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 411137c..6bf351d 100644 --- a/README.rst +++ b/README.rst @@ -5,7 +5,7 @@ reviewstats Utility scripts for generating stats about OpenStack development. * Free software: Apache license -* Documentation: http://docs.openstack.org/reviewstats +* Documentation: https://docs.openstack.org/reviewstats/latest/ Features -------- diff --git a/reviewstats/utils.py b/reviewstats/utils.py index 71831e1..c130d18 100644 --- a/reviewstats/utils.py +++ b/reviewstats/utils.py @@ -34,7 +34,7 @@ import requests.auth LOG = logging.getLogger(__name__) -PROJECTS_YAML = ('http://git.openstack.org/cgit/openstack/governance/plain/' +PROJECTS_YAML = ('https://opendev.org/openstack/governance/raw/branch/master/' 'reference/projects.yaml') @@ -141,7 +141,7 @@ def projects_q(project): :rtype: str .. _Searching Changes: - https://review.openstack.org/Documentation/user-search.html + https://review.opendev.org/Documentation/user-search.html """ return ('(' + ' OR '.join(['project:' + p for p in project['subprojects']]) @@ -149,7 +149,7 @@ def projects_q(project): def get_changes(projects, ssh_user, ssh_key, only_open=False, stable='', - server='review.openstack.org'): + server='review.opendev.org'): """Get the changesets data list. :param projects: List of gerrit project names.