Move to opendev

1.Use opendev.org instead of git.openstack.org.
2.Use review.opendev.org instead of review.openstack.org.

Change-Id: I8e9da8fbb04bdec42a0b2f012f6a38b8ee413b27
This commit is contained in:
ZhongShengping 2019-04-22 14:40:30 +08:00
parent eafd303e0a
commit 6a5afea40a
11 changed files with 24 additions and 23 deletions

View File

@ -89,7 +89,7 @@ Other references:
- https://wiki.openstack.org/wiki/ReviewChecklist - https://wiki.openstack.org/wiki/ReviewChecklist
- https://wiki.openstack.org/wiki/GitCommitMessages - https://wiki.openstack.org/wiki/GitCommitMessages
- https://docs.openstack.org/hacking/latest/ - https://docs.openstack.org/hacking/latest/
- https://review.openstack.org/#/c/116176/ - https://review.opendev.org/#/c/116176/
- trove-pylint readme file in tools/trove-pylint.README - trove-pylint readme file in tools/trove-pylint.README
Code Review Priority Code Review Priority

View File

@ -12,13 +12,13 @@ Getting Started
If you'd like to run from the master branch, you can clone the git repo: If you'd like to run from the master branch, you can clone the git repo:
git clone https://git.openstack.org/cgit/openstack/trove git clone https://opendev.org/openstack/trove
For information on how to contribute to trove, please see For information on how to contribute to trove, please see
CONTRIBUTING.rst_ and HACKING.rst_ CONTRIBUTING.rst_ and HACKING.rst_
.. _CONTRIBUTING.rst: https://git.openstack.org/cgit/openstack/trove/plain/CONTRIBUTING.rst .. _CONTRIBUTING.rst: https://opendev.org/openstack/trove/plain/CONTRIBUTING.rst
.. _HACKING.rst: https://git.openstack.org/cgit/openstack/trove/plain/HACKING.rst .. _HACKING.rst: https://opendev.org/openstack/trove/plain/HACKING.rst
* `Wiki <https://wiki.openstack.org/wiki/Trove>`_ * `Wiki <https://wiki.openstack.org/wiki/Trove>`_
* `Developer Docs <https://docs.openstack.org/trove/latest/>`_ * `Developer Docs <https://docs.openstack.org/trove/latest/>`_
@ -36,13 +36,13 @@ Python client
------------- -------------
Python-troveclient_ is a client for Trove. Python-troveclient_ is a client for Trove.
.. _Python-troveclient: https://git.openstack.org/cgit/openstack/python-troveclient .. _Python-troveclient: https://opendev.org/openstack/python-troveclient
Dashboard plugin Dashboard plugin
---------------- ----------------
Trove-dashboard_ is OpenStack dashbaord plugin for Trove. Trove-dashboard_ is OpenStack dashbaord plugin for Trove.
.. _Trove-dashboard: https://git.openstack.org/cgit/openstack/trove-dashboard .. _Trove-dashboard: https://opendev.org/openstack/trove-dashboard
References References
---------- ----------

View File

