Replace git.openstack.org URLs with opendev.org URLs

Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Change-Id: I7f5506455ed52e4670b8e428548e931db13b13db
This commit is contained in:
ZhongShengping 2019-04-22 11:33:08 +08:00
parent c63073d6ed
commit a569f0faf3
17 changed files with 34 additions and 34 deletions

View File

@ -519,11 +519,11 @@ If the default template is not suitable for your deployment,
you can provide your own clouds.yaml by specifying this setting.
The default template is defined as `clouds.yaml.template
<http://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/dashboards/project/api_access/templates/api_access/clouds.yaml.template>`__
<https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/dashboards/project/api_access/templates/api_access/clouds.yaml.template>`__
and available context parameters are found in ``_get_openrc_credentials()``
and ``download_clouds_yaml_file()`` functions in
`openstack_dashboard/dashboards/project/api_access/views.py
<http://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/dashboards/project/api_access/views.py>`__.
<https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/dashboards/project/api_access/views.py>`__.
.. note::
@ -596,11 +596,11 @@ for authentication, the default ``openrc`` would not be sufficient.
You can provide your own clouds.yaml by specifying this setting.
The default template is defined as `openrc.sh.template
<http://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/dashboards/project/api_access/templates/api_access/openrc.sh.template>`__
<https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/dashboards/project/api_access/templates/api_access/openrc.sh.template>`__
and available context parameters are found in ``_get_openrc_credentials()``
and ``download_rc_file()`` functions in
`openstack_dashboard/dashboards/project/api_access/views.py
<http://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/dashboards/project/api_access/views.py>`__.
<https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/dashboards/project/api_access/views.py>`__.
.. note::

View File

@ -10,7 +10,7 @@ Before you dive into writing patches, here are some of the basics:
* Project page: https://launchpad.net/horizon
* Bug tracker: https://bugs.launchpad.net/horizon
* Source code: https://github.com/openstack/horizon
* Code review: https://review.openstack.org/#q,status:open+project:openstack/horizon,n,z
* Code review: https://review.opendev.org/#/q/project:openstack/horizon+status:open
* Continuous integration:
* Jenkins: https://jenkins.openstack.org
* Zuul: http://status.openstack.org/zuul
@ -475,8 +475,8 @@ To make a new release of the package, you need to:
.. _documentation: https://xstatic.readthedocs.io/en/latest/packaging.html
.. _xstatic-release: https://pypi.org/project/xstatic-release/
.. _`Create a new repository under OpenStack`: https://docs.openstack.org/infra/manual/creators.html
.. _`request a release`: https://git.openstack.org/cgit/openstack/releases/tree/README.rst
.. _`releases repository`: https://git.openstack.org/cgit/openstack/releases
.. _`request a release`: https://opendev.org/openstack/releases/src/branch/master/README.rst
.. _`releases repository`: https://opendev.org/openstack/releases
.. _`Set up PyPi`: https://docs.openstack.org/infra/manual/creators.html#give-openstack-permission-to-publish-releases
.. _global-requirements: https://github.com/openstack/requirements/blob/master/global-requirements.txt
@ -522,8 +522,8 @@ xstatic release:
upper-constraints version so that deployers / packagers who don't honor
upper-constraints still get compatible versions of the packages.
.. _upper-constraints.txt: https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt
.. _new-release: https://review.openstack.org/#/q/status:open+project:openstack/requirements+branch:master+topic:new-release
.. _upper-constraints.txt: https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt
.. _new-release: https://review.opendev.org/#/q/status:open+project:openstack/requirements+branch:master+topic:new-release
HTML

View File

@ -37,11 +37,11 @@ Setup
=====
To begin setting up a Horizon development environment simply clone the Horizon
git repository from https://git.openstack.org/cgit/openstack/horizon
git repository from https://opendev.org/openstack/horizon
.. code-block:: console
$ git clone https://git.openstack.org/openstack/horizon
$ git clone https://opendev.org/openstack/horizon
Next you will need to configure Horizon by adding a ``local_settings.py`` file.
A good starting point is to use the example config with the following command,

View File

@ -70,7 +70,7 @@ see https://docs.openstack.org/devstack/latest/
SWIFT_DATA_DIR=$DEST/data/swift
# Enable Neutron
enable_plugin neutron https://git.openstack.org/openstack/neutron
enable_plugin neutron https://opendev.org/openstack/neutron
# Enable the Trunks extension for Neutron
enable_service q-trunk

View File

@ -77,7 +77,7 @@ with Python 2.7 environment. Check ``requirements.txt`` in horizon
repository to know which version of Django is actually used.
All other dependencies are as defined by the upper-constraints file at
https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt
https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt
You can run a subset of the tests by passing the test path as an argument to
tox::

View File

@ -22,14 +22,14 @@ Installation
.. code-block:: console
$ git clone https://git.openstack.org/openstack/horizon -b stable/<release> --depth=1
$ git clone https://opendev.org/openstack/horizon -b stable/<release> --depth=1
$ cd horizon
#. Install the horizon python module into your system
.. code-block:: console
$ sudo pip install -c https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/<release> .
$ sudo pip install -c https://opendev.org/openstack/requirements/raw/branch/stable/<release>/upper-constraints.txt .
Configuration
=============
@ -185,7 +185,7 @@ Deployment
For apache2 web server, you may need to create
``/etc/apache2/sites-available/horizon.conf``.
The template in DevStack is a good example of the file.
https://git.openstack.org/cgit/openstack-dev/devstack/tree/files/apache-horizon.template
https://opendev.org/openstack/devstack/src/branch/master/files/apache-horizon.template
Or you can automatically generate an apache configuration file. If you
previously generated an ``openstack_dashboard/horizon_wsgi.py`` file it will
use that, otherwise will default to using ``openstack_dashboard/wsgi.py``

View File

@ -19,7 +19,7 @@
integration tests can use to understand what dashboard/panel group is
currently open (and whether or not it needs to click it to proceed to some
other dashboard/panel group). The need for this code arises from 2 facts:
* since https://review.openstack.org/#/c/209259/ sidebar's expand/collapse
* since https://review.opendev.org/#/c/209259/ sidebar's expand/collapse
behavior doesn't rely on JS code (pure CSS instead) - which is good;
* to match dashboard/panel group header _before_ the 'li.panel-collapse.in'
we need '!' selector which will be supported only in CSS4 (not going soon).

View File

@ -925,7 +925,7 @@ def trunk_update(request, trunk_id, old_trunk, new_trunk):
trunk. However it should not know anything about how the old and new are
meant to be diffed and sent to neutron. We handle that here.
This code was adapted from Heat, see: https://review.openstack.org/442496
This code was adapted from Heat, see: https://review.opendev.org/442496
Call #1) Update all changed properties but 'sub_ports'.
PUT /v2.0/trunks/TRUNK_ID

View File

@ -150,7 +150,7 @@ class Images(generic.View):
Any additional request parameters will be passed through the API as
filters. There are v1/v2 complications which are being addressed as a
separate work stream: https://review.openstack.org/#/c/150084/
separate work stream: https://review.opendev.org/#/c/150084/
"""
filters, kwargs = rest_utils.parse_filters_kwargs(request,

View File

@ -529,7 +529,7 @@ TIME_ZONE = "UTC"
# in the Keystone v3 multi-domain case, policy.v3cloudsample.json.
# This file is not included in the Horizon repository by default but can be
# found at
# http://git.openstack.org/cgit/openstack/keystone/tree/etc/ \
# https://opendev.org/openstack/keystone/src/branch/master/etc/ \
# policy.v3cloudsample.json
# Having matching policy files on the Horizon and Keystone servers is essential
# for normal operation. This holds true for all services and their policy files.

View File

@ -60,7 +60,7 @@
//
// We roughly follow the example discussed and presented here:
// http://lists.openstack.org/pipermail/openstack-dev/2016-July/099368.html
// https://review.openstack.org/345145
// https://review.opendev.org/345145
//
// Though we deviate a bit in the use of stepModels. The example
// has one model object per step, named after the workflow step's

View File

@ -542,7 +542,7 @@ def my_custom_sort(flavor):
# Site registry touched by setUp() cleanly. As a workaround, we run
# PluginTestCase as a separate test process. Hopefully this workaround has gone
# in future. For more detail, see bug 1809983 and
# https://review.openstack.org/#/c/627640/.
# https://review.opendev.org/#/c/627640/.
@tag('plugin-test')
class PluginTestCase(TestCase):
"""Test case for testing plugin system of Horizon.

View File

@ -6,4 +6,4 @@ deprecations:
so that operators can upgrade Horizon first.
Note that the Dashboard support for LBaaS v2 is provided as
a Horizon plugin via `neutron-lbaas-dashboard project
<https://git.openstack.org/cgit/openstack/neutron-lbaas-dashboard/>`__.
<https://opendev.org/openstack/neutron-lbaas-dashboard/>`__.

