Skip to content

Commit 236250f

Browse files
committed
Rename python-openstacksdk to openstacksdk
Change-Id: Ia77163f330f674146b369dfebea56bd97820057e Depends-On: https://review.openstack.org/554662
1 parent 9cc3e63 commit 236250f

File tree

5 files changed

+8
-14
lines changed

5 files changed

+8
-14
lines changed

doc/source/plugin-registry.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,13 @@ oaktree `git://git.openstack.org/openstack/oaktre
147147
octavia `git://git.openstack.org/openstack/octavia <https://git.openstack.org/cgit/openstack/octavia>`__
148148
octavia-dashboard `git://git.openstack.org/openstack/octavia-dashboard <https://git.openstack.org/cgit/openstack/octavia-dashboard>`__
149149
omni `git://git.openstack.org/openstack/omni <https://git.openstack.org/cgit/openstack/omni>`__
150+
openstacksdk `git://git.openstack.org/openstack/openstacksdk <https://git.openstack.org/cgit/openstack/openstacksdk>`__
150151
os-xenapi `git://git.openstack.org/openstack/os-xenapi <https://git.openstack.org/cgit/openstack/os-xenapi>`__
151152
osprofiler `git://git.openstack.org/openstack/osprofiler <https://git.openstack.org/cgit/openstack/osprofiler>`__
152153
oswin-tempest-plugin `git://git.openstack.org/openstack/oswin-tempest-plugin <https://git.openstack.org/cgit/openstack/oswin-tempest-plugin>`__
153154
panko `git://git.openstack.org/openstack/panko <https://git.openstack.org/cgit/openstack/panko>`__
154155
patrole `git://git.openstack.org/openstack/patrole <https://git.openstack.org/cgit/openstack/patrole>`__
155156
picasso `git://git.openstack.org/openstack/picasso <https://git.openstack.org/cgit/openstack/picasso>`__
156-
python-openstacksdk `git://git.openstack.org/openstack/python-openstacksdk <https://git.openstack.org/cgit/openstack/python-openstacksdk>`__
157157
qinling `git://git.openstack.org/openstack/qinling <https://git.openstack.org/cgit/openstack/qinling>`__
158158
rally `git://git.openstack.org/openstack/rally <https://git.openstack.org/cgit/openstack/rally>`__
159159
rally-openstack `git://git.openstack.org/openstack/rally-openstack <https://git.openstack.org/cgit/openstack/rally-openstack>`__