@ -78,7 +78,8 @@ release = version_info.release_string()
version = version_info.version_string() version = version_info.version_string()
# Config logABug feature # Config logABug feature
giturl = u'http://git.openstack.org/cgit/openstack/trove/tree/api-ref/source' giturl = (
u'https://opendev.org/openstack/trove/src/branch/master/api-ref/source')
# source tree # source tree
# html_context allows us to pass arbitrary values into the html template # html_context allows us to pass arbitrary values into the html template
html_context = {"bug_tag": "api-ref", html_context = {"bug_tag": "api-ref",
@ -117,7 +118,7 @@ pygments_style = 'sphinx'
# Config logABug feature # Config logABug feature
# source tree # source tree
giturl = ( giturl = (
u'http://git.openstack.org/cgit/openstack/trove/tree/api-ref/source') u'https://opendev.org/openstack/trove/src/branch/master/api-ref/source')
# html_context allows us to pass arbitrary values into the html template # html_context allows us to pass arbitrary values into the html template
html_context = {'bug_tag': 'api-ref', html_context = {'bug_tag': 'api-ref',
'giturl': giturl, 'giturl': giturl,

View File

@ -17,7 +17,7 @@ Download DevStack
.. sourcecode:: bash .. sourcecode:: bash
export DEVSTACK_DIR=~/devstack export DEVSTACK_DIR=~/devstack
git clone https://git.openstack.org/openstack-dev/devstack.git $DEVSTACK_DIR git clone https://opendev.org/openstack/devstack.git $DEVSTACK_DIR
Enable the Trove plugin Enable the Trove plugin
======================= =======================
@ -28,14 +28,14 @@ Enable the plugin by adding the following section to
.. sourcecode:: bash .. sourcecode:: bash
[[local|localrc]] [[local|localrc]]
enable_plugin trove https://git.openstack.org/openstack/trove enable_plugin trove https://opendev.org/openstack/trove
Optionally, a git refspec (branch or tag or commit) may be provided as follows: Optionally, a git refspec (branch or tag or commit) may be provided as follows:
.. sourcecode:: bash .. sourcecode:: bash
[[local|localrc]] [[local|localrc]]
enable_plugin trove https://git.openstack.org/openstack/trove <refspec> enable_plugin trove https://opendev.org/openstack/trove <refspec>
Run the DevStack utility Run the DevStack utility
======================== ========================

View File

@ -57,8 +57,8 @@ Search Trove Documentation
.. _Trove Wiki: https://wiki.openstack.org/wiki/Trove .. _Trove Wiki: https://wiki.openstack.org/wiki/Trove
.. _Trove: https://git.openstack.org/cgit/openstack/trove .. _Trove: https://opendev.org/openstack/trove
.. _Trove Client: https://git.openstack.org/cgit/openstack/python-troveclient .. _Trove Client: https://opendev.org/openstack/python-troveclient
.. _Trove API Documentation: https://developer.openstack.org/api-ref/database/ .. _Trove API Documentation: https://developer.openstack.org/api-ref/database/
.. _Trove Blueprints: https://blueprints.launchpad.net/trove .. _Trove Blueprints: https://blueprints.launchpad.net/trove
.. _Trove Bugs: https://bugs.launchpad.net/trove .. _Trove Bugs: https://bugs.launchpad.net/trove

View File

@ -72,8 +72,8 @@ release = trove_version.version_string_with_vcs()
# extracted from git log. # extracted from git log.
# bug_tag: Tag for categorizing the bug. Must be set manually. # bug_tag: Tag for categorizing the bug. Must be set manually.
# These variables are passed to the logabug code via html_context. # These variables are passed to the logabug code via html_context.
giturl = (u'http://git.openstack.org/cgit/openstack/trove/tree/' giturl = (u'https://opendev.org/openstack/trove/src/branch/master/doc/source/'
'install-guide/source') 'install')
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
gitsha = os.popen(git_cmd).read().strip('\n') gitsha = os.popen(git_cmd).read().strip('\n')
html_context = {"gitsha": gitsha, "bug_tag": bug_tag, html_context = {"gitsha": gitsha, "bug_tag": bug_tag,

View File

@ -130,8 +130,8 @@ Obtain the Trove source components from OpenStack repositories:
.. code-block:: bash .. code-block:: bash
$ cd ~ $ cd ~
$ git clone https://git.openstack.org/openstack/trove.git $ git clone https://opendev.org/openstack/trove.git
$ git clone https://git.openstack.org/openstack/python-troveclient.git $ git clone https://opendev.org/openstack/python-troveclient.git
Install Trove Install Trove

View File

@ -7,6 +7,6 @@ to travel 4 wednesdays in a row for work...
####################### #######################
https://review.openstack.org/#/c/47900/ https://review.opendev.org/#/c/47900/
Vote results: 13 votes. 13 for, 0 against. Vote results: 13 votes. 13 for, 0 against.

View File

@ -25,7 +25,7 @@ pre-start script
end script end script
script script
# For backwards compatibility until https://review.openstack.org/#/c/100381 merges # For backwards compatibility until https://review.opendev.org/#/c/100381 merges
TROVE_CONFIG="--config-dir=/etc/trove/conf.d" TROVE_CONFIG="--config-dir=/etc/trove/conf.d"
if [ ! -f /etc/trove/conf.d/guest_info ] && [ ! -f /etc/trove/conf.d/trove-guestagent.conf ]; then if [ ! -f /etc/trove/conf.d/guest_info ] && [ ! -f /etc/trove/conf.d/trove-guestagent.conf ]; then

View File

@ -323,7 +323,7 @@ function run_review_for() {
do do
# This should be the ref spec for what we pull # This should be the ref spec for what we pull
pushd $PATH_ARG pushd $PATH_ARG
git_timed pull https://review.openstack.org/p/openstack/$GIT_NAME refs/changes/$review git_timed pull https://review.opendev.org/p/openstack/$GIT_NAME refs/changes/$review
popd popd
done done
} }

View File

@ -13,7 +13,7 @@ setenv = VIRTUAL_ENV={envdir}
usedevelop = True usedevelop = True
install_command = pip install \ install_command = pip install \
-c{env:TEST_UPPER_CONSTRAINTS_FILE:{toxinidir}/test-upper-constraints.txt} \ -c{env:TEST_UPPER_CONSTRAINTS_FILE:{toxinidir}/test-upper-constraints.txt} \
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} \ -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} \
-U {opts} {packages} -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
@ -132,5 +132,5 @@ passenv = *
commands = commands =
pip install --no-binary :all: {toxinidir} \ pip install --no-binary :all: {toxinidir} \
-c/opt/stack/trove/test-upper-constraints.txt \ -c/opt/stack/trove/test-upper-constraints.txt \
-chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt -chttps://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt
./trovestack {posargs} ./trovestack {posargs}