View File

@ -6,4 +6,4 @@ upgrade:
Newton release so that operators can upgrade Horizon first.
Note that the Dashboard support for LBaaS v2 is provided as
a Horizon plugin via `neutron-lbaas-dashboard project
<https://git.openstack.org/cgit/openstack/neutron-lbaas-dashboard/>`__.
<https://opendev.org/openstack/neutron-lbaas-dashboard/>`__.

View File

@ -8,4 +8,4 @@ upgrade:
To continue to use VPNaaS dashboard, install ``neutron-vpnaas-dashboard``
and set up the horizon plugin configuration file in ``enabled`` directory.
For more information, see ``neutron-vpnaas-dashboard`` documentation
https://git.openstack.org/cgit/openstack/neutron-vpnaas-dashboard/tree/doc/source
https://opendev.org/openstack/neutron-vpnaas-dashboard/src/branch/master/doc/source

View File

@ -15,9 +15,9 @@
#
#
# before you run this modify your .ssh/config to create a
# review.openstack.org entry:
# review.opendev.org entry:
#
# Host review.openstack.org
# Host review.opendev.org
# User <yourgerritusername>
# Port 29418
#
@ -33,13 +33,13 @@ function abandon_review {
shift
local msg=$@
echo "Abandoning $gitid"
# echo ssh review.openstack.org gerrit review $gitid --abandon --message \"$msg\"
ssh review.openstack.org gerrit review $gitid --abandon --message \"$msg\"
# echo ssh review.opendev.org gerrit review $gitid --abandon --message \"$msg\"
ssh review.opendev.org gerrit review $gitid --abandon --message \"$msg\"
}
PROJECTS="(project:openstack/horizon OR project:openstack/django_openstack_auth)"
blocked_reviews=$(ssh review.openstack.org "gerrit query --current-patch-set --format json $PROJECTS status:open age:4w label:Code-Review<=-2" | jq .currentPatchSet.revision | grep -v null | sed 's/"//g')
blocked_reviews=$(ssh review.opendev.org "gerrit query --current-patch-set --format json $PROJECTS status:open age:4w label:Code-Review<=-2" | jq .currentPatchSet.revision | grep -v null | sed 's/"//g')
blocked_msg=$(cat <<EOF
@ -57,14 +57,14 @@ EOF
# blocked_reviews="b6c4218ae4d75b86c33fa3d37c27bc23b46b6f0f"
for review in $blocked_reviews; do
# echo ssh review.openstack.org gerrit review $review --abandon --message \"$msg\"
# echo ssh review.opendev.org gerrit review $review --abandon --message \"$msg\"
echo "Blocked review $review"
abandon_review $review $blocked_msg
done
# then purge all the reviews that are > 4w with no changes and Jenkins has -1ed
failing_reviews=$(ssh review.openstack.org "gerrit query --current-patch-set --format json $PROJECTS status:open age:4w NOT label:Verified>=1,jenkins" | jq .currentPatchSet.revision | grep -v null | sed 's/"//g')
failing_reviews=$(ssh review.opendev.org "gerrit query --current-patch-set --format json $PROJECTS status:open age:4w NOT label:Verified>=1,jenkins" | jq .currentPatchSet.revision | grep -v null | sed 's/"//g')
failing_msg=$(cat <<EOF

View File

@ -12,7 +12,7 @@ whitelist_externals =
bash
find
deps =
-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}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands = {[unit_tests]commands}
@ -139,7 +139,7 @@ commands =
basepython = python3
# We need to install horizon dependecies to build module references
deps =
-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}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands =