From d2e1d69d3742e8bda25afe09f10c9b1be3e49827 Mon Sep 17 00:00:00 2001 From: chenke Date: Sun, 28 Apr 2019 17:01:43 +0800 Subject: [PATCH] Replace git.openstack.org with opendev.org Change-Id: Ibccf32b71d307d9c80c91035907dc8292722ab31 --- doc/source/admin/ways-to-install.rst | 2 +- doc/source/configuration/configuring.rst | 2 +- doc/source/contributor/contributing.rst | 2 +- doc/source/contributor/devstack.rst | 6 +++--- doc/source/contributor/environment.rst | 4 ++-- doc/source/contributor/testing.rst | 4 ++-- watcher/decision_engine/model/collector/nova.py | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/source/admin/ways-to-install.rst b/doc/source/admin/ways-to-install.rst index cc0542816..8f823ef7c 100644 --- a/doc/source/admin/ways-to-install.rst +++ b/doc/source/admin/ways-to-install.rst @@ -51,7 +51,7 @@ Clone the Watcher repository: .. code-block:: bash - $ git clone https://git.openstack.org/openstack/watcher.git + $ git clone https://opendev.org/openstack/watcher.git $ cd watcher Install the Watcher modules: diff --git a/doc/source/configuration/configuring.rst b/doc/source/configuration/configuring.rst index e86912289..16cdcde97 100644 --- a/doc/source/configuration/configuring.rst +++ b/doc/source/configuration/configuring.rst @@ -178,7 +178,7 @@ You can easily generate and update a sample configuration file named :ref:`watcher.conf.sample ` by using these following commands:: - $ git clone https://git.openstack.org/openstack/watcher + $ git clone https://opendev.org/openstack/watcher.git $ cd watcher/ $ tox -e genconfig $ vi etc/watcher/watcher.conf.sample diff --git a/doc/source/contributor/contributing.rst b/doc/source/contributor/contributing.rst index 3693bafbc..58f7870ac 100644 --- a/doc/source/contributor/contributing.rst +++ b/doc/source/contributor/contributing.rst @@ -58,7 +58,7 @@ Code Hosting https://opendev.org/openstack/watcher Code Review - https://review.openstack.org/#/q/status:open+project:openstack/watcher,n,z + https://review.opendev.org/#/q/status:open+project:openstack/watcher,n,z IRC Channel ``#openstack-watcher`` (changelog_) diff --git a/doc/source/contributor/devstack.rst b/doc/source/contributor/devstack.rst index 343dfb872..cd8d2a5c1 100644 --- a/doc/source/contributor/devstack.rst +++ b/doc/source/contributor/devstack.rst @@ -19,7 +19,7 @@ model. To enable the Watcher plugin with DevStack, add the following to the `[[local|localrc]]` section of your controller's `local.conf` to enable the Watcher plugin:: - enable_plugin watcher https://git.openstack.org/openstack/watcher + enable_plugin watcher https://opendev.org/openstack/watcher For more detailed instructions, see `Detailed DevStack Instructions`_. Check out the `DevStack documentation`_ for more information regarding DevStack. @@ -44,7 +44,7 @@ Detailed DevStack Instructions sudo apt-get update sudo apt-get install git - git clone https://git.openstack.org/openstack-dev/devstack + git clone https://opendev.org/openstack/devstack.git sudo ./devstack/tools/create-stack-user.sh Now you have a stack user that is used to run the DevStack processes. You @@ -56,7 +56,7 @@ Detailed DevStack Instructions sudo su stack cd ~ - git clone https://git.openstack.org/openstack-dev/devstack + git clone https://opendev.org/openstack/devstack.git #. For each compute node, copy the provided `local.conf.compute`_ example file to the compute node's system at ~/devstack/local.conf. Make sure the diff --git a/doc/source/contributor/environment.rst b/doc/source/contributor/environment.rst index e0717245b..0deb5153f 100644 --- a/doc/source/contributor/environment.rst +++ b/doc/source/contributor/environment.rst @@ -47,7 +47,7 @@ Make a clone of the code from our `Git repository`: .. code-block:: bash - $ git clone https://git.openstack.org/openstack/watcher.git + $ git clone https://opendev.org/openstack/watcher.git When that is complete, you can: @@ -99,7 +99,7 @@ useful to keep a clean environment for working on Watcher. .. code-block:: bash $ mkvirtualenv watcher - $ git clone https://git.openstack.org/openstack/watcher + $ git clone https://opendev.org/openstack/watcher.git # Use 'python setup.py' to link Watcher into Python's site-packages $ cd watcher && python setup.py install diff --git a/doc/source/contributor/testing.rst b/doc/source/contributor/testing.rst index 79d072444..585c42fa6 100644 --- a/doc/source/contributor/testing.rst +++ b/doc/source/contributor/testing.rst @@ -18,7 +18,7 @@ should download the latest `watcher`_ from the github. To run the same unit tests that are executing onto `Gerrit`_ which includes ``py35``, ``py27`` and ``pep8``, you can issue the following command:: - $ git clone https://git.openstack.org/openstack/watcher + $ git clone https://opendev.org/openstack/watcher $ cd watcher $ pip install tox $ tox @@ -32,7 +32,7 @@ the following:: .. _tox: https://tox.readthedocs.org/ .. _watcher: https://opendev.org/openstack/watcher -.. _Gerrit: https://review.openstack.org/ +.. _Gerrit: https://review.opendev.org/ If you only want to run specific unit test code and don't like to waste time waiting for all unit tests to execute, you can add parameters ``--`` followed diff --git a/watcher/decision_engine/model/collector/nova.py b/watcher/decision_engine/model/collector/nova.py index 60a4f7fc0..423802102 100644 --- a/watcher/decision_engine/model/collector/nova.py +++ b/watcher/decision_engine/model/collector/nova.py @@ -197,7 +197,7 @@ class ModelBuilder(object): NOTE(v-francoise): This model builder is meant to be extended in the future to also include both storage and network information respectively coming from Cinder and Neutron. Some prelimary work has been done in this - direction in https://review.openstack.org/#/c/362730 but since we cannot + direction in https://review.opendev.org/#/c/362730 but since we cannot guarantee a sufficient level of consistency for neither the storage nor the network part before the end of the Ocata cycle, this work has been re-scheduled for Pike. In the meantime, all the associated code has been