Merge "Update URL links to opendev.org locations"
This commit is contained in:
commit
34d181d2ae
@ -5,7 +5,7 @@ reviewstats
|
|||||||
Utility scripts for generating stats about OpenStack development.
|
Utility scripts for generating stats about OpenStack development.
|
||||||
|
|
||||||
* Free software: Apache license
|
* Free software: Apache license
|
||||||
* Documentation: http://docs.openstack.org/reviewstats
|
* Documentation: https://docs.openstack.org/reviewstats/latest/
|
||||||
|
|
||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
|
@ -34,7 +34,7 @@ import requests.auth
|
|||||||
LOG = logging.getLogger(__name__)
|
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')
|
'reference/projects.yaml')
|
||||||
|
|
||||||
|
|
||||||
@ -141,7 +141,7 @@ def projects_q(project):
|
|||||||
:rtype: str
|
:rtype: str
|
||||||
|
|
||||||
.. _Searching Changes:
|
.. _Searching Changes:
|
||||||
https://review.openstack.org/Documentation/user-search.html
|
https://review.opendev.org/Documentation/user-search.html
|
||||||
"""
|
"""
|
||||||
return ('('
|
return ('('
|
||||||
+ ' OR '.join(['project:' + p for p in project['subprojects']])
|
+ ' 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='',
|
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.
|
"""Get the changesets data list.
|
||||||
|
|
||||||
:param projects: List of gerrit project names.
|
:param projects: List of gerrit project names.
|
||||||
|
Loading…
Reference in New Issue
Block a user