inc/python

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -411,12 +411,6 @@ function use_library_from_git {
411411
function lib_installed_from_git {
412412
local name=$1
413413
local safe_name
414-
# TODO(mordred) This is a special case for python-openstacksdk, where the
415-
# repo name and the pip name do not match. We should either add systemic
416-
# support for providing aliases, or we should rename the git repo.
417-
if [[ $name == 'python-openstacksdk' ]] ; then
418-
name=openstacksdk
419-
fi
420414
safe_name=$(python -c "from pkg_resources import safe_name; \
421415
print(safe_name('${name}'))")
422416
# Note "pip freeze" doesn't always work here, because it tries to

lib/libraries

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ GITDIR["cliff"]=$DEST/cliff
2828
GITDIR["cursive"]=$DEST/cursive
2929
GITDIR["debtcollector"]=$DEST/debtcollector
3030
GITDIR["futurist"]=$DEST/futurist
31+
GITDIR["openstacksdk"]=$DEST/openstacksdk
3132
GITDIR["os-client-config"]=$DEST/os-client-config
3233
GITDIR["osc-lib"]=$DEST/osc-lib
3334
GITDIR["osc-placement"]=$DEST/osc-placement
@@ -51,7 +52,6 @@ GITDIR["oslo.versionedobjects"]=$DEST/oslo.versionedobjects
5152
GITDIR["oslo.vmware"]=$DEST/oslo.vmware
5253
GITDIR["osprofiler"]=$DEST/osprofiler
5354
GITDIR["pycadf"]=$DEST/pycadf
54-
GITDIR["python-openstacksdk"]=$DEST/python-openstacksdk
5555
GITDIR["stevedore"]=$DEST/stevedore
5656
GITDIR["taskflow"]=$DEST/taskflow
5757
GITDIR["tooz"]=$DEST/tooz

stackrc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export USE_PYTHON3=$(trueorfalse False USE_PYTHON3)
133133
# base name of the directory from which they are installed. See
134134
# enable_python3_package to edit this variable and use_python3_for to
135135
# test membership.
136-
export ENABLED_PYTHON3_PACKAGES="nova,glance,cinder,uwsgi,python-openstackclient,python-openstacksdk"
136+
export ENABLED_PYTHON3_PACKAGES="nova,glance,cinder,uwsgi,python-openstackclient,openstacksdk"
137137

138138
# Explicitly list services not to run under Python 3. See
139139
# disable_python3_package to edit this variable.
@@ -525,6 +525,10 @@ GITREPO["ceilometermiddleware"]=${CEILOMETERMIDDLEWARE_REPO:-${GIT_BASE}/opensta
525525
GITBRANCH["ceilometermiddleware"]=${CEILOMETERMIDDLEWARE_BRANCH:-$TARGET_BRANCH}
526526
GITDIR["ceilometermiddleware"]=$DEST/ceilometermiddleware
527527

528+
# openstacksdk OpenStack Python SDK
529+
GITREPO["openstacksdk"]=${OPENSTACKSDK_REPO:-${GIT_BASE}/openstack/openstacksdk.git}
530+
GITBRANCH["openstacksdk"]=${OPENSTACKSDK_BRANCH:-$TARGET_BRANCH}
531+
528532
# os-brick library to manage local volume attaches
529533
GITREPO["os-brick"]=${OS_BRICK_REPO:-${GIT_BASE}/openstack/os-brick.git}
530534
GITBRANCH["os-brick"]=${OS_BRICK_BRANCH:-$TARGET_BRANCH}
@@ -542,10 +546,6 @@ GITBRANCH["os-vif"]=${OS_VIF_BRANCH:-$TARGET_BRANCH}
542546
GITREPO["osc-lib"]=${OSC_LIB_REPO:-${GIT_BASE}/openstack/osc-lib.git}
543547
GITBRANCH["osc-lib"]=${OSC_LIB_BRANCH:-$TARGET_BRANCH}
544548

545-
# python-openstacksdk OpenStack Python SDK
546-
GITREPO["python-openstacksdk"]=${OPENSTACKSDK_REPO:-${GIT_BASE}/openstack/python-openstacksdk.git}
547-
GITBRANCH["python-openstacksdk"]=${OPENSTACKSDK_BRANCH:-$TARGET_BRANCH}
548-
549549
# ironic common lib
550550
GITREPO["ironic-lib"]=${IRONIC_LIB_REPO:-${GIT_BASE}/openstack/ironic-lib.git}
551551
GITBRANCH["ironic-lib"]=${IRONIC_LIB_BRANCH:-$TARGET_BRANCH}

tests/test_libs_from_pypi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ALL_LIBS+=" oslo.versionedobjects oslo.vmware keystonemiddleware"
3838
ALL_LIBS+=" oslo.serialization"
3939
ALL_LIBS+=" python-openstackclient osc-lib osc-placement"
4040
ALL_LIBS+=" os-client-config oslo.rootwrap"
41-
ALL_LIBS+=" oslo.i18n oslo.utils python-openstacksdk python-swiftclient"
41+
ALL_LIBS+=" oslo.i18n oslo.utils openstacksdk python-swiftclient"
4242
ALL_LIBS+=" python-neutronclient tooz ceilometermiddleware oslo.policy"
4343
ALL_LIBS+=" debtcollector os-brick os-traits automaton futurist oslo.service"
4444
ALL_LIBS+=" oslo.cache oslo.reports osprofiler cursive"

0 commit comments

Comments
 (